Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost not found
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-03 02:39:40


On Friday 03 October 2008 02:10:04 Shital Desai wrote:
> 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

> /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

So, it appears that your cmake project fails to detect boost, and therefore
fails to add proper include paths, and compilation fails.

> It is unable to find the path for the boost libraries. How do I resolve this
> problem?

I am afraid I don't know -- this is problem with cmake, not a problem
with Boost.Build. I don't know which approach cmake uses to find boost install.

- Volodya


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