Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-11-2006, 05:45 AM   #1
LQ Newbie
Registered: Jan 2006
Location: CHENNAI
Distribution: RH9(2.4.20-8)
Posts: 13

Rep: Reputation: 0
Installation problems for glibc


I am trying to install glibc-2.3.6 on my Redhat Linux 9 (kernel version 2.4.20-8). I have already installed binutilities-2.16.1 and gcc-4.0.2.
The INSTALL file for glibc states that several hours may be required for the complete installation. It also warns about the system seeming to be hanged, but I don't see any progress in the compilation. Even the disk activity LED on the cabinet does not show any progress.
The system seems to hang only at a specific compilation which I have specified below. My machine is a P4 with 128MB RAM.

1) The configure that I gave:
[root@wks32 root]# ../glibc-2.3.6/configure --prefix=/usr/src/gnu/glibc-2.3.6-build -exec-prefix=/usr/src/gnu/glibc-2.3.6-build --enable-add-ons --with-binutils=/usr/src/gnu/binutils-2.16.1-build --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686c/gnu/binutils-2.15-build --build=i686-pc-linux-gnu --host=i686-pc-linux

2) Part of the make that is on screen when the system seems to hang:

make -C sunrpc others
make[2]: Entering directory `/usr/src/gnu/glibc/glibc-2.3.6/sunrpc'
make[2]: Leaving directory `/usr/src/gnu/glibc/glibc-2.3.6/sunrpc'
make[2]: Entering directory `/usr/src/gnu/glibc/glibc-2.3.6/sunrpc'
i686-pc-linux-gnu-gcc rpc_main.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=2 -I../include -I. -I/usr/src/gnu/glibc/glibc-2.3.6-build/sunrpc -I.. -I../libio -I../nptl -I/usr/src/gnu/glibc/glibc-2.3.6-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I..
(some text omitted)

u/glibc/glibc-2.3.6-build:/usr/src/gnu/glibc/glibc-2.3.6-build/math:/usr/src/gnu/glibc/glibc-2.3.6-build/elf:/usr/src/gnu/glibc/glibc-2.3.6-build/dlfcn:/usr/src/gnu/glibc/glibc-2.3.6-build/nss:/usr/src/gnu/glibc/glibc-2.3.6-build/nis:/usr/src/gnu/glibc/glibc-2.3.6-build/rt:/usr/src/gnu/glibc/glibc-2.3.6-build/resolv:/usr/src/gnu/glibc/glibc-2.3.6-build/crypt:/usr/src/gnu/glibc/glibc-2.3.6-build/nptl /usr/src/gnu/glibc/glibc-2.3.6-build/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /usr/src/gnu/glibc/glibc-2.3.6-build/sunrpc/xbootparam_prot.T

Is this normal? How much time maybe required for the complete installation? Also, if I want to omit compilation for a certain architecture is it possible to do so?
Thanks in advance.
ravi is online now Edit/Delete Message Reply With Quote
Old 01-12-2006, 03:01 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,676

Rep: Reputation: 218Reputation: 218Reputation: 218
The messages you get are normal -- they're compilation commands.

I don't remember how much glibc compiled, less than 4 hours, I guess. Note that the last phase, linking (with very long commands), may take long time, because it requires huge amounts of RAM (in your case swap will be used, what always makes things slower).

I'm only thinking why you're installing glibc from sources. There are packages you can get it from. What's the reason, if I may ask?
Old 01-12-2006, 07:47 PM   #3
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
your install target --prefix is it's build directory -- how strange -- but in this case is a good thing cause if you install new glibc
in a usefull place say overtop of old one your system will no longer function at all.


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
Installation problems for glibc ravi Member Intro 1 01-11-2006 12:22 PM
Preparing for Glibc installation yougene Slackware 14 12-02-2005 03:54 PM
LFS v6-installation of glibc; need help kartheekpn Linux From Scratch 31 04-26-2005 04:13 PM
glibc 2.3 installation pneumatix Linux - Newbie 2 04-20-2004 04:03 PM
6.14.2 glibc installation - patch command not found itsjustme Linux From Scratch 4 07-23-2003 05:04 PM > Forums > Linux Forums > Linux - Newbie

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

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