delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/03/07:08:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 3 May 2005 07:07:04 -0400
From: Jason Tishler <jason AT tishler DOT net>
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: <d4jjas$kmc$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <d4jjas$kmc$1@sea.gmane.org>
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/

- Raw text -


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