Ignore:
Timestamp:
01/27/2016 11:21:15 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python3.xml

    ra7e1ac8 r2037ec4  
    88           "https://www.python.org/ftp/python/&python3-version;/Python-&python3-version;.tar.xz">
    99  <!ENTITY python3-download-ftp  " ">
    10   <!ENTITY python3-md5sum        "d149d2812f10cbe04c042232e7964171">
    11   <!ENTITY python3-size          "14 MB">
    12   <!ENTITY python3-buildsize     "358 MB (additional 38 MB for the docs and 29 MB for the tests)">
    13   <!ENTITY python3-time          "1.4 SBU (additional 1.8 SBU for the tests)">
     10  <!ENTITY python3-md5sum        "e9ea6f2623fffcdd871b7b19113fde80">
     11  <!ENTITY python3-size          "15 MB">
     12  <!ENTITY python3-buildsize     "360 MB (with docs; additional 23 MB for the tests)">
     13  <!ENTITY python3-time          "1.1 SBU (additional 1.9 SBU for the tests)">
    1414
    1515  <!ENTITY python3htmldoc-download-http
    16            "https://docs.python.org/3/archives/python-&python3-version;-docs-html.tar.bz2">
    17 <!--   <!ENTITY python3htmldoc-md5sum        "fd4595908e51268639c40b5ad1d1ccc2">
    18   <!ENTITY python3htmldoc-size          "5.2 MB"> -->
     16           "https://docs.python.org/&python3-majorver;/archives/python-&python3-version;-docs-html.tar.bz2">
    1917]>
    2018
     
    8785        </para>
    8886      </listitem>
    89 <!--      <listitem>
    90         <para>
    91           Download MD5 sum: &python3htmldoc-md5sum;
    92         </para>
    93       </listitem>
    94       <listitem>
    95         <para>
    96           Download size: &python3htmldoc-size;
    97         </para>
    98       </listitem> -->
    9987    </itemizedlist>
    10088
     
    134122    </para>
    135123
    136 <screen><userinput>CXX="/usr/bin/g++" ./configure --prefix=/usr       \
     124<screen><userinput>CXX="/usr/bin/g++"              \
     125./configure --prefix=/usr       \
    137126            --enable-shared     \
    138127            --with-system-expat \
     
    169158      The test suite must be run separately from the build, either before or
    170159      after the package is built and installed. Do not run
    171       <command>make install</command> after running the test suite. To build
     160      <command>make install</command>, after running the test suite. To build
    172161      and install the package, you need to start with a fresh or clean source
    173162      tree. For the test, you also need a clean source code, so either start by
     
    176165      configure again, adding <quote>--with-pydebug</quote> to the
    177166      <command>configure</command> switches above, run <command>make</command>,
    178       then <command>make test</command>. Remember that some tests fail if they
    179       are not run from an X terminal.
     167      then <command>make test</command>. Remember that tests must be executed
     168      using an X terminal. One test fails for unknown reasons.
    180169    </para>
    181170
     
    186175
    187176    <para>
     177      <command> CXX="/usr/bin/g++" ./configure ...</command>: Avoid an annoying
     178      message during configuration.
     179    </para>
     180
     181    <para>
    188182      <option>--with-system-expat</option>: This switch enables linking against
    189       system version of <application>Expat</application>. 
     183      system version of <application>Expat</application>.
    190184    </para>
    191185
     
    194188      system version of <application>libffi</application>. Remove if you have
    195189      not installed recommended dependency <xref linkend="libffi"/>.
    196     </para>
    197 
    198     <para>
    199       <parameter>--without-ensurepip</parameter>: This switch disables building
    200       <command>pip</command> and setuptools modules. Newer versions can be
    201       installed independently.
    202190    </para>
    203191
     
    210198
    211199    <para>
     200      <parameter>--without-ensurepip</parameter>: This switch disables building
     201      <command>pip</command> and <command>setuptools</command>
     202      packaging programs.
     203    </para>
     204
     205    <para>
    212206      <command>chmod ...</command>: Fix permissions for shared libraries to be
    213207      consistent with other libraries.
     
    221215    <para>
    222216      In order for <command>python3</command> to find the installed
    223       documentation, you must add the following environment variable to
    224       individual user's or the system's profile:
    225     </para>
    226 
    227 <screen role="root"><userinput>export PYTHONDOCS=/usr/share/doc/python-&python3-version;/html</userinput></screen>
     217      documentation, create the following version independent symlink:
     218    </para>
     219
     220<screen role="root"><userinput>ln -svfn python-&python3-version; /usr/share/doc/python-3</userinput></screen>
     221
     222    <para>
     223      and add the following environment variable to the individual user's or
     224      system's profile:
     225    </para>
     226
     227<screen role="root"><userinput>export PYTHONDOCS=/usr/share/doc/python-3/html</userinput></screen>
    228228
    229229  </sect2>
     
    253253
    254254          pyvenv (symlink),
    255           pyvenv&python3-majorver;,
     255          pyvenv-&python3-majorver;,
    256256
    257257          idle3 (symlink), and
     
    259259        </seg>
    260260        <seg>
    261           libpython&python3-majorver;m.so,
    262           and libpython3.so
     261          libpython&python3-majorver;m.so and libpython3.so
    263262        </seg>
    264263        <seg>
Note: See TracChangeset for help on using the changeset viewer.