RE: [iPAQ] Adding module to python

From: Greg Berenfield <gberenfield.a.t.berenfield.com>
Date: Fri Sep 07 2001 - 22:30:04 EDT

Sorry, just saw later references to the lib-dynload stuff.. yes, files in
this directory need to be compiled on a strongarm with the original python
source code. You may be able to cross-compile this but your best bet is to
use the skiffcluster to compile the python source natively and just drop
this lib in place.

Greg

-----Original Message-----
From: Michael Elser [mailto:melser@student.ethz.ch]
Sent: Friday, September 07, 2001 5:13 PM
To: ipaq@handhelds.org
Subject: [iPAQ] Adding module to python

Hello

I give up. After hours of browsing the net for information, i decided to ask

the experts (thats you!):

I wrote a small python script on my desktop computer and copied it to the
ipaq. I'm using familiar 0.4 but the script wouldn't work because it imports

'asyncore' which is not installed by default. So i simply copied
'asyncore.pyc' and 'asyncore.pyo' from my desktop computer to
/usr/lib/python2.0/ on the ipaq.

This solved one problem, but created a new one: 'asyncore' imports 'fcntl'
which is not present on my ipaq either. So again i simply copy
'fcntlmodule.so' from the desktop computer to
/usr/lib/python2.0/lib-dynload/
and try to run the script again.

The execution stops with a error message like this:

ImportError: /usr/lib/python2.0/lib-dynload/fcntlmodule.so: Cannot open
shared object file: No such file or directory

The file IS there, what else could be wrong?

Thanks,

Michael Elser
_______________________________________________
iPAQ mailing list
iPAQ@handhelds.org
http://handhelds.org/mailman/listinfo/ipaq
irc://irc.openprojects.net #ipaq
Received on Fri Sep 7 18:34:18 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:10 EDT