Gentoo, Cygwin: Import Error time, cStringIO, Permission denied

E

Elmar Hinz

Hello all,

I freshly subscribed to this list, because I search a solution for a
very special problem. Is this the appropriate list?

Context
======

I try if it is possible to bootstrap Gentoo Prefix, upon the Cygwin
compatibility layer on Windows.

Gentoo Prefix is not a virtual machine but a bundle of Gentoo programs
compiled into a nonstandard directory on a host OS. IT is similar to
Cygwin itself, but compiled from sources.

I try to compile Prefix into Cygwin on Windows. This involves
compiling python. The gentoo management tool "emerge" is done in
python.

However I am not a Python programmer myself, so I have some
difficulties to understand what is going on.

Problem
======

After compiling pyhton I run into errors when I start to use it in
form of emerge. It says something like this in the logger module:

Import Error sys, os, types, time, string, cStringIO, traceback.
Permission denied.

I researched the web. One discssion told to try it on the pyhton
shell. I did the same. Only "time" and "cStringIO" are not imported.

Looking into the compiled sources i find cStringIO.dll and time.dll.
Both have the permissions 755. Hence permission to run them should be
given.

Is it a path problem? Are environment variables wrong?

I would expect in that case python would complain "Modules not found"
instead of "Permission denied".


I am at the end of my wits now.

Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top