please update libXML
Tue Jun 18 11:00:00 GMT 2002
Gerrit P. Haase writes:
>> Gerrit, could you please give me a patch for the current libxml &|
>> libxslt source packages to get the python modules going? I'd love to get
>> that working, and would get it incorporated upstream.
>With the fix of Nicholas now, the latest version (of my patch), at least
>libxml links against libpython. But there really should be a patch in
>Makefile.am for this since the configure script succeeds to lookup the
>python lib and add the needed defines in the right place but does not add
>libpythonx.x to the link line. This patch now works only with the
>libpython2.2 installed and it should be version independant too. Still
>I'm not sure about libxslt, does it link against libpython too?
Here are some Python 'one-liners' that can be incorporated into
the configure process or a Makefile to get the local Python Installation
variables in a 'python version' independent way for Cygwin
< note these were entered interactively at a bash prompt
so '>' signifies a line continuation below >
% python -c "import sys;
> print 'libpython'+sys.version[:3]"
% python -c "from distutils.sysconfig import get_python_inc;
> print get_python_inc(plat_specific=1)"
% python -c "import os;
> from distutils.sysconfig import get_python_lib;
More information about the Cygwin-apps