Failed to locate boost/shared_ptr.hpp


#1

I am using openSuse 10.1 and trying to use ./configure command for
compiling
GNU Radio.

I have tried the posted suggestions to get past the “Failed to locate
boost/shared_ptr.hpp” when running ./configure.
I have shared_ptr.hpp located at /usr/include/boost. I believe I have
tried
every variation mentioned of:
./configure --with-boost-include-dir=/usr/include, ./configure
–enable-maintainer-mode --with-boost-include-dir=/usr/include, etc. I
have
tried reinstalling boost-dev and boost.

This is from config.log ( I removed all of the #def text after “failed
program was:”):

configure:28567: checking for machine dependent speedups
configure:28575: result: x86
configure:28646: checking for cppunit-config
configure:28664: found /usr/bin/cppunit-config
configure:28677: result: /usr/bin/cppunit-config
configure:28687: checking for Cppunit - version >= 1.9.14
configure:28720: result: 1.10.2
configure:28786: checking boost/shared_ptr.hpp usability
configure:28803: g++ -c -pthread -I/usr/include conftest.cpp >&5
./configure: line 28804: g++: command not found
configure:28809: $? = 127
configure: failed program was:



configure:28840: result: no
configure:28844: checking boost/shared_ptr.hpp presence
configure:28859: /lib/cpp -I/usr/include conftest.cpp
In file included from /usr/include/boost/config.hpp:40,
from /usr/include/boost/shared_ptr.hpp:17,
from conftest.cpp:90:
/usr/include/boost/config/select_stdlib_config.hpp:20:19: error:
utility: No
such file or directory
In file included from /usr/include/boost/config.hpp:53,
from /usr/include/boost/shared_ptr.hpp:17,
from conftest.cpp:90:
/usr/include/boost/config/platform/linux.hpp:14:19: error: cstdlib: No
such
file or directory
In file included from /usr/include/boost/shared_ptr.hpp:25,
from conftest.cpp:90:
/usr/include/boost/throw_exception.hpp:25:22: error: exception: No such
file
or directory
In file included from /usr/include/boost/detail/sp_counted_base.hpp:32,
from /usr/include/boost/detail/shared_count.hpp:29,
from /usr/include/boost/shared_ptr.hpp:26,
from conftest.cpp:90:
/usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:27:20: error:
typeinfo: No such file or directory
In file included from /usr/include/boost/detail/shared_count.hpp:30,
from /usr/include/boost/shared_ptr.hpp:26,
from conftest.cpp:90:
/usr/include/boost/detail/sp_counted_impl.hpp:34:46: error: memory: No
such
file or directory
/usr/include/boost/detail/sp_counted_impl.hpp:36:43: error: cstddef: No
such
file or directory
In file included from /usr/include/boost/shared_ptr.hpp:26,
from conftest.cpp:90:
/usr/include/boost/detail/shared_count.hpp:33:41: error: functional: No
such
file or directory
/usr/include/boost/detail/shared_count.hpp:34:46: error: new: No such
file
or directory
In file included from conftest.cpp:90:
/usr/include/boost/shared_ptr.hpp:30:49: error: algorithm: No such file
or
directory
/usr/include/boost/shared_ptr.hpp:33:58: error: iosfwd: No such file or
directory
configure:28865: $? = 1
configure: failed program was:



configure:28886: result: no
configure:28914: checking for boost/shared_ptr.hpp
configure:28921: result: no
configure:28930: error: Failed to locate boost/shared_ptr.hpp.
Try using --with-boost-include-dir=,
E.g., --with-boost-include-dir=/usr/local/include/boost-1_33_1

Thanks for any assistance,

Tom


View this message in context:
http://www.nabble.com/Failed-to-locate-boost-shared_ptr.hpp-tf4073995.html#a11578401
Sent from the GnuRadio mailing list archive at Nabble.com.


#2

Tom O schrieb:

configure:28646: checking for cppunit-config
configure:28664: found /usr/bin/cppunit-config
configure:28677: result: /usr/bin/cppunit-config
configure:28687: checking for Cppunit - version >= 1.9.14
configure:28720: result: 1.10.2
configure:28786: checking boost/shared_ptr.hpp usability
configure:28803: g++ -c -pthread -I/usr/include conftest.cpp >&5
./configure: line 28804: g++: command not found

You do have g++ installed? What does ‘g++ --version’ say?

Patrick


Engineers motto: cheap, good, fast: choose any two
Patrick S.
Student of Telematik, Techn. University Graz, Austria


#3

No, I did not have g++ installed. Thank you. Problem solved.

-Tom

Patrick S. wrote:


Discuss-gnuradio mailing list
removed_email_address@domain.invalid
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://www.nabble.com/Failed-to-locate-boost-shared_ptr.hpp-tf4073995.html#a11614494
Sent from the GnuRadio mailing list archive at Nabble.com.