Changeset 791b6c7


Ignore:
Timestamp:
02/14/2019 07:11:08 PM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
7c6d782
Parents:
75828c3
Message:

Fix a problem when building Python in Chapter 5 where some hosts may use host
dependent headers.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11519 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r75828c3 r791b6c7  
    4747      <itemizedlist>
    4848        <listitem>
     49          <para>[bdubbs] - Fix a problem when building Python in
     50          Chapter 5 where some hosts may use host dependent
     51          headers.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
     57      <para>2019-02-011</para>
     58      <itemizedlist>
     59        <listitem>
    4960          <para>[bdubbs] - Update to linux-4.20.7. Fixes
    5061          <ulink url="&lfs-ticket-root;4421">#4421</ulink>.</para>
     
    5667      </itemizedlist>
    5768    </listitem>
    58 
    5969
    6070    <listitem>
  • chapter05/python.xml

    r75828c3 r791b6c7  
    4444    <title>Installation of Python</title>
    4545
     46    <para>This package first builds the Python interpreter, then some
     47    standard Python modules. The main script for building modules is
     48    written in Python, and uses hard-coded paths to the host <filename
     49    class="directory">/usr/include</filename> and <filename
     50    class="directory">/usr/lib</filename> directories. To prevent them
     51    from being used, issue:</para>
     52
     53<screen><userinput remap="pre">sed -i '/def add_multiarch_paths/a \        return' setup.py</userinput></screen>
     54
    4655    <para>Prepare Python for compilation:</para>
    4756
    48 <screen><userinput remap="configure">./configure --prefix=/tools --with-ensurepip=no</userinput></screen>
     57<screen><userinput remap="configure">./configure --prefix=/tools --without-ensurepip</userinput></screen>
     58
     59    <variablelist>
     60      <title>The meaning of the configure option:</title>
     61
     62      <varlistentry>
     63        <term><parameter>--without-ensurepip</parameter></term>
     64        <listitem>
     65          <para>This switch disables the Python installer, which is not needed
     66          at this stage.</para>
     67        </listitem>
     68      </varlistentry>
     69
     70    </variablelist>
    4971
    5072    <para>Compile the package:</para>
  • chapter06/bash.xml

    r75828c3 r791b6c7  
    8181    class="username">nobody</systemitem> user:</para>
    8282
    83 <screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make tests"</userinput></screen>
     83<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH HOME=/home make tests"</userinput></screen>
    8484
    8585    <para>Install the package and move the main executable to
  • general.ent

    r75828c3 r791b6c7  
    1 <!ENTITY version         "SVN-20190211">
     1<!ENTITY version         "SVN-20190214">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20190211-systemd">
     6<!ENTITY versiond        "20190214-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "February 11, 2019">
     10<!ENTITY releasedate     "February 14, 2019">
    1111
    1212<!ENTITY copyrightdate   "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.