|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-24 09:20:26
----- Original Message -----
From: <boost_at_[hidden]>
> Hi-
> I am trying to get Boost working on my PC - RH7.1, GCC 2.96,
> python1.5.2, boost 1.25.0. I tried to build the getting_started1
> example, but I get the following error when I try to import the
> module:
>
> >>> import getting_started1
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: ./getting_started1.so: undefined symbol:
> __Q35boost6python14module_builderPCc
>
> Here is my makefile output:
> g++ -I/usr/local/packages/boost_1_25_0/ -I/usr/include/python1.5
> -c -o getting_started1.o getting_started1.C
> ld -shared -o getting_started1.so getting_started1.o
I can't say much about the make system, but maybe Ralf can comment...
> After getting this error message, I decided to try to build the
> libraries using Jam, but I got the following error:
>
> boost/regex.hpp:244: Internal compiler error in scan_region, at
> except.c:2809
>
> This seems to prevent the python library from being created.
It shouldn't. I'm not sure what the regex problem is, but why don't you try
going to the libs/python/build subdirectory and invoking
Jam -f<allyourbase-path> from there?
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk