|
Boost-Build : |
Subject: [Boost-build] Boost not found
From: Shital Desai (s.desai_at_[hidden])
Date: 2008-10-02 18:10:04
Hi,
I am trying to install a software that uses boost and I get the following
error message when I run cmake and make. routines. I appreciat eif someone
can help me with this.
(1) Firstly, when I run cmake, I get the following messages
shital_at_shital-laptop:~/Work/fers-beta1$ cmake ./
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shital/Work/fers-beta1
(2) When I run make to follow it up,
shital_at_shital-laptop:~/Work/fers-beta1$ make
/usr/bin/cmake -H/home/shital/Work/fers-beta1 -B/home/shital/Work/fers-beta1
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/home/shital/Work/fers-beta1/CMakeFiles 66
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/shital/Work/fers-beta1'
make -f tinyxml/CMakeFiles/tinyxml.dir/build.make
tinyxml/CMakeFiles/tinyxml.dir/depend
make[2]: Entering directory `/home/shital/Work/fers-beta1'
make[2]: Nothing to be done for `tinyxml/CMakeFiles/tinyxml.dir/depend'.
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
make -f tinyxml/CMakeFiles/tinyxml.dir/build.make
tinyxml/CMakeFiles/tinyxml.dir/build
make[2]: Entering directory `/home/shital/Work/fers-beta1'
make[2]: Nothing to be done for `tinyxml/CMakeFiles/tinyxml.dir/build'.
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
/usr/bin/cmake -E cmake_progress_report
/home/shital/Work/fers-beta1/CMakeFiles 1 2 3
[ 6%] Built target tinyxml
make -f fftwcpp/CMakeFiles/fftwcpp.dir/build.make
fftwcpp/CMakeFiles/fftwcpp.dir/depend
make[2]: Entering directory `/home/shital/Work/fers-beta1'
make[2]: Nothing to be done for `fftwcpp/CMakeFiles/fftwcpp.dir/depend'.
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
make -f fftwcpp/CMakeFiles/fftwcpp.dir/build.make
fftwcpp/CMakeFiles/fftwcpp.dir/build
make[2]: Entering directory `/home/shital/Work/fers-beta1'
/usr/bin/cmake -E cmake_progress_report
/home/shital/Work/fers-beta1/CMakeFiles 4
[ 6%] Building CXX object fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o
/usr/bin/c++ -g -Wall -pthread -O2 -ffast-math
-I/home/shital/Work/fers-beta1/fftwcpp -I/home/shital/Work/fers-beta1
-D_REENTRANT -o fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o -c
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp
In file included from /home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:11:
/usr/local/include/boost-1_36/boost/thread/mutex.hpp:12:44: error:
boost/thread/detail/platform.hpp: No such file or directory
/usr/local/include/boost-1_36/boost/thread/mutex.hpp:18:2: error: #error
"Boost threads unavailable on this platform"
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:16: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:16: error: expected
constructor, destructor, or type conversion before 'plannerMutex'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor
'FFTComplex::FFTComplex(int, Complex*, Complex*,
FFTComplex::fft_direction)':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:158: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:158: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor
'FFTComplex::~FFTComplex()':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:167: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:167: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor
'FFTRealForward::FFTRealForward(int, double*, Complex*)':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:187: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:187: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor
'FFTRealForward::~FFTRealForward()':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:195: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:195: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor
'FFTRealInverse::FFTRealInverse(int, Complex*, double*)':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:215: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:215: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor
'FFTRealInverse::~FFTRealInverse()':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:223: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:223: error: expected `;'
before 'lock'
make[2]: *** [fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o] Error 1
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
make[1]: *** [fftwcpp/CMakeFiles/fftwcpp.dir/all] Error 2
make[1]: Leaving directory `/home/shital/Work/fers-beta1'
make: *** [all] Error 2
It is unable to find the path for the boost libraries. How do I resolve this
problem?
I am runninig it on Ubuntu
Thnaks,
Shital
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk