Cant compile 0.41 (also 0.37)
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++... gcc46 -gcc
checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
checking for the Boost program_options library... yes
checking for the flags needed to use pthreads... -pthread
checking boost/thread.hpp usability... no
checking boost/thread.hpp presence... yes
configure: WARNING: boost/thread.hpp: present but cannot be compiled
configure: WARNING: boost/thread.hpp: check for missing prerequisite headers?
configure: WARNING: boost/thread.hpp: see the Autoconf documentation
configure: WARNING: boost/thread.hpp: section "Present But Cannot Be Compiled"
configure: WARNING: boost/thread.hpp: proceeding with the compiler's result
configure: WARNING: ## -------------------------------------------------- ##
configure: WARNING: ## Report this to https://bugs.launchpad.net/gearmand ##
configure: WARNING: ## -------------------------------------------------- ##
checking for boost/thread.hpp... no
configure: error: cannot find boost/thread.hpp
--
--
Hi,
Our Amazon Linux team have investigated this and reports that it looks like the version of boost we supply is incompatible with gcc 4.6. They are looking into how to resolve this. Thanks for reporting the problem to us.
Our Amazon Linux team have also reported that its possible to build gearmand against boost using gcc 4.4 instead. I have tested this myself and it worked. Please let me know if this works for you. This should allow you to continue with your build process. My steps:
yum install gcc44 gcc44-c++ make
yum install boost-devel libevent-devel libuuid-devel sqlite-devel zlib-devel
wget https://launchpad.net/gearmand/1.0/0.41/+download/gearmand-0.41.tar.gz
tar zxf gearmand-0.41.tar.gz
cd gearmand-0.41
./configure
make