Armin K. wrote:
On 15.10.2017 20:23, via blfs-book wrote:
Author: bdubbs
Date: Sun Oct 15 11:23:25 2017
New Revision: 19328

Log:
Remove ninja, libffi, and python3 as dependencies
for many packages as they are now a part of LFS.


Modified: trunk/BOOK/general/genlib/libxml2.xml
==============================================================================

--- trunk/BOOK/general/genlib/libxml2.xml    Sun Oct 15 08:04:16 2017
(r19327)
+++ trunk/BOOK/general/genlib/libxml2.xml    Sun Oct 15 11:23:25 2017
(r19328)

+<screen><userinput>
+./configure --prefix=/usr    \
+            --disable-static \
+            --with-history   \
+            --with-python=/usr/bin/python3 &amp;&amp;

If this is default, you need to force itstool to build against python3,
which won't work with current version in the book, and the latest version
is still broken.

Yes, we are waiting for itstool-2.0.4.

Modified: trunk/BOOK/x/installing/xcb-proto.xml
==============================================================================

--- trunk/BOOK/x/installing/xcb-proto.xml    Sun Oct 15 08:04:16 2017
(r19327)
+++ trunk/BOOK/x/installing/xcb-proto.xml    Sun Oct 15 11:23:25 2017
(r19328)
@@ -77,15 +77,15 @@
      <bridgehead renderas="sect4">Required</bridgehead>
      <para role="required">
-      <xref linkend="python2"/> or
-      <xref linkend="python3"/>, and
        <xref linkend="xorg-env"/> (should be set for the following
instructions
        to work)
      </para>
-    <bridgehead renderas="sect4">Optional (required to run the
-    tests)</bridgehead>
-    <para role="optional"><xref linkend="libxml2"/></para>
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="python2"/> and
+      <xref linkend="libxml2"/> (required to run the tests)
+     </para>
      <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/xcb-proto"/></para>


You might need to set PYTHON=/usr/bin/python3 for this and libxcb.

Not covered here:

gobject-introspection needs python as well, and it was previously pulled
from glib2. It can use python3, but needs env var similar to above.

We now say py2 is required, but should probably make a full test of blfs without py2 to see where it is really required. It is an invasive change.

for all python modules, wherever they're needed, I suppose they should
specify which version of python they need to be built against. I suppose
that's already done for most of the gnome packages, but not sure about
anything else.

In many cases, we give instructions for both py2 and py3 for python modules. We will have to update as information is discovered.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to