Changeset 5ed37b3 for chapter08/python.xml
- Timestamp:
- 05/12/2021 11:34:34 PM (3 years ago)
- Branches:
- 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, 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:
- 5d0219fd
- Parents:
- d7a9421
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/python.xml
rd7a9421 r5ed37b3 45 45 <para>Prepare Python for compilation:</para> 46 46 47 <screen><userinput remap="configure">./configure --prefix=/usr \ 48 --enable-shared \ 49 --with-system-expat \ 50 --with-system-ffi \ 51 --with-ensurepip=yes</userinput></screen> 47 <screen><userinput remap="configure">./configure --prefix=/usr \ 48 --enable-shared \ 49 --with-system-expat \ 50 --with-system-ffi \ 51 --with-ensurepip=yes \ 52 --enable-optimizations</userinput></screen> 52 53 53 54 <variablelist> … … 78 79 </varlistentry> 79 80 81 <varlistentry> 82 <term><parameter>--enable-optimizations</parameter></term> 83 <listitem> 84 <para>This switch enables stable, but expensive, optimizations.</para> 85 </listitem> 86 </varlistentry> 87 80 88 </variablelist> 81 89 … … 84 92 <screen><userinput remap="make">make</userinput></screen> 85 93 86 <para>To test the results, issue:</para> 87 88 <screen><userinput remap="test">make test</userinput></screen> 89 90 <para>Some tests requiring a network connection or additional packages are 91 skipped. The tests test_unicodedata and test_curses tests are known to fail. For 92 more comprehensive results, the tests can be rerun when Python 3 is 93 reinstalled in BLFS.</para> 94 <para>Running the tests at this point is not recommended. The 95 tests are known to hang indefinitely in the partial LFS environment. 96 If desired, the tests can be rerun at the end of this chapter or 97 when Python 3 is reinstalled in BLFS. To run the tests anyway, 98 issue <command>make test</command>.</para> 94 99 95 100 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.