X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.5 required=5.0	tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 23 Aug 2010 18:44:26 +0200
Message-ID: <AANLkTi=9c4O4wTH2p1w8c9KZgsqafcF-4bdL4BS+MAjw@mail.gmail.com>
Subject: Python, Gentoo Prefix, Cygwin: Import Error time, cStringIO, Permission denied
From: Al <oss.elmar@googlemail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello all,

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

Context
======

I try if it is possible to bootstrap Gentoo Prefix with Cygwin. Gentoo
Prefix is similar to Cygwin itself, a Linux inside something else, but
compiled from sources.

It depends on a Version V System. It try to use Cygwin to run it on
Windows.  This involves compiling python.

Mark, I don't use the Cygwin Python builds, but compile it from the
Gentoo sources.

Problem
======

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

Import Error time, cStringIO. Permission denied.

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 already did "rebase" all. Do I have to reboot thereafter? I forgot
to do so, I first wanted to write this posting.

I am at the end of my wits now.

Al

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

