delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/23/12:44:43

X-Recipient: archive-cygwin AT delorie DOT 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 DOT elmar AT googlemail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019