X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-50.8 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BF,TW_GF,TW_YG
X-Spam-Check-By: sourceware.org
Subject: Re: Python 2.6 - ctypes (specifically _ctypes) cannot be imported - Eclipse pydev integration broken as a result
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
To: cygwin <cygwin@cygwin.com>
In-Reply-To: <op.veqvksdlhiwlwc@afa-30100.empolis.local>
References: <op.veqvksdlhiwlwc@afa-30100.empolis.local>
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 23 Jun 2010 03:48:15 -0500
Message-ID: <1277282895.5496.47.camel@YAAKOV04>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Wed, 2010-06-23 at 10:37 +0200, Kay Drangmeister wrote:
> Hi.
> 
> I updated cygwin a day ago and thus upgraded from python 2.5 to python 2.6.
> Now the eclipse integration (pydev plugin) does no longer work correctly,
> I drilled down the problem to the issue that ctypes cannot be imported
> correctly. (This worked with python 2.5.)
> 
> Can I do something specific to track down the problem further?

cygcheck /usr/lib/python2.6/lib-dynload/_ctypes.dll

My hunch is that cygffi-4.dll cannot be found, as that is a new dep of
python ctypes.  If I'm right, install the libffi4 package and it should
work.

(Jason: libffi4 is missing from python's requires:, and libncurses9 is
still listed instead of libncursesw10.  I fixed these on sourceware;
please be sure to fix your local copy as well.)


Yaakov



--
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

