-   Linux - Software (
-   -   Having Problem in Installing glibc 2.3.5 (

Big D@ddy 04-17-2005 06:13 PM

Having Problem in Installing glibc 2.3.5
Like it says in the subject , iam having problem in installing glibc 2.3.5 . First i put the command of mkdir../glibc-build in the directory where i decompress the glibc 2.3.5 . Then is where i get stuck in the procces of installing glibc. I tried typeing :

../glibc-2.3.4-20040701/configure --prefix=/tools \
--disable-profile --enable-add-ons=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 \
--with-binutils=/tools/bin --without-gd --without-cvs \


./configure --prefix=/usr/local/glibc-build

but i get the message that i need to install it in a separate directory. I hope someone can help me in installing glibc, thanks

foo_bar_foo 04-17-2005 08:34 PM

this is LFS pass 1 ??????
like the first configure install to the temperary tools directory on another partition against some raw kernel headers (people aren't supposed to know we do that )

or what ?? the second one is quite different -- is trying to install back into the build directory
like jumping out of an airplane and trying to end up back in the airplane afterwards

explain what you are trying to do

mg2 04-18-2005 03:05 AM

build dir
per LFS instructions:

you should issue build commands for glibc outside of the source directory.

foolproof steps:

cd $LFS/packages (or whatever you put your .tar.gz files in)
tar -zxvf glibc-2.3.5.tar.gz
mkdir glibc-build
cd glibc-build
,,/configure etc etc

If you're using the LFS version of glibc that they tarballed up -- don't. 2.3.5 is now available on the public ftp archive, whereas it was not when the LFS book was being written.

Also, if you plan to use bash 3.0 and glibc 2.3.5, you're going to need a patch that they don't mention in the book:

Good luck.

All times are GMT -5. The time now is 11:28 AM.