On 11/11/19 6:20 PM, Tim Tassonis via blfs-dev wrote:
Hi all
Has anybody tried to install latest pycairo with DESTDIR
While
python2 setup.py install --optimize=1 --root=$DESTDIR
works, both
python2 setup.py install_pycairo_header --root=$DESTDIR
python2 setup.py install_pkgconfig --root=$DESTDIR
fail, with
error: option --root not recognized
Is there a way to get these using $DESTDIR ?
Hi Tim,
I'm not sure on this one. I was the last one who did this upgrade, and I
had to comment those lines out to get a successful build. I found that
the pkg_config file and the header was installed automatically in a
DESTDIR installation though:
renodr [ /sources/pycairo-1.18.2 ]$ ls install/usr/lib/pkgconfig/
py3cairo.pc pycairo.pc
renodr [ /sources/pycairo-1.18.2 ]$ ls install/usr/include/pycairo/
py3cairo.h pycairo.h
However, due to the fact that installing normally results in a .egg file
being created and then extracted (from the way I understand it), a
normal install needs those commands. Can you try a destdir install and
see if those files exist in your DESTDIR?
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page