On Sun, Nov 19, 2017 at 07:28:24PM +0000, Ken Moffat wrote:
> On Sun, Nov 19, 2017 at 07:21:32PM +0100, Armin K. wrote:
> >
> > From what I've seen, libxml2-x.x.x/python also contains setup.py file.
> > You can use it to build python2 module without modifying or copying
> > anything. Ie.
> >
> > ./configure --prefix=/usr --with-python=/usr/bin/python3
> > make
> > make install
> >
> > If python2 module is required
> >
> > cd python
> > python2 setup.py build
> > python2 setup.py install --optimize=1
> >
> > Not sure if libxml2 needs to be installed prior to running build
> > commands.
>
> Thanks. If that works, it should reduce the extra time and space.
> Added to my ToDo list.
>
Based on that, here's a new suggestion:
Do exactly that in an addition to the python modules, e.g. called
'pyxml (Python2 version)' -
Make that depend on libxml2, and continue to do the python3 module
there.
For the python2 module, untar, cd, run those commands. I've already
installed libxml2 so that was easy to test with a --root=
DESTDIR-style install. I didn't time it (the machine is still
building other things), but it is clearly a lot quicker.
Link users to this (so far, optional for libxslt and required for
gimp-help).
ĸen
--
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page