#11549: Review dependencies on Python 2
-----------------------------+------------------------
Reporter: pierre.labastie | Owner: blfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: x-future
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: Python 2 |
-----------------------------+------------------------
Comment (by pierre.labastie):
So I've been able to build KF5, plasma, and KF5 applications without P2.
At some point, I needed asciidoc (recommended for btrfs-progs, which is
itself recommendend for udisks2, which is needed at runtime by KDE
applications). So:
- I installed P2
- I moved /usr/bin/{python,python2,python2.7} to
/usr/bin/{python,python2,python2.7}nouse
- I changed the headers of a2x and asciidoc from /usr/bin/python to
/usr/bin/python2.7nouse
asciidoc is now working, but P2 is invisible to any other package... I
wonder if we could not use this kind of approach in the book, for packages
which need P2 at run time.
For packages which need P2 at build time, it is often possible to pass the
location of the P2 executable to the build system, so passing the nouse
name could be done in this case as well. Well, to close to freeze maybe.
Let's wait for after 8.4.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/11549#comment:48>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page