| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-apps-help AT cygwin DOT com; run by ezmlm |
| Sender: | cygwin-apps-owner AT cygwin DOT com |
| List-Subscribe: | <mailto:cygwin-apps-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
| List-Post: | <mailto:cygwin-apps AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs> |
| Mail-Followup-To: | cygwin-apps AT cygwin DOT com |
| Delivered-To: | mailing list cygwin-apps AT cygwin DOT com |
| Reply-To: | <nhv AT cape DOT com> |
| From: | "Norman Vine" <nhv AT cape DOT com> |
| To: | "'Gerrit P. Haase'" <freeweb AT nyckelpiga DOT de> |
| Cc: | <cygwin-apps AT cygwin DOT com> |
| Subject: | RE: please update libXML |
| Date: | Tue, 18 Jun 2002 12:23:41 -0400 |
| Message-ID: | <001801c216e4$830395c0$a300a8c0@nhv> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
| In-reply-to: | <176978717551.20020618171423@familiehaase.de> |
| Importance: | Normal |
| X-Virus-Scanned: | Cape.Com VirusScan, no known virus found |
Gerrit P. Haase writes: > >Robert schrieb: >> >> 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 Norman < note these were entered interactively at a bash prompt so '>' signifies a line continuation below > $PY_LIB_NAME % python -c "import sys; > print 'libpython'+sys.version[:3]" $PY_INCLUDE_PATH % python -c "from distutils.sysconfig import get_python_inc; > print get_python_inc(plat_specific=1)" $PY_LIB_PATH % python -c "import os; > from distutils.sysconfig import get_python_lib; > print os.path.join(get_python_lib(plat_specific=1,standard_lib=1),'config')"
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |