glibc pass1--configure error
hi friends ,
i m keyur.i m developing a new distribution using base system as Red Hat 9.0 and using LFS5.1.1. while compiling glibc2-3-3-LFS5.1 using the command ... "lfs:/mnt/lfs/glibc-build$ ./configure --prefix=/tools --disable-profile --enable-add-ons=linuxthreads --with-binutils=/tools/bin --with-headers=/tools/include --without-gd --without-cvs" i am getting error as below: "configure: error: you must configure in a separate build directory" i made new directory /mnt/lfs/glibc-build ... extracted all files in this folder and same error as mentioned above. please help me how to go about it. Thank You In Advance, KEYUR |
Create an empty directory, cd into that directory, and run the configure script (from inside that dir) as:
/mnt/lfs/glibc-build/configure .... <other params here> |
Or perhaps you might consider doing it the way the book says...
|
Advice: just follow the book
|
a little advice which will make things easier - especially later on - when you have finished the temporary system and are in chroot:
create a separate directory (for instance /mnt/lfs/sources ) where you then put all your sources and build them - this way they are out of the way and not all mixed up with the directories of your LFS-system The reason: now you are installing everything into /mnt/lfs/tools - but later you create the real system under /mnt/lfs/... - that is where now all your sources are - it will work but will not look nice... look in: Chapter 4. Final Preparations... I think the book forgot to mention this step - it is in the newer versions though mkdir $LFS/sources chown lfs $LFS/sources in this separate directory - unpack glibc-2.3.3-lfs-5.1 (as well as all your other software...) cd into this newly created directory from there issue the commands to create a separate build-directory and then to cd into that mkdir ../glibc-build cd ../glibc-build you are now in /mnt/lfs/sources/glibc-build then issue the configure-command as the book says - and it will work ../glibc-2.3.3-lfs-5.1/configure --prefix=/tools \ --disable-profile --enable-add-ons=linuxthreads \ --with-binutils=/tools/bin --with-headers=/tools/include \ --without-gd --without-cvs |
u can resolve this problem by simple command
yum install glibc |
All times are GMT -5. The time now is 06:26 AM. |