Changeset 66e4325 for chapter05/glibc-inst.xml
- Timestamp:
- 06/03/2003 10:25:25 PM (21 years ago)
- 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, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 592cfd6
- Parents:
- 8f999de5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc-inst.xml
r8f999de5 r66e4325 16 16 17 17 <para>Basically, compiling Glibc in any other way than the book suggests 18 is putting your system at a very highrisk.</para>18 is putting the stability of your system at risk.</para> 19 19 20 20 <para>Though it is a harmless message, the install stage of Glibc will 21 complain about the presence of /etc/ld.so.conf (or lack thereof). Fix22 this annoying little error:</para>21 complain about the absence of <filename>/etc/ld.so.conf</filename>. 22 Fix this annoying little error with:</para> 23 23 24 24 <para><screen><userinput>mkdir /stage1/etc … … 39 39 --without-gd</userinput></screen></para> 40 40 41 <para>The meaning of the configure options are:</para>41 <para>The meaning of the new configure options is:</para> 42 42 43 43 <itemizedlist> … … 47 47 48 48 <listitem><para><userinput>--enable-add-ons</userinput>: This enables any 49 add-ons that we installed with Glibc, in our case Linuxthreads.</para></listitem>49 add-ons that were installed with Glibc, in our case Linuxthreads.</para></listitem> 50 50 51 <listitem><para><userinput>--libexecdir=/usr/bin</userinput>: This will 52 cause the <filename>pt_chown</filename> program to be installed in the 53 <filename>/usr/bin</filename> directory.</para></listitem> 51 <listitem><para><userinput>--with-binutils=/stage1/bin</userinput> and 52 <userinput>--with-headers=/stage1/include</userinput>: Strictly speaking 53 these switches are not required. But they ensure nothing can go wrong with 54 regard to what kernel headers and Binutils programs get used during the 55 Glibc build.</para></listitem> 56 57 <listitem><para><userinput> --without-gd</userinput>: This switch ensures 58 that we don't build the <userinput>memusagestat</userinput> program, which 59 strangely enough insists on linking against the host's libraries (libgd, 60 libpng, libz, and so forth).</para></listitem> 54 61 </itemizedlist> 55 62 … … 77 84 make install</userinput></screen></para> 78 85 79 <para>The locales (used by Glibc to make your Linux system talk in a different80 language) weren't installed when you ran the previous command, so we have to 81 do that ourselves now:</para>86 <para>The locales (used by Glibc to make your Linux system respond in a 87 different language) weren't installed when you ran the previous command, 88 so we have to do that ourselves now:</para> 82 89 83 90 <para><screen><userinput>make localedata/install-locales</userinput></screen></para> 84 91 85 <para>An alternative to running the previous command is to install only those 86 locales which you need or want. This can be achieved using the localedef 87 command. Information on this can be found in the <filename>INSTALL</filename> 88 file in the <filename>glibc-&glibc-version;</filename> tree.</para> 92 <para>An alternative to running the previous command is to install only 93 those locales which you need or want. This can be achieved by using the 94 <userinput>localedef</userinput> command. Information on this can be 95 found in the <filename>INSTALL</filename> file in the 96 <filename>glibc-&glibc-version;</filename> tree.</para> 89 97 90 98 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.