boost lib problem
i want install a software,which reported that:
"checking for boostlib >= 1.37.0... Failed... configure: Configure failed with the error message: [We could not detect the boost libraries (version 1.37 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>" when i finished installed boost, i got: "The Boost C++ Libraries were successfully built! The following directory should be added to compiler include paths: /var/soft/boost_1_43_0 The following directory should be added to linker library paths: /var/soft/boost_1_43_0/stage/lib " what should i do next? Any help would be greatly appreciated. |
Hi and welcome on LQ!
It looks like you are installing (or compiling even!?) software that needs the boost library package to work. I have no experience with it, but google (first hit!) turned op boost.org Have a look there, download and install their libraries and give the "installation" another go! |
Quote:
|
Can you please give a sequence of the steps you performed and what error turned up where?
|
Quote:
according to the boost document, i did the follow things #tar -zxvf boost_1_43_0.tar.gz #./bootstrap.sh #./bjam and i got the result ...... The Boost C++ Libraries were successfully built! The following directory should be added to compiler include paths: /var/soft/boost_1_43_0 The following directory should be added to linker library paths: /var/soft/boost_1_43_0/stage/lib |
Okay, I get it now, I think...
1) You try to install a program that complained about not being able to find the boost libs 2) You installed the boost libs succesfully Have you tried step 1 again. If so, what did it say now? |
The safe choice is boost-1.38.
New boost is different. Please see the 'Changelog'. I guess, you have a very good reason to use /var/ for software ? ' /var/ ' is certainly not meant for that. How about installing boost : # ./bjam install .. which should put boost in place : /usr/local/lib/ , etc. .. |
Hi,I have meet the same question.
When I configure the VMware-open-source-view-client using the command “configure --host=sh4-linux CC=sh4-linux-gcc CXX=sh4-linux-g++ “ to configure the VMware-open-source-view-client which is proper running on the ARM architecture. configure:10578: result: no configure:10518: checking for exit in -lboost_signals-mt configure:10578: result: no configure:10518: checking for exit in -lboost_signals-mt configure:10578: result: no configure:10518: checking for exit in -lboost_signals configure:10553: sh4-linux-gcc -o conftest -g -O2 -DBUILT_BY_root -I/usr/include -L/usr/lib conftest.c -lboost_signals >&5 conftest.c:52: warning: conflicting types for built-in function 'exit' /opt/STM/STLinux-2.3/devkit/sh4/lib/gcc/sh4-linux/4.2.4/../../../../sh4-linux/bin/ld: skipping incompatible /usr/lib/libboost_signals.so when searching for - lboost_signals /opt/STM/STLinux-2.3/devkit/sh4/lib/gcc/sh4-linux/4.2.4/../../../../sh4-linux/bin/ld: cannot find -lboost_signals collect2: ld returned 1 exit statud My host OS is fedora 11,and I have checked that the boost.signal version is 1.37.0 |
@ shitou, post # 8 : boost-1.37.0-6.fc11.i586 is installed,
and cannot be used for sh4-linux / arm. Will do for x86 architecture only. But I guess, you already know that from your other thread with the same question. .. |
All times are GMT -5. The time now is 05:43 AM. |