On 19/11/2017 02:41, Ken Moffat wrote:
On Sat, Nov 18, 2017 at 10:30:49PM +0000, Ken Moffat wrote:
On Sat, Nov 18, 2017 at 03:08:49PM -0600, Bruce Dubbs wrote:
This is what arc does for libxml2:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/libxml2
but theirs is a bit more complicated because they have python==python3 and
have to work around those packages that assume otherwise.
Thanks for the link.
The following works to build the libxml2 modules for both python2
and python3:
[...]
So far, gimp-help uses libxml2.py (I assume that is a wrapper for
libxml2mod.so) but when it first uses it a libxml2.pyc version is
created : I assume anything else using that or drv_libxml2.py will
do the same. Not a concern for hte book.
I'll wait for comments from Pierre, but I'm inclined to open a
ticket and start recording what is known to need the python2 module.
We can bike-shed about how best to build it and to explain the
commands. ;-)
Am I supposed to comment? :) I just think you take the right path...
IIRC, I just said that the libxml2 Python module was used elsewhere
in the book (I should have precised I did not know whether it was
the py2 or py3 version), while the libxslt Python module is not needed
for anything in the book (but it requires the py2 version of the libxml2
module to be functional).
Also a comment already made by Armin: big packages such as browsers,
llvm, mesa, etc can only use py2, so do not expect getting rid of py2
soon...
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page