- Timestamp:
- 06/29/2014 03:41:50 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 6659d8a
- Parents:
- 967d78e
- Location:
- chapter06
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/automake.xml
r967d78e r39507e9 53 53 wrong version of the flex library, so we temporarily work around 54 54 the problem. Also, using the -j4 make option speeds up the tests, even on 55 systems with only one processor due to internal delays in individual55 systems with only one processor, due to internal delays in individual 56 56 tests. To test the results, issue:</para> 57 57 -
chapter06/bash.xml
r967d78e r39507e9 55 55 56 56 <variablelist> 57 <title>The meaning of the configure options:</title>57 <title>The meaning of the new configure option:</title> 58 58 59 <varlistentry>60 <term><parameter>--htmldir</parameter></term>61 <listitem>62 <para>This option designates the directory into which HTML formatted63 documentation will be installed.</para>64 </listitem>65 </varlistentry>66 59 <varlistentry> 67 60 <term><parameter>--with-installed-readline</parameter></term> -
chapter06/binutils.xml
r967d78e r39507e9 65 65 sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen> 66 66 67 <para>Add an upstream patch to use gcc's link time optimization (LTO)68 thedefault:</para>67 <para>Add an upstream patch to use GCC's link time optimization (LTO) 68 by default:</para> 69 69 70 70 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen> -
chapter06/flex.xml
r967d78e r39507e9 42 42 <title>Installation of Flex</title> 43 43 44 <para>First, skip running three regression tests that require bison.</para>44 <para>First, skip running three regression tests that require Bison:</para> 45 45 46 46 <screen><userinput remap="pre">sed -i -e '/test-bison/d' tests/Makefile.in</userinput></screen> -
chapter06/gmp.xml
r967d78e r39507e9 53 53 <para>Prepare GMP for compilation:</para> 54 54 55 <screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx</userinput></screen> 55 <screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx \ 56 --docdir=/usr/share/doc/gmp-&gmp-version;</userinput></screen> 56 57 57 58 <variablelist> … … 65 66 </varlistentry> 66 67 68 <varlistentry> 69 <term><parameter>--docdir=/usr/share/doc-gmp&gmp-version;</parameter></term> 70 <listitem> 71 <para>This variable specifies the correct place for the 72 documentation.</para> 73 </listitem> 74 </varlistentry> 75 67 76 </variablelist> 68 77 69 <para>Compile the package :</para>78 <para>Compile the package and generate the HTML documentation:</para> 70 79 71 <screen><userinput remap="make">make</userinput></screen> 80 <screen><userinput remap="make">make 81 make html</userinput></screen> 72 82 73 83 <important> … … 85 95 <screen><userinput remap="test">awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log</userinput></screen> 86 96 87 <para>Install the package :</para>97 <para>Install the package and its documentation:</para> 88 98 89 <screen><userinput remap="install">make install</userinput></screen> 90 91 <para>If desired, install the documentation:</para> 92 93 <screen><userinput remap="install">mkdir -v /usr/share/doc/gmp-&gmp-version; 94 cp -v doc/{isa_abi_headache,configuration} doc/*.html \ 95 /usr/share/doc/gmp-&gmp-version;</userinput></screen> 99 <screen><userinput remap="install">make install 100 make install-html</userinput></screen> 96 101 97 102 </sect2> -
chapter06/inetutils.xml
r967d78e r39507e9 42 42 43 43 <para>Create a definition to allow the <command>ifconfig</command> program 44 to build properly .</para>44 to build properly:</para> 45 45 46 46 <screen><userinput remap="pre">echo '#define PATH_PROCNET_DEV "/proc/net/dev"' >> ifconfig/system/linux.h </userinput></screen> -
chapter06/libcap.xml
r967d78e r39507e9 54 54 <screen><userinput remap="install">make RAISE_SETFCAP=no prefix=/usr install 55 55 chmod -v 755 /usr/lib/libcap.so</userinput></screen> 56 57 <variablelist> 58 <title>The meaning of the make option:</title> 59 60 <varlistentry> 61 <term><parameter>RAISE_SETFCAP=no</parameter></term> 62 <listitem> 63 <para>This parameter skips trying to use <command>setcap</command> 64 on itself. This avoids an installation error if the kernel or file 65 system does not support extended capabilities.</para> 66 </listitem> 67 </varlistentry> 68 69 </variablelist> 56 70 57 71 <para>The shared library needs to be moved to -
chapter06/man-pages.xml
r967d78e r39507e9 24 24 <title/> 25 25 26 <para>The Man-pages package contains over 1,900 man pages.</para>26 <para>The Man-pages package contains over 2,200 man pages.</para> 27 27 28 28 <segmentedlist> -
chapter06/mpc.xml
r967d78e r39507e9 45 45 <para>Prepare MPC for compilation:</para> 46 46 47 <screen><userinput remap="configure">./configure --prefix=/usr </userinput></screen>47 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen> 48 48 49 <para>Compile the package :</para>49 <para>Compile the package and generate the HTML documentation:</para> 50 50 51 <screen><userinput remap="make">make</userinput></screen> 51 <screen><userinput remap="make">make 52 make html</userinput></screen> 52 53 53 54 <para>To test the results, issue:</para> … … 55 56 <screen><userinput remap="test">make check</userinput></screen> 56 57 57 <para>Install the package :</para>58 <para>Install the package and its documentation:</para> 58 59 59 <screen><userinput remap="install">make install</userinput></screen> 60 <screen><userinput remap="install">make install 61 make install-html</userinput></screen> 60 62 61 63 </sect2> … … 67 69 <segmentedlist> 68 70 <segtitle>Installed Libraries</segtitle> 71 <segtitle>Installed Directory</segtitle> 69 72 70 73 <seglistitem> 71 74 <seg>libmpc.{a,so}</seg> 75 <seg>/usr/share/doc/mpc-&mpc-version;</seg> 72 76 </seglistitem> 73 77 </segmentedlist> -
chapter06/sed.xml
r967d78e r39507e9 51 51 <term><parameter>--htmldir</parameter></term> 52 52 <listitem> 53 <para>This sets the directory where the HTML documentation will be 54 installed to.</para> 53 <para>This sets the installation directory for the HTML documentation.</para> 55 54 </listitem> 56 55 </varlistentry> 57 56 </variablelist> 58 57 59 <para>Compile the package :</para>58 <para>Compile the package and generate the HTML documentation:</para> 60 59 61 <screen><userinput remap="make">make</userinput></screen> 62 63 <para>Generate the HTML documentation:</para> 64 65 <screen><userinput remap="make">make html</userinput></screen> 60 <screen><userinput remap="make">make 61 make html</userinput></screen> 66 62 67 63 <para>To test the results, issue:</para> … … 69 65 <screen><userinput remap="test">make check</userinput></screen> 70 66 71 <para>Install the package :</para>67 <para>Install the package and its documentation:</para> 72 68 73 <screen><userinput remap="install">make install</userinput></screen> 74 75 <para>Install the HTML documentation:</para> 76 77 <screen><userinput remap="install">make -C doc install-html</userinput></screen> 69 <screen><userinput remap="install">make install 70 make -C doc install-html</userinput></screen> 78 71 79 72 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.