Date: Sun, 11 Nov 2012 00:44:06 -0800 (PST) From: Beeblebrox <zaphod@berentweb.com> To: freebsd-ports@freebsd.org Subject: boost error for linux source - looking in the wrong place? Message-ID: <1352623446128-5759953.post@n5.nabble.com>
next in thread | raw e-mail | index | archive | help
I am trying to compile a linux source code on FreeBSD-9.1-PRERELEASE_amd64. at the ./configure stage I get this error: ------------------------------------ checking boost/foreach.hpp usability... no checking boost/foreach.hpp presence... no checking for boost/foreach.hpp... no configure: error: "BOOST library is missing" ------------------------------------ But, I have /usr/local/include/boost/foreach.hpp /usr/local/include/boost/test/utils/foreach.hpp So the folder where FreeBSD places this and the folder where configure looks (as linux) must be different. How can I correct this? The relevant code snippet from the configure file is: if test x"$ac_boost_inc" != x"no"; then CFLAGS+=" -I$ac_boost_inc " CXXFLAGS+=" -I$ac_boost_inc " ( CPPFLAGS+=" -I$ac_boost_inc " if test "${ac_cv_header_boost_foreach_hpp+set}" = set; then { echo "$as_me:$LINENO: checking for boost/foreach.hpp" >&5 echo $ECHO_N "checking for boost/foreach.hpp... $ECHO_C" >&6; } if test "${ac_cv_header_boost_foreach_hpp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi { echo "$as_me:$LINENO: result: $ac_cv_header_boost_foreach_hpp" >&5 echo "${ECHO_T}$ac_cv_header_boost_foreach_hpp" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking boost/foreach.hpp usability" >&5 echo $ECHO_N "checking boost/foreach.hpp usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -- View this message in context: http://freebsd.1045724.n5.nabble.com/boost-error-for-linux-source-looking-in-the-wrong-place-tp5759953.html Sent from the freebsd-ports mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1352623446128-5759953.post>