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: Subject: Python, Gentoo Prefix, Cygwin: Import Error time, cStringIO, Permission denied From: Al To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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