[Python-bugs-list] [ python-Bugs-815753 ] SCO_SV: many modules cannot be imported

SourceForge.net noreply at sourceforge.net
Wed Oct 1 11:34:49 EDT 2003


Bugs item #815753, was opened at 2003-10-01 20:31
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=815753&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Roger Erens (eurosys)
Assigned to: Nobody/Anonymous (nobody)
Summary: SCO_SV: many modules cannot be imported

Initial Comment:
Trying to execute the makefile for Python 2.3.1 and 2.3.

2c on an SCO-box results in a lot of warnings like:



*** WARNING: importing extension "struct" failed with 

exceptions.AttributeError:

 'module' object has no attribute 'load_dynamic'



This results in not being able to import the struct (and 

many others) module in the Python interpreter:



Python 2.3.2c1 (#7, Oct  1 2003, 12:08:43) [C] on 

sco_sv3

Type "help", "copyright", "credits" or "license" for more 

information.

>>> import struct

Traceback (most recent call last):

  File "<stdin>", line 1, in ?

ImportError: No module named struct



See the attached make.out file, which includes the 

generated makefile for my system, followed by the output 

sent to stdout.



Installing Python 2.2.3 went almost flawless.





>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



----------------------------------------------------------------------

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-10-02 01:34

Message:
Logged In: YES 
user_id=29957

Hm. mwh is right - it seems like HAVE_DYNAMIC_LOADING isn't

being defined. Could you also attach the files configure.log

and pyconfig.h from the 2.3 build?



----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2003-10-02 01:10

Message:
Logged In: YES 
user_id=6656

It looks like the module 'imp' is messed up.  That's strange.

----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-10-02 00:43

Message:
Logged In: YES 
user_id=29957

Ugh. I don't have access to any SCO boxes to debug this.

Could you rebuild Python 2.2 on the same platform and attach

the output (as you did for 2.3). Obviously something's

changed in how we invoke the dynamic linker or some such.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=815753&group_id=5470



More information about the Python-bugs-list mailing list