I successfully compiled on Fedora Core 4 after some fiddling. I've included my note below in hopes it will help other avoid some of the problems I had.
- NOTES ---------------------
Run ./configure.gcc NOT ./configure (like it says in the readme)
The executable flag needs to be set on some files before configure.gcc will work. "chmod -R u+x *" does the trick.
Note that configure.gcc calls configure, but does not take arguments and pass them to configure. The work around is to edit configure.gcc to add the arguments to the call to configure (see example below).
Version 1.0 does not compile with gcc 4.0, use gcc 3.4.4 instead (beta 3 works with 3.3.2).
- EXAMPLE configure.gcc edits --------------------
SRCROOT=`dirname $0`
OBJROOT=`pwd`
cd $SRCROOT
tar xjf conf.tbz 2>/dev/null
cd $OBJROOT
rm -f libtool
sh ${SRCROOT}/configure --prefix=/projects/pnl/systems/pnl-1.0/build.opt CC=/usr/local/bin/gcc-344 CFLAGS=-O CXX=/usr/local/bin/g++-344 CXXFLAGS=-O
echo "
- run 'make' to compile sources
- run 'make check' to compile and launch test suite (optionally)
- run 'make install' to install library
"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have followed the instructions by sourceguy and has succesfully compiled PNL1.0 on FC4. To anyone who wishes to do the same, may I suggest you also refer to www.mjmwired.net/resources/mjm-fedora-gcc.html
toinstructions on installing gcc3.4.4 on your FC4 machine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I successfully compiled on Fedora Core 4 after some fiddling. I've included my note below in hopes it will help other avoid some of the problems I had.
- NOTES ---------------------
Run ./configure.gcc NOT ./configure (like it says in the readme)
The executable flag needs to be set on some files before configure.gcc will work. "chmod -R u+x *" does the trick.
Note that configure.gcc calls configure, but does not take arguments and pass them to configure. The work around is to edit configure.gcc to add the arguments to the call to configure (see example below).
Version 1.0 does not compile with gcc 4.0, use gcc 3.4.4 instead (beta 3 works with 3.3.2).
- EXAMPLE configure.gcc edits --------------------
SRCROOT=`dirname $0`
OBJROOT=`pwd`
cd $SRCROOT
tar xjf conf.tbz 2>/dev/null
cd $OBJROOT
rm -f libtool
sh ${SRCROOT}/configure --prefix=/projects/pnl/systems/pnl-1.0/build.opt CC=/usr/local/bin/gcc-344 CFLAGS=-O CXX=/usr/local/bin/g++-344 CXXFLAGS=-O
echo "
- run 'make' to compile sources
- run 'make check' to compile and launch test suite (optionally)
- run 'make install' to install library
"
I have followed the instructions by sourceguy and has succesfully compiled PNL1.0 on FC4. To anyone who wishes to do the same, may I suggest you also refer to www.mjmwired.net/resources/mjm-fedora-gcc.html
toinstructions on installing gcc3.4.4 on your FC4 machine.