Hi there, I am trying to compile boost 1.40 to start playing with the PBGL. I tried using bjam and followed the basic instructions but it fails to inspect my system and leads to: $ ./bjam install Note: Building Boost.Regex with Unicode/ICU support enabled Using ICU in /usr/include warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user_config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. I would think I need mpi to get PBGL working, so I decided to switch to cmake. But again it is failing: $ mkdir bin && cmake .. && make modularize && make && make install leads to: /usr/bin/cmake -E cmake_progress_report /home/mathieu/Software/boost_1_40_0_beta1/bin/CMakeFiles [ 97%] Building CXX object tools/inspect/CMakeFiles/inspect.dir/license_check.cpp.o cd /home/mathieu/Software/boost_1_40_0_beta1/bin/tools/inspect && /usr/bin/c++ -DBOOST_ALL_NO_LIB=1 -I/home/mathieu/Software/boost_1_40_0_beta1 -I/home/mathieu/Software/boost_1_40_0_beta1/libs/inspect/include -O3 -DNDEBUG -pthread -D_REENTRANT -o CMakeFiles/inspect.dir/license_check.cpp.o -c /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:8:27: error: boost/regex.hpp: No such file or directory /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:13: error: ‘regex’ in namespace ‘boost’ does not name a type /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp: In member function ‘virtual void boost::inspect::license_check::inspect(const std::string&, const boost::filesystem::path&, const std::string&)’: /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:39: error: ‘regex_search’ is not a member of ‘boost’ /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:39: error: ‘license_regex’ was not declared in this scope make[2]: *** [tools/inspect/CMakeFiles/inspect.dir/license_check.cpp.o] Error 1 make[2]: Leaving directory `/home/mathieu/Software/boost_1_40_0_beta1/bin' make[1]: *** [tools/inspect/CMakeFiles/inspect.dir/all] Error 2 make[1]: Leaving directory `/home/mathieu/Software/boost_1_40_0_beta1/bin' make: *** [all] Error 2 Finally I tried using boost trunk (r55688), but it leads to: [ 17%] Building CXX object libs/spirit/example/qi/CMakeFiles/spirit-calc6.dir/calc6/calc6.cpp.o /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp: In member function ‘int format_policies<T>::floatfield(T) const’: /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:141: error: ‘base_type’ has not been declared /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:144: error: ‘base_type’ has not been declared /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp: In member function ‘bool format_policies<T>::exponent(OutputIterator&, long int) const’: /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:181: error: expected primary-expression before ‘,’ token /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:181: error: expected primary-expression before ‘>’ token /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:183: error: expected primary-expression before ‘,’ token /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:183: error: expected primary-expression before ‘>’ token System: Debian 5.0, gcc --version 4.3.4 Thanks for hints, -- Mathieu
I simply added:
boost_tool_dependencies( BOOST_DEPENDS filesystem test regex)
Just before:
boost_add_executable(inspect
...
HTH
On Fri, Aug 21, 2009 at 12:08 PM, Mathieu
Malaterre
Hi there,
I am trying to compile boost 1.40 to start playing with the PBGL. I tried using bjam and followed the basic instructions but it fails to inspect my system and leads to:
$ ./bjam install Note: Building Boost.Regex with Unicode/ICU support enabled Using ICU in /usr/include warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user_config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message.
I would think I need mpi to get PBGL working, so I decided to switch to cmake. But again it is failing:
$ mkdir bin && cmake .. && make modularize && make && make install
leads to: /usr/bin/cmake -E cmake_progress_report /home/mathieu/Software/boost_1_40_0_beta1/bin/CMakeFiles [ 97%] Building CXX object tools/inspect/CMakeFiles/inspect.dir/license_check.cpp.o cd /home/mathieu/Software/boost_1_40_0_beta1/bin/tools/inspect && /usr/bin/c++ -DBOOST_ALL_NO_LIB=1 -I/home/mathieu/Software/boost_1_40_0_beta1 -I/home/mathieu/Software/boost_1_40_0_beta1/libs/inspect/include -O3 -DNDEBUG -pthread -D_REENTRANT -o CMakeFiles/inspect.dir/license_check.cpp.o -c /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:8:27: error: boost/regex.hpp: No such file or directory /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:13: error: ‘regex’ in namespace ‘boost’ does not name a type /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp: In member function ‘virtual void boost::inspect::license_check::inspect(const std::string&, const boost::filesystem::path&, const std::string&)’: /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:39: error: ‘regex_search’ is not a member of ‘boost’ /home/mathieu/Software/boost_1_40_0_beta1/tools/inspect/license_check.cpp:39: error: ‘license_regex’ was not declared in this scope make[2]: *** [tools/inspect/CMakeFiles/inspect.dir/license_check.cpp.o] Error 1 make[2]: Leaving directory `/home/mathieu/Software/boost_1_40_0_beta1/bin' make[1]: *** [tools/inspect/CMakeFiles/inspect.dir/all] Error 2 make[1]: Leaving directory `/home/mathieu/Software/boost_1_40_0_beta1/bin' make: *** [all] Error 2
Finally I tried using boost trunk (r55688), but it leads to:
[ 17%] Building CXX object libs/spirit/example/qi/CMakeFiles/spirit-calc6.dir/calc6/calc6.cpp.o /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp: In member function ‘int format_policies<T>::floatfield(T) const’: /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:141: error: ‘base_type’ has not been declared /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:144: error: ‘base_type’ has not been declared /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp: In member function ‘bool format_policies<T>::exponent(OutputIterator&, long int) const’: /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:181: error: expected primary-expression before ‘,’ token /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:181: error: expected primary-expression before ‘>’ token /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:183: error: expected primary-expression before ‘,’ token /home/mathieu/Software/boost-trunk/libs/spirit/example/karma/printf_style_double_format.cpp:183: error: expected primary-expression before ‘>’ token
System: Debian 5.0, gcc --version 4.3.4
Thanks for hints, -- Mathieu
-- Mathieu
Mathieu Malaterre wrote:
Hi there,
I am trying to compile boost 1.40 to start playing with the PBGL. I tried using bjam and followed the basic instructions but it fails to inspect my system and leads to:
$ ./bjam install Note: Building Boost.Regex with Unicode/ICU support enabled Using ICU in /usr/include warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user_config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam.
Did you do as suggested above? - Volodya
On Fri, Aug 21, 2009 at 1:12 PM, Vladimir Prus
Mathieu Malaterre wrote:
Hi there,
I am trying to compile boost 1.40 to start playing with the PBGL. I tried using bjam and followed the basic instructions but it fails to inspect my system and leads to:
$ ./bjam install Note: Building Boost.Regex with Unicode/ICU support enabled Using ICU in /usr/include warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user_config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam.
Did you do as suggested above?
I did 4 google search on 'user_config.jam boost', they all linked to deprecated documentation (they would not even be available from google cache), so I simply gave up. I only need the PBGL part, from VTK which is cmake based, so it seems more natural to use cmake for building boost. I admit I feel much more comfortable with cmake anyway, thus I did not spent too much time on bjam. -- Mathieu
Mathieu Malaterre wrote:
On Fri, Aug 21, 2009 at 1:12 PM, Vladimir Prus
wrote: Mathieu Malaterre wrote:
Hi there,
I am trying to compile boost 1.40 to start playing with the PBGL. I tried using bjam and followed the basic instructions but it fails to inspect my system and leads to:
$ ./bjam install Note: Building Boost.Regex with Unicode/ICU support enabled Using ICU in /usr/include warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user_config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam.
Did you do as suggested above?
I did 4 google search on 'user_config.jam boost', they all linked to deprecated documentation (they would not even be available from google cache), so I simply gave up. I only need the PBGL part, from VTK which is cmake based, so it seems more natural to use cmake for building boost.
Did you read getting started guide? It has direct link to Boost.Build documentation. The specific page you need is: http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html If you have used bootstrap.sh, you can also edit project-config.jam in root folder of Boost. Also, it seems the above message has a typo -- it has user-config.jam in one place, and user_config.jam in another (ironically, printed by PBGL). I'll fix the misspelled one. - Volodya
On Fri, Aug 21, 2009 at 2:34 PM, Vladimir Prus
Mathieu Malaterre wrote:
On Fri, Aug 21, 2009 at 1:12 PM, Vladimir Prus
wrote: Mathieu Malaterre wrote:
Hi there,
I am trying to compile boost 1.40 to start playing with the PBGL. I tried using bjam and followed the basic instructions but it fails to inspect my system and leads to:
$ ./bjam install Note: Building Boost.Regex with Unicode/ICU support enabled Using ICU in /usr/include warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user_config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam.
Did you do as suggested above?
I did 4 google search on 'user_config.jam boost', they all linked to deprecated documentation (they would not even be available from google cache), so I simply gave up. I only need the PBGL part, from VTK which is cmake based, so it seems more natural to use cmake for building boost.
Did you read getting started guide? It has direct link to Boost.Build documentation. The specific page you need is:
http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
If you have used bootstrap.sh, you can also edit project-config.jam in root folder of Boost.
Also, it seems the above message has a typo -- it has user-config.jam in one place, and user_config.jam in another (ironically, printed by PBGL). I'll fix the misspelled one.
I would think that this might be the actual reason why I was getting garbage from a google search (I used the underscore version) :) Thanks ! -- Mathieu
Mathieu Malaterre wrote:
On Fri, Aug 21, 2009 at 2:34 PM, Vladimir Prus
wrote: Mathieu Malaterre wrote:
On Fri, Aug 21, 2009 at 1:12 PM, Vladimir Prus
wrote: Mathieu Malaterre wrote:
Hi there,
I am trying to compile boost 1.40 to start playing with the PBGL. I tried using bjam and followed the basic instructions but it fails to inspect my system and leads to:
$ ./bjam install Note: Building Boost.Regex with Unicode/ICU support enabled Using ICU in /usr/include warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user_config.jam warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam.
Did you do as suggested above?
I did 4 google search on 'user_config.jam boost', they all linked to deprecated documentation (they would not even be available from google cache), so I simply gave up. I only need the PBGL part, from VTK which is cmake based, so it seems more natural to use cmake for building boost.
Did you read getting started guide? It has direct link to Boost.Build documentation. The specific page you need is:
http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
If you have used bootstrap.sh, you can also edit project-config.jam in root folder of Boost.
Also, it seems the above message has a typo -- it has user-config.jam in one place, and user_config.jam in another (ironically, printed by PBGL). I'll fix the misspelled one.
I would think that this might be the actual reason why I was getting garbage from a google search (I used the underscore version) :)
Fixed in SVN HEAD and release branch, meanwhile. Thanks for reporting! - Volodya
participants (2)
-
Mathieu Malaterre
-
Vladimir Prus