|
Boost Users : |
From: Benjamin Han (yg-boost-users_at_[hidden])
Date: 2002-04-25 16:42:52
I'm just trying to install Boost library under RedHat 7.2. I was
following the build instructions found on the Boost website, but it
seemed to fail for several targets.
I'm wondering if it's because RH7.2 uses its version of gcc 2.96. Since
my project work needs gcc 3.0+, my question is, what do I need to do
in order to use gcc3/g++3 instead of gcc/g++? The build system seems
exotic and I just want to get over with the installation asap and
start to use the library.
(does changing /usr/bin/gcc and /usr/bin/g++ links work?)
Here is the build command I tried:
jam -sBOOST_ROOT=. -sTOOLS="gcc"
Errors (selected):
...
libs/thread/build/../src/once.cpp: In function `void boost::call_once
(void (*) (), once_flag &)':
boost/thread/once.hpp:38: previous declaration of `void
boost::call_once (void (*) (), once_flag &)' with C++ linkage
libs/thread/build/../src/once.cpp:77: conflicts with new declaration
...
MkDir1
libs/python/build/bin/libboost_python_static/gcc/debug/runtime-link-dynam
ic/shared-linkable-true
gcc-C++-action
libs/python/build/bin/libboost_python_static/gcc/debug/runtime-li
nk-dynamic/shared-linkable-true/types.o
In file included from boost/python/errors.hpp:13,
from boost/python/detail/call_object.hpp:8,
from libs/python/build/../src/types.cpp:11:
boost/python/detail/wrap_python.hpp:24:24: patchlevel.h: No such file
or directo
ry
boost/python/detail/wrap_python.hpp:100:20: Python.h: No such file or
directory
...
(lots of Python-related errors)
...
gcc-C++-action
status/bin/is_function_test/gcc/debug/runtime-link-dynamic/is_fun
ction_test.o
boost/type_traits/function_traits.hpp: In instantiation of
`boost::is_function<i
nt[]>':
status/../libs/type_traits/tests/is_function_test.cpp:68:
instantiated from he
re
boost/type_traits/function_traits.hpp:148: Internal error: Segmentation
fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
...
&boost::noncopyable::operator= (const boost::noncopyable &)' is private
status/../libs/utility/noncopyable_test.cpp:35: within this context
...failed updating 43 targets...
...skipped 24 targets...
...updated 629 targets...
The folllowing RPMs are installed on the machine:
1. gcc-2.96-110
2. gcc3-3.1-0.23.1
3. python-1.5.2-38
4. python2-2.2-16
5. glibc-2.2.5-32
6. boost-build-1.0-1
7. boost-jam-3.0-1
Other info: kernel 2.4.18 (manually built)
Any comment would be greatly appreciated,
Ben
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net