LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2009, 12:27 PM   #1
gaur.ankit2007@gmail.com
Member
 
Registered: Dec 2008
Posts: 34

Rep: Reputation: 16
error installing glibc


i am installing glibc on RHEL4

i am writing this command

[root@localhost glibc-2.5]# ./configure
]configure: error: you must configure in a separate build directory

and

[root@localhost glibc-2.5]# ./configure --prefix=/usr/local
configure: error: you must configure in a separate build directory

Plz help ......
 
Old 01-28-2009, 12:49 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by gaur.ankit2007@gmail.com View Post
error: you must configure in a separate build directory
Just like it says you need to build glibc in a separate directory. Assuming you're starting in the glibc-2.5 directory, this is one way you might build glibc.
Code:
mkdir -v ../glibc-build &&
cd ../glibc-build &&
CFLAGS="-march=$(cut -d- -f1 <<< $MACHTYPE) \ 
../glibc-2.5/configure --disable-profile --enable-add-ons --enable-kernel=2.6.0 &&
make &&
make -k check >glibc-check.log 2>&1 &&
grep Error glibc-check.log
If all goes well you can make install.
 
Old 01-28-2009, 12:58 PM   #3
alexander_bosakov
Member
 
Registered: Mar 2006
Location: Plovdiv, Bulgaria
Distribution: OpenSuse 11.3
Posts: 55

Rep: Reputation: 15
Hi, see these:
http://www.gnu.org/software/libtool/...compiling.html
http://www.linuxfromscratch.org/pipe...il/023167.html
and especially this:
http://www.codingforums.com/archive/.../t-120564.html
 
Old 01-29-2009, 12:18 AM   #4
gaur.ankit2007@gmail.com
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 16
HI
thanks 4 ur reply i have now successfully compiled but i am now getting this during "make install"

i am now getting this after make install.....

rm: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
make[1]: *** [install-symbolic-link] Error 127
make[1]: Leaving directory `/root/glibc-2.5'
make: *** [install] Error 2


1)is the installation complete?
2)what does the error mean?
3)what am i supposed to do now ?
 
  


Reply



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
installing Glibc-2.4 Error a.dehqan Linux - Software 6 06-17-2008 10:55 AM
trouble installing glibc-2.7 - error during ./configure Virtuality Linux - Software 5 12-12-2007 06:43 PM
Error during installing glibc-2.2.5 giri616 Linux From Scratch 3 11-09-2006 11:34 PM
error while installing glibc 2.3.5 chirag_jog Linux - Software 1 10-16-2005 06:31 AM
error installing glibc on slack moschi Linux - Software 2 10-22-2004 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

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
Open Source Consulting | Domain Registration