Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Tue, 3 May 2005 07:07:04 -0400 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: CDDB and DiscID for Python Message-ID: <20050503110704.GA1296@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Jeffrey, On Mon, Apr 25, 2005 at 02:23:45PM -0600, Jeffrey Barish wrote: > I am trying to install CDDB and DiscID so that I can import them into > Python. Following the directions for win32, I put CDDB.py, DiscID.py, > win32/cdrom.py, and win32/mci.dll in /lib/python2.4/site-packages. > import CDDB works fine, but import DiscID produces the error > > ImportError: dlopen, Win21error 1157 AFAICT, this is caused by attempting to import a Win32 Python shared extension into Cygwin Python. > It is produced by the import mci command in cdrom.py. I also tried to > install using python setup-win32.py install, but that command produced > the error message > > undefined reference to '_mciSendStringA AT 16' > > I also tried the unix installation procedure (python setup.py install). > It started complaining with > > storage size of 'hdr' isn't known See below... > The long list of complaints looks like they result from a missing > include file, but there is no complaint about such a problem. > > These modules work fine on my linux platform. Does anyone know how to > get them to work under cygwin? You need to build a Cygwin version of the Python shared extension modules. Note this may require some porting effort as indicated by the error message above. Sorry, I can't be more helpful without actually trying to do this myself. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/