Re: [iPAQ] Adding module to python

From: Michael Elser <melser.a.t.student.ethz.ch>
Date: Sat Sep 08 2001 - 07:44:47 EDT

Thanks for your help.

> Hello Michael,
>
> Re-compile 'fcntlmodule.so' on the skiffcluster:

Ok, i tried that. I downloaded the source of Python 2.0 to one of the skiffs
and compiled the whole package. This produced a 'fcntlmodule.o' in the
'Modules' directory. What now? I guess renaming the module from '.o' to
'.so' won't do the trick.

Thanks again for your help

> http://handhelds.org/projects/skiffcluster.html
>
> --George
>
> On Friday 07 September 2001 17:13, Michael Elser wrote:
> > 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 Sat Sep 8 03:45:24 2001

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