Changeset 0445a3d for chapter06/glibc.xml
- Timestamp:
- 09/18/2007 09:11:00 PM (17 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, 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, 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:
- e1ad8a8
- Parents:
- a7a0238
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
ra7a0238 r0445a3d 68 68 Unpack the tarball from within the Glibc source directory:</para> 69 69 70 <screen><userinput >tar -xvf ../glibc-libidn-&glibc-version;.tar.gz70 <screen><userinput remap="pre">tar -xvf ../glibc-libidn-&glibc-version;.tar.gz 71 71 mv glibc-libidn-&glibc-version; libidn</userinput></screen> 72 72 … … 76 76 problem:</para> 77 77 78 <screen><userinput >sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>78 <screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen> 79 79 80 80 <para>When running <command>make install</command>, a script called … … 85 85 to check the Glibc we have just installed with the following:</para> 86 86 87 <screen><userinput >sed -i \87 <screen><userinput remap="pre">sed -i \ 88 88 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \ 89 89 scripts/test-installation.pl</userinput></screen> … … 95 95 chapter of the BLFS book:</para> 96 96 97 <screen><userinput >sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>97 <screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen> 98 98 99 99 <para>The Glibc documentation recommends building Glibc outside of the source 100 100 directory in a dedicated build directory:</para> 101 101 102 <screen><userinput >mkdir -v ../glibc-build102 <screen><userinput remap="pre">mkdir -v ../glibc-build 103 103 cd ../glibc-build</userinput></screen> 104 104 105 105 <para>Again, add the needed compiler flag to CFLAGS:</para> 106 106 107 <screen><userinput >echo "CFLAGS += -march=i486" > configparms</userinput></screen>107 <screen><userinput remap="configure">echo "CFLAGS += -march=i486" > configparms</userinput></screen> 108 108 109 109 <para>Prepare Glibc for compilation:</para> 110 110 111 <screen><userinput >../glibc-&glibc-version;/configure --prefix=/usr \111 <screen><userinput remap="configure">../glibc-&glibc-version;/configure --prefix=/usr \ 112 112 --disable-profile --enable-add-ons \ 113 113 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen> … … 130 130 <para>Compile the package:</para> 131 131 132 <screen><userinput >make</userinput></screen>132 <screen><userinput remap="make">make</userinput></screen> 133 133 134 134 <important> … … 139 139 <para>Test the results:</para> 140 140 141 <screen><userinput >make -k check 2>&1 | tee glibc-check-log141 <screen><userinput remap="test">make -k check 2>&1 | tee glibc-check-log 142 142 grep Error glibc-check-log</userinput></screen> 143 143 … … 181 181 Prevent this warning with:</para> 182 182 183 <screen><userinput >touch /etc/ld.so.conf</userinput></screen>183 <screen><userinput remap="install">touch /etc/ld.so.conf</userinput></screen> 184 184 185 185 <para>Install the package:</para> 186 186 187 <screen><userinput >make install</userinput></screen>187 <screen><userinput remap="install">make install</userinput></screen> 188 188 189 189 <para>The locales that can make the system respond in a different language … … 203 203 locales necessary for the optimal coverage of tests:</para> 204 204 205 <screen role="nodump"><userinput >mkdir -pv /usr/lib/locale205 <screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale 206 206 localedef -i de_DE -f ISO-8859-1 de_DE 207 207 localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro … … 226 226 following time-consuming command:</para> 227 227 228 <screen><userinput >make localedata/install-locales</userinput></screen>228 <screen><userinput remap="locale-full">make localedata/install-locales</userinput></screen> 229 229 230 230 <para>Then use the <command>localedef</command> command to create and
Note:
See TracChangeset
for help on using the changeset viewer.