GNOME Bugzilla – Bug 341290
Flag to build python bindings against system libxml2 instead of locally compiled
Last modified: 2021-07-05 13:21:03 UTC
If I have built libxml2 with --without-python and later decide I want python bindings, or I have built with python but now want to add bindings for a different python interpetter (--with-python=/some/other/path), it would be nice to be able to do so without having to recompile the whole libxml2 library itself. I already have it installed, so I'd like to have a ./configure flag that causes the python/ Makefiles to use 'pkg-config libxml-2.0' to figure out how to find it instead of using the libxml2.la, headers, and other pieces from the build dir. I already do this for the Fink package manager with some semi-icky hacks. If this sounds worthwhile, I'd be willing to work on implementing it cleanly with flags (--with-installed-libxml2 or somesuch?).
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.