delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Authentication-Warning: | allele2.biol.berkeley.edu: alex set sender to alexl AT users DOT sourceforge DOT net using -f |
To: | cygwin AT cygwin DOT com |
Cc: | Elfyn McBratney <elfyn AT is DOT ubertales DOT co DOT uk> |
Subject: | Python 2.3 breaks Python bindings for libxml2/libxslt |
From: | Alex Lancaster <alexl AT users DOT sourceforge DOT net> |
Date: | 06 Sep 2003 02:13:59 -0700 |
Message-ID: | <7uznhigtyg.fsf@allele2.biol.berkeley.edu> |
Lines: | 36 |
User-Agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
MIME-Version: | 1.0 |
Upgrading to Python 2.3-2 (now stable on Cygwin) breaks the libxml2/libxslt Python bindings, because the current packages (see: http://www.cygwin.com/packages/libxml2/libxml2-2.5.7-1) are built against Python 2.2, from above: <snip> Sat May 31 19:16:15 2003 0 usr/lib/python2.2/ Sat May 31 19:16:24 2003 0 usr/lib/python2.2/site-packages/ Sat May 31 19:16:15 2003 15097 usr/lib/python2.2/site-packages/drv_libxml2.py Sat May 31 19:16:15 2003 213077 usr/lib/python2.2/site-packages/libxml2.py Sat May 31 19:16:24 2003 812430 usr/lib/python2.2/site-packages/libxml2mod.a Sat May 31 19:16:24 2003 914 usr/lib/python2.2/site-packages/libxml2mod.la </snip> This causes the bindings to fail: $ python >>> import libxml2 Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named libxml2 I would backgrade to Python 2.2, but it's gone now, replaced by 2.3-1, and AFAIK the modules aren't binary compatible between versions, so I can't just fiddle around with adding the 2.2 site-packages path to PYTHONPATH. Would it be possible to make new libxml2/libxslt packages against the new Python 2.3? Thanks, Alex -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |