Trouble compiling w/Boost on OSX. "program_options" an issue.

Asked by Alex

When running the configure command on gearmand-0.23, I encounter this issue:

configure: Detected BOOST_ROOT=/usr/local/include/boost_1_46_1/, but overridden by --with-boost=/usr/local/include/boost_1_46_1/
checking for Boost headers version >= 1.39.0... /usr/local/include/boost_1_46_1/
checking for Boost's header version... 1_46_1
checking for the toolset name used by Boost for g++... xgcc42 -xgcc
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... no
configure: error: cannot find the flags to link with Boost program_options

I have boost installed as shown above, and the libs are there:

sh-3.2# find / -name "*boost_program_options*"
/usr/local/include/boost_1_46_1/bin.v2/libs/program_options/build/darwin-4.2.1/release/link-static/threading-multi/libboost_program_options.a
/usr/local/include/boost_1_46_1/stage/lib/libboost_program_options.a
/usr/local/include/boost_1_46_1/stage/lib/libboost_program_options.dylib

Short of trying to decipher the config file, was hopeful that you had a quick fix borne from experience!

Thanks.
Alex

sh-3.2# uname -a
Darwin Aegis.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64

Question information

Language:
English Edit question
Status:
Solved
For:
Gearman Edit question
Assignee:
No assignee Edit question
Solved by:
Alex
Solved:
Last query:
Last reply:
Revision history for this message
Alex (saeven) said :
#1

Trashed boost, redownloaded, went through bjam again, and it works. Gremlins.