Re: Problems building private Python bindings for a private libxml & libxslt
Daniel Veillard <[email protected]> Thu, 5 Aug 2004 07:44:25 -0400
| Newsgroups | gmane.comp.gnome.lib.xml.bindings |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 05, 2004 at 12:28:47PM +0100, Matt Patterson wrote: > At work I've been attempting to build private python bindings (i.e. > installed somewhere other than /usr/lib/python/site-packages) for a > private build of both libxml2 and libxslt. I'm working on a Debian box, > and we have an earlier /usr/lib installed libxml2 which we can't easily > upgrade because of application dependence, and now need a private build > to get a project working. While building libxml2 and libxslt in > /home/matt/ is a fairly simple matter, getting the python bindings > built and linking to the right libxml2.so is much harder. > > Our tactic was to run <setup.py build> to generate the bindings, which [...] I'm not using setup.py myself for building the python bindings, but have them built via the normal make. So I barely know about it, just enough to have them build a long time ago. > As for libxslt, I understand that the setup.py from libxml2 can build > both sets of bindings, but we tried copying the libxslt files across > and had no luck. I'm sure I was just being dense here, but some > pointers would be very much appreciated! Except the source, I don't really have guide for setup.py. Yes it should allow to build both. > If anyone can offer help or point me to resources detailing the process > I'd be very grateful. The -binding list tends to be deprecated, I'm not sure many people watch it. If you don't get a better answer try to ask on the main list in a couple of days, Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [email protected] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/