LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation problems for glibc (https://www.linuxquestions.org/questions/linux-newbie-8/installation-problems-for-glibc-401969/)

ravi 01-11-2006 05:45 AM

Installation problems for glibc
 
***SORRY IF THIS POST COMES TWICE. I AM NEW LINUXQUESTIONS.ORG***

Hi,
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

Mara 01-12-2006 03:01 PM

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?

foo_bar_foo 01-12-2006 07:47 PM

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.


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