|
|
"clipka" <nomail@nomail> wrote:
> I found that on my Linux system (Debian "Etch"), I need to drop the leading
> "lib" from the boost library name, e.g.
>
> --with-boost-thread=boost_thread-gcc41-mt
>
> when the files are actually named
>
> libboost_thread-gcc41-mt.so
> libboost_thread-gcc41-mt.a
>
> Hope this helps in your case as well.
I can go ahead one more step follow up above suggestion. but still error on
link. I use below commands for configure, errors are same:
../configure COMPILED_BY="me" --prefix=/home/spd/wchen18/povray/libs/bin
--with-boost=/home/spd/wchen18/povray/libs/bin
--with-boost-thread=boost_thread-gcc43-mt
--with-boost-libdir=/home/spd/wchen18/povray/libs/bin/lib
OR
../configure COMPILED_BY="me" --prefix=/home/spd/wchen18/povray/libs/bin
--with-boost=/home/spd/wchen18/povray/libs/bin
--with-boost-thread=boost_thread-gcc43-mt
OR
../configure COMPILED_BY="me" --prefix=/home/spd/wchen18/povray
--with-boost=/home/spd/wchen18/povray/libs/bin
--with-boost-thread=boost_thread-gcc43-mt
--with-boost-libdir=/home/spd/wchen18/povray/libs/bin/lib
The error message like below:
Libraries
---------
checking whether to link with cygwin DLL... no
checking whether to enable static linking... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to build the boost thread library from sources... no
checking for boostlib >= 1.35... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread-gcc43-mt... yes
checking whether the boost thread library is usable... no
configure: error: in `/home/spd/wchen18/povray/povray-3.7.0.beta.32':
configure: error: cannot link with the boost thread library
Any suggestion?
Thanks,
wise
Post a reply to this message
|
|