LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 08-20-2004, 04:36 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
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,
Old 08-20-2004, 04:47 AM   #2
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
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>
Old 08-20-2004, 10:33 AM   #3
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Or perhaps you might consider doing it the way the book says...
Old 08-20-2004, 12:08 PM   #4
Registered: Aug 2004
Location: U.S
Distribution: Ubuntu
Posts: 145

Rep: Reputation: 15
Advice: just follow the book
Old 08-23-2004, 06:10 AM   #5
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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
Old 01-30-2009, 05:05 AM   #6
LQ Newbie
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
u can resolve this problem by simple command

yum install glibc

Last edited by m_balakumar; 01-30-2009 at 05:06 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error in configure glibc-2.3.4 isilinux Linux - Software 11 07-07-2010 12:04 PM
Glibc ./configure ERROR saml Linux From Scratch 1 06-30-2005 03:26 PM
LFS6.0 Glibc compile problem Chapter5.8 Pass1 Paulsuk Linux From Scratch 1 04-19-2005 03:50 PM
glibc error with ./configure speel Linux - Distributions 1 08-07-2004 07:57 PM
Chapter 6 Glibc error in configure MasterC Linux From Scratch 6 07-17-2003 01:17 PM

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration