LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 08-20-2004, 05:36 AM   #1
keyur
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,
KEYUR
 
Old 08-20-2004, 05:47 AM   #2
ugenn
Member
 
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, 11: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, 01:08 PM   #4
sibtay
Member
 
Registered: Aug 2004
Location: U.S
Distribution: Ubuntu
Posts: 145

Rep: Reputation: 15
Advice: just follow the book
 
Old 08-23-2004, 07:10 AM   #5
jomen
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, 06:05 AM   #6
m_balakumar
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 06:06 AM.
 
  


Reply


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 01:04 PM
Glibc ./configure ERROR saml Linux From Scratch 1 06-30-2005 04:26 PM
LFS6.0 Glibc compile problem Chapter5.8 Pass1 Paulsuk Linux From Scratch 1 04-19-2005 04:50 PM
glibc error with ./configure speel Linux - Distributions 1 08-07-2004 08:57 PM
Chapter 6 Glibc error in configure MasterC Linux From Scratch 6 07-17-2003 02:17 PM


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

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