|
Boost : |
From: Norman Shelley (rrdn60) (rrdn60_at_[hidden])
Date: 2001-04-06 12:55:48
Any ideas why the import fails?
(The same failure occurred when I used python2.1b2.)
boost1.21.1
% python
Python 1.5.2 (#4, Nov 10 1999, 09:23:22) [GCC 2.95.1 19990816
(release)] on hp-uxB
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import getting_started1
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: Failed to load getting_started1.sl
>>>
% gcc --version
2.95.3
% uname -a
HP-UX wvenus B.10.20 A 9000/782 2009382447 two-user license
% gmake getting_started1.sl
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
classes.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
conversions.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
extension_class.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
functions.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
init_function.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
module_builder.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
objects.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
types.cpp
g++ -I/usr/local/packages/boost1.21.1/boost_1_21_1
-I/usr/local/include/python1.5 -ftemplate-depth-21 -fpic -g -c
getting_started1.cpp
g++ -shared -fpic classes.o conversions.o extension_class.o functions.o
init_function.o module_builder.o objects.o types.o getting_started1.o -o
getting_started1.sl
% chatr getting_started1.sl
getting_started1.sl:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic
/usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.3/libstdc++.sl
dynamic /usr/lib/libM.1
static branch prediction disabled
kernel assisted branch predictionenabled
lazy swap allocationdisabled
text segment lockingdisabled
data segment lockingdisabled
data page size: 4K
instruction page size: 4K
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk