warnings during installation of python2.3.1 on SCO_SV 3.2v5.0.5

Roger Erens r.erens at eurosys.nl
Mon Sep 29 11:34:20 EDT 2003


Dear list,

I'm trying to install python2.3.1 on an SCO-box.
After running ./configure --prefix=/usrdir/rogere
the output of make shows (among others:)

running build
running build_ext
building 'struct' extension
creating build
creating build/temp.sco_sv-3.2-i386-2.3
cc -DNDEBUG -O -Kpic -belf -belf -Ki486 -DSCO5 -I.
-I/usrdir/rogere/Python-2.3.1/./Include -I/usrdir/rogere/include
-I/usrdir/rogere/Python-2.3.1/Include -I/usrdir/rogere/Python-2.3.1 -c
/usrdir/rogere/Python-2.3.1/Modules/structmodule.c -o
build/temp.sco_sv-3.2-i386-2.3/structmodule.o
creating build/lib.sco_sv-3.2-i386-2.3
cc -Wl,-G,-Bexport build/temp.sco_sv-3.2-i386-2.3/structmodule.o
-L/usrdir/rogere/lib -L/usr/local/lib -o
build/lib.sco_sv-3.2-i386-2.3/struct.so
*** WARNING: importing extension "struct" failed with
exceptions.AttributeError: 'module' object has no attribute 'load_dynamic'

I also get lots of these warnings for other extensions, like 'regex',
'pcre', '_hotshot', etc, etc.
In the end I can start up the Python interpreter; however, importing one of
the above extensions fails:

>python
Python 2.3.1 (#2, Sep 29 2003, 16:43:28) [C] on sco_sv3
Type "help", "copyright", "credits" or "license" for more information.
>>> import regex
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named regex

Does anyone have a clue about how I should resolve these warnings?
I'd be glad to send any extra needed information if required.

Best regards and thanks in advance,
Roger Erens

> uname -X

System = SCO_SV
Node = ontwik2
Release = 3.2v5.0.5
KernelID = 98/07/02
Machine = i80386
BusType = ISA
Serial = 5FL004745
Users = 30-user
OEM# = 0
Origin# = 1
NumCPU = 2

>ld -V
 SCO UNIX Development System  Release 5.1.1A 27Jul98
395 /usrdir/rogere/Python-2.3.1
>cc -V
SCO UNIX Development System  Release 5.1.1A 27Jul98





More information about the Python-list mailing list