- Timestamp:
- 01/02/2003 10:01:49 PM (22 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, v4_1, 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:
- 30a2c84
- Parents:
- f991b54
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc-inst.xml
rf991b54 rb7cea6e 2 2 3 3 <sect2> 4 <title> Installation of Glibc</title>4 <title>Glibc installation</title> 5 5 6 6 <para>Before starting to install glibc, you must cd into the … … 19 19 is putting your system at very high risk.</para> 20 20 21 <para>We'll start by applying a patch to Glibc that fixes a few 22 things:</para> 21 <para>We'll start by applying a patch to Glibc that fixes the following:</para> 23 22 24 23 <itemizedlist> … … 60 59 61 60 <para>Glibc will check for the <filename>/etc/ld.so.conf</filename> file 62 and abort with an error if the file is missing, so we create it.</para>61 and abort with an error if the file is missing, so we must create it.</para> 63 62 64 63 <para><screen><userinput>touch /etc/ld.so.conf</userinput></screen></para> 65 64 66 65 <para>It is recommended by the Glibc installation documentation to build 67 Glibc outside of the source directory in a dedicated directory. Let's 68 create such a directory and make it our CWD (Current Working 69 Directory).</para> 66 Glibc outside of the source directory in a dedicated directory.</para> 70 67 71 68 <para><screen><userinput>mkdir ../glibc-build && 72 69 cd ../glibc-build</userinput></screen></para> 73 70 74 <para>Next, configure Glibc.</para>71 <para>Next, prepare Glibc to be compiled.</para> 75 72 76 73 <para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ … … 78 75 --libexecdir=/usr/bin</userinput></screen></para> 79 76 80 <para>During th e configurestage you will see the following warning:</para>77 <para>During this stage you will see the following warning:</para> 81 78 82 79 <blockquote><screen>configure: warning: … … 128 125 make install</userinput></screen></para> 129 126 130 <para>Locales aren't installed by default so we install them now. Locales 131 are used by Glibc to make your Linux system talk in a different language 132 such as your native tongue.</para> 127 <para>Locales aren't installed when you ran 128 <userinput>make install</userinput>, so we have to do that ourselves now. 129 Locales are used by Glibc to make your Linux system talk in a different 130 language.</para> 133 131 134 132 <para><screen><userinput>make localedata/install-locales</userinput></screen></para> … … 140 138 file in the glibc-&glibc-version; tree.</para> 141 139 142 <para>To finish off the installation we'll reload Bash so it uses the new143 libnss files. This will get rid of the <emphasis>I have no name!</emphasis>144 message in the command prompt.</para>140 <para>To finish off the installation we'll reload Bash so it uses the 141 libnss files. This will also get rid of the 142 <emphasis>I have no name!</emphasis> message in the command prompt.</para> 145 143 146 144 <para><screen><userinput>exec /static/bin/bash --login</userinput></screen></para>
Note:
See TracChangeset
for help on using the changeset viewer.