2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Glibc</title>
|
|
|
|
|
|
|
|
<para>
|
2001-01-27 02:04:02 +00:00
|
|
|
Unpack the glibc-linuxthreads in the glibc-2.2.1 directory, not in
|
|
|
|
/usr/src. Don't enter the created directories. Just unpack them and
|
|
|
|
leave it with that.
|
2001-01-24 00:31:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2001-02-02 13:37:47 +00:00
|
|
|
Install Glibc by running the following commands:
|
2001-01-24 00:31:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<blockquote><literallayout>
|
|
|
|
|
2001-02-08 16:14:12 +00:00
|
|
|
<userinput>touch /etc/ld.so.conf &&</userinput>
|
|
|
|
<userinput>mkdir /usr/src/glibc-build &&</userinput>
|
|
|
|
<userinput>cd /usr/src/glibc-build &&</userinput>
|
2001-03-15 11:30:16 +00:00
|
|
|
<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
|
|
|
|
<userinput> ../glibc-2.2.1/malloc/Makefile
|
|
|
|
> tmp~ &&</userinput>
|
|
|
|
<userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile &&
|
|
|
|
</userinput>
|
2001-03-28 16:22:23 +01:00
|
|
|
<userinput>sed "s/root/0/" ../glibc-2.2.1/login/Makefile
|
|
|
|
> tmp~ && </userinput>
|
|
|
|
<userinput>mv tmp~ ../glibc-2.2.1/login/Makefile &&
|
|
|
|
</userinput>
|
2001-01-27 01:16:17 +00:00
|
|
|
<userinput>../glibc-2.2.1/configure \</userinput>
|
2001-01-24 00:31:17 +00:00
|
|
|
<userinput> --prefix=/usr --enable-add-ons
|
|
|
|
\</userinput>
|
|
|
|
<userinput> --libexecdir=/usr/bin &&
|
|
|
|
</userinput>
|
2001-02-08 16:14:12 +00:00
|
|
|
<userinput>sed s/"cross-compiling = yes"/"cross-compiling = no"/
|
|
|
|
\</userinput>
|
|
|
|
<userinput> config.make > config.make~
|
|
|
|
&&</userinput>
|
|
|
|
<userinput>mv config.make~ config.make &&</userinput>
|
2001-01-24 00:31:17 +00:00
|
|
|
<userinput>make &&</userinput>
|
2001-01-27 01:16:17 +00:00
|
|
|
<userinput>make install &&</userinput>
|
2001-02-09 21:25:34 +00:00
|
|
|
<userinput>make localedata/install-locales &&</userinput>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</literallayout></blockquote>
|
|
|
|
|
2001-01-27 01:44:15 +00:00
|
|
|
<para>
|
2001-03-23 03:40:35 +00:00
|
|
|
You can get rid of the "I have no name!" in the bash prompt if you want
|
|
|
|
to by exiting chroot and re-entering it. Run the following commands to do
|
|
|
|
that:
|
2001-01-27 01:44:15 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<blockquote><literallayout>
|
|
|
|
|
2001-02-05 20:53:15 +00:00
|
|
|
<userinput>logout</userinput>
|
2001-03-28 17:43:36 +01:00
|
|
|
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
|
|
|
|
\</userinput>
|
|
|
|
<userinput> TERM=$TERM /bin/bash --login</userinput>
|
2001-01-27 01:44:15 +00:00
|
|
|
|
|
|
|
</literallayout></blockquote>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|