LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with installing GLIBC (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-installing-glibc-602193/)

mikalsaltveit 11-25-2007 01:14 AM

Help with installing GLIBC
 
First, thank you to anyone who can help me. Now on to the fun:

************ Background ************
I am attempting to install the Multiverse server platform
http://update.multiverse.net/wiki/in...er_setup_guide
Onto a Sun Cobalt Cube 3 server
http://www.sun.com/hardware/serverap...nual.qube3.pdf

I began by attempting to install JDK 5.0 Update 14.
During the make it alerted me that I had GLIBC-2.2.3, but needed 2.2.4.
So I found GLIBC-2.2.4
During ./configure it alerted me that my gmake was version 3.78 and I needed 3.80.
So I downloaded make-3.81
./configure, make and make install all run fine. No problems are listed.
However when I run "make -v" it tells me that 3.78 is the current version.

My question is:
Why is it not updating?

UPDATE: I just ran make-3.80-5.src.rpm

'make -v' returns version 3.80 HOWEVER
'gmake -v' returns version 3.78

The error I encounter is exactly:

*******************************************
./configure
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking build system type... i586-pc-linux-gnu
checking for gcc... gcc
checking version of gcc... 2.95.2, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.78.1, bad
configure: error:
*** These critical programs are missing or too old: make
*** Check the INSTALL file for required versions.
*******************************************

-Mikal

blkros 11-25-2007 06:58 AM

Try uninstalling both versions of make, and reinstalling v. 3.81
gmake, and make are really the same thing on Linux systems.

wmakowski 11-25-2007 09:04 AM

make-3.80-5.src.rpm is a source rpm, not a binary. It gets installed in /usr/src/redhat/SPECS and /usr/src/redhat/SOURCES. You will need to either find a binary rpm or use rpmbuild to build the package and then install your build using rpm -Uvh. If you need more detail I can add a step by step.

Bill

mikalsaltveit 11-25-2007 01:46 PM

Thank you for the replies.

I'm running linux 2.2 so that might be causing issues. But no one has yet managed to get 2.4 to work on the Cube 3 without losing alot of functionality, so i'm stuck with it.

rpmbuild? Is that another program I need to install? I've been searching for a long time for a binary RPM and I have not found it yet. rpmfind.net does not find it.

I would very much appreciate a step by step.

If I uninstall make, how will I make make-3.80? Or will I just unpack it using rpm?

-Mikal

wmakowski 11-25-2007 03:54 PM

What distribution are you running now? 2.2 is going back a few years and I'll warn you that updating glibc may cause some issues. When I first started out I managed to hose things up pretty good on RHL 4.2 by trying to update it. I would recommend taking precautions. I've heard that it is possible to have more than one version of glibc installed, but have not done it myself. You may find the Glibc Installation HOWTO helpful.

rpmbuild is now a separate package (rpm-build), but was originally an option within rpm. For additional help look at the rpm man page for a section called Build Options. It will explain more about the options and what it is all about.

Steps as root...
1) rpm -ivh make-3.80-5.src.rpm (I believe you already did this)
2) cd /usr/src/redhat/SPECS
3) rpm -ba make.spec (ls the directory to get the exact name for the spec file) At this point you'll be compiling and building the rpm package for make.
4) cd /usr/src/redhat/RPMS/i386 (might be in another architecture directory under RPMS)
5) rpm -Uvh make-3.80-5.i386.rpm (this will install make)

I ran the build on my system and the src package also has the make-debuginfo-3.80-5.i386.rpm package. It would probably be fine to install this too.

Bill


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