Changeset 51c01bff for chapter08/python.xml
- Timestamp:
- 05/13/2021 03:45:11 AM (3 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- 0ebda11
- Parents:
- 3de7f52 (diff), 5d0219fd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/python.xml
r3de7f52 r51c01bff 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.