Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

./configure not seeing/finding boost header files

Trying to build gearman from the gearmand-0.33.tar.gz from Launchpad using bzr, on a Fedora 64 system.

doing the ./configure by tiself, as well as using the "-with-boost=/usr/include" param generates warnings an errors as the configure process can't seem to find/locate the boost header files.

we've removed/reinstalled the boost header files via "yum install boost*" as well

Any pointers will be tried!

Thanks

./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's 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's 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
like image 678
tom smith Avatar asked Jun 29 '12 01:06

tom smith


People also ask

Where are Boost header files?

The headers should be in /usr/local/include/boost and the libs should be in /usr/local/lib.

Where are Boost header files Linux?

Boost header files are on /usr/include/boost .


1 Answers

Just have dealt with this problem, installed gcc-c++ and that has resolved it

like image 118
user1323771 Avatar answered Sep 30 '22 02:09

user1323771