From b08f4096533577934b885fa9df41d3881d141612 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 15 Feb 2001 15:26:52 +0000 Subject: Initial XML commit git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc-inst.xml | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 chapter06/glibc-inst.xml (limited to 'chapter06/glibc-inst.xml') diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml new file mode 100644 index 000000000..71db5be33 --- /dev/null +++ b/chapter06/glibc-inst.xml @@ -0,0 +1,51 @@ + +Installation of Glibc + + +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. + + + +Install Glibc by running the following commands: + + +
+ + touch /etc/ld.so.conf && + mkdir /usr/src/glibc-build && + cd /usr/src/glibc-build && + ../glibc-2.2.1/configure \ +    --prefix=/usr --enable-add-ons + \ +    --libexecdir=/usr/bin && + + sed s/"cross-compiling = yes"/"cross-compiling = no"/ + \ +    config.make > config.make~ + && + mv config.make~ config.make && + make && + make install && + make localedata/install-locales && + cp login/pt_chown /usr/bin + +
+ + +You can get rid of the "I have no name!" in the bash prompt if you want. +Do this by exiting chroot and re-entering it. Run the following +commands to do that: + + +
+ + logout + chroot $LFS /usr/bin/env -i HOME=/root /bin/bash + --login + +
+ +
+ -- cgit v1.2.3-54-g00ecf