./configure not see / find boost header files

An attempt to build a gearbox from a gear is 0.33.tar.gz with Launchpad using bzr on a Fedora 64 system.

running ./configure by tiself, as well as using the -with-boost = / usr / include option, generates error warnings because the configuration process cannot find / find boost header files.

we uninstalled / reinstalled boost header files using "yum install boost *" as well

Any pointers will be checked!

thank

./configure
.
.
.
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for Boost headers version >= 1.39.0... yes
checking for Boost header version... 1_41
checking for the toolset name used by Boost for g++... gcc44 -gcc
checking boost/program_options.hpp usability... no
checking boost/program_options.hpp presence... yes
configure: WARNING: boost/program_options.hpp: present but cannot be compiled
configure: WARNING: boost/program_options.hpp:     check for missing prerequisite headers?
configure: WARNING: boost/program_options.hpp: see the Autoconf documentation
configure: WARNING: boost/program_options.hpp:     section "Present But Cannot Be Compiled"
configure: WARNING: boost/program_options.hpp: proceeding with the compiler result
configure: WARNING:     ## -------------------------------------------------- ##
configure: WARNING:     ## Report this to https://bugs.launchpad.net/gearmand ##
configure: WARNING:     ## -------------------------------------------------- ##
checking for boost/program_options.hpp... no
configure: error: cannot find boost/program_options.hpp
+5
source share
3 answers

Just looked at this problem, installed gcc-C ++ and solved it

+9
source

, , --with-boost, ./configure -h.

, /usr/include/boost, , .

, , --with-boost-include=/usr/include (, , --with-boost-libs ( -lib)).

+2

In my case, using --with-boost=/path/to/rootworked, where it /path/to/rootcontains include/boost.

In other words, --with-boost=/path/to/root/includeor --with-boost=/path/to/root/include/boostwrong.

I also installed --with-boost-libdir=/path/to/root/lib64

0
source

All Articles