- Timestamp:
- 01/06/2006 02:59:05 AM (19 years ago)
- Children:
- e1ca33a
- Parents:
- 1714f1a
- Location:
- chapter05
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/chapter05.xml
r1714f1a r46a2e9c 13 13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils-pass1.xml"/> 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc-pass1.xml"/> 15 3B16 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-libc-headers.xml"/> 17 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/> -
chapter05/gawk.xml
r1714f1a r46a2e9c 32 32 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 33 34 <para>The configure script doesn't detect some functionality correctly. The 35 following commands correct this problem:</para> 36 37 <screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h 38 echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen> 34 <para>Due to a bug in the <command>configure</command> script, Gawk fails 35 to detect certain aspects of locale support in Glibc. This 36 bug leads to, e.g., Gettext testsuite failures. Work around this issue 37 by appending the missing macro definitions to <filename>config.h</filename>:</para> 38 <screen><userinput>cat >>config.h <<"EOF" 39 <literal>#define HAVE_LANGINFO_CODESET 1 40 #define HAVE_LC_MESSAGES 1</literal> 41 EOF</userinput></screen> 39 42 40 43 <para>Compile the package:</para> -
chapter05/glibc.xml
r1714f1a r46a2e9c 89 89 <term><parameter>--without-selinux</parameter></term> 90 90 <listitem><para>When building from hosts that include SELinux functionality 91 (e.g. Fedora Core 3), Glibc will build with support for SELinux. As the LFS91 (e.g., Fedora Core 3), Glibc will build with support for SELinux. As the LFS 92 92 tools environment does not contain support for SELinux, a Glibc compiled with 93 93 such support will fail to operate correctly.</para></listitem> … … 159 159 per the recommendation), there is no need to install the locales now. 160 160 The appropriate locales will be installed in the next 161 chapter.</para></note> 162 163 <para>To install the Glibc locales anyway, use the following 164 command:</para> 165 166 <screen role="nodump"><userinput>make localedata/install-locales</userinput></screen> 167 168 <para>To save time, an alternative to running the 169 previous command (which generates and installs every locale Glibc is 170 aware of) is to install only those locales that are wanted and needed. 171 This can be achieved by using the <command>localedef</command> 172 command. Information on this command is located in the 173 <filename>INSTALL</filename> file in the Glibc source. However, there 174 are a number of locales that are essential in order for the tests of 175 future packages to pass, in particular, the 176 <emphasis>libstdc++</emphasis> tests from GCC. The following 177 instructions, instead of the <parameter>install-locales</parameter> 178 target used above, will install the minimum set of locales necessary 179 for the tests to run successfully:</para> 180 181 <screen><userinput>mkdir -pv /tools/lib/locale 182 localedef -i de_DE -f ISO-8859-1 de_DE 183 localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro 184 localedef -i en_HK -f ISO-8859-1 en_HK 185 localedef -i en_PH -f ISO-8859-1 en_PH 186 localedef -i en_US -f ISO-8859-1 en_US 187 localedef -i es_MX -f ISO-8859-1 es_MX 188 localedef -i fa_IR -f UTF-8 fa_IR 189 localedef -i fr_FR -f ISO-8859-1 fr_FR 190 localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro 191 localedef -i it_IT -f ISO-8859-1 it_IT 192 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen> 161 chapter. To install the Glibc locales anyway, use instructions from 162 <xref linkend="ch-system-glibc" role="."/> 163 </para></note> 193 164 194 165 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.