>
> How do I point configure for gnuradio to the boost141 include directory?
>
I discovered that libraries from a failed attempt at building boost from source
were being used. I removed these, and now my problem is more fundamental:
configure fails to identify boost. I have boost141 (v1.41) from EPEL on my
RHEL 5.7 machine. The libraries are in /usr/lib64/boost141. The includes are
in /usr/include/boost141/boost.
How do I get configure to see the correct libraries and includes?
Presently I have:
$ PYTHON="/usr/bin/python26" SWIG="/usr/share/swig/2.0.4/bin/swig" ./configure
--with-boost-libdir=/usr/lib64/boost141 --with-boost=/usr/include/boost141
<snip>
configure:20483: checking for boost >= 1.35
configure:20545: g++ -c -I/usr/include/boost141/include conftest.cpp >&5
conftest.cpp:112:8: error: #error Boost version is too old
configure:20545: $? = 1
configure: failed program was:
| /* confdefs.h */
<snip>
| /* end confdefs.h. */
|
| #include <boost/version.hpp>
|
| int
| main ()
| {
|
| #if BOOST_VERSION >= 103500
| // Everything is okay
| #else
| # error Boost version is too old
| #endif
|
| ;
| return 0;
| }
configure:20625: g++ -c -I/include/boost-0 conftest.cpp >&5
conftest.cpp:112:12: error: #error Boost version is too old
configure:20625: $? = 1
configure: failed program was:
| /* confdefs.h */
<snip>
| /* end confdefs.h. */
|
| #include <boost/version.hpp>
|
| int
| main ()
| {
|
| #if BOOST_VERSION >= 103500
| // Everything is okay
| #else
| # error Boost version is too old
| #endif
|
| ;
| return 0;
| }
configure:20644: result: no
configure:20648: error: we could not detect the boost libraries (version 1.35
or higher).
If you are sure you have boost installed, then check your version number
looking in <boost/version.hpp>.
I have symlinked /usr/include/boost141/include to /usr/include/boost141/boost
but I suspect that the path being followed is
/usr/include/boost141/include/boost which doesn't exist.
What's the right way to do this?
Justin
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio