when I try to compile on fedora 20-beta I am seeing the following errors when
running the configure script:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/data/archives/programs/povray-3.7.0.0/unix/config/missing: Unknown
`--is-lightweight' option
Try `/data/archives/programs/povray-3.7.0.0/unix/config/missing --help' for more
information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
...... and further down in the output:
checking for boostlib >= 1.37... yes
checking whether the Boost::Thread library is available... yes
checking whether the boost thread library is usable... no
configure: error: in `/data/archives/programs/povray-3.7.0.0':
configure: error: cannot link with the boost thread library
this system uses boost version 1.54
any ideas?
Thank you
Richard
I had leftover header files for boost 1.53
I was able to get this to work by manually removing the /usr/include/boost
directory and reinstalling the boost*-devel rpm packages
then doing the following:
make clean
CXXFLAGS="-Wno-multichar"
../configure COMPILED_BY="RSM" --with-boost=/usr/lib64 --disable-io-restrictions
--with-boost-thread=boost_thread LIBS=-boost_system
export LDFLAGS="${LDFLAGS} -L/usr/lib64"
make check
make install
-----------
Thanks to meander for the tip about adding the --with-boost-thread=boost_thread
LIBS=-boost_system parameters.
Richard
this is the corrected sequence of commands:
CXXFLAGS="-Wno-multichar"
.../configure COMPILED_BY="RSM" --with-boost=/usr/lib64
--disable-io-restrictions
--with-boost-thread=boost_thread LIBS=-Lboost_system
export LDFLAGS="${LDFLAGS} -L/usr/lib64"
make clean
make check
make install