Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jay Farschman on December 13, 2002, 09:29:27 PM
-
Hi,
I'm sure I'm not the first person who needs to install a compiler. I've got version 5.5 patch level 2 working wonderfully and now I want to install Nagios on it. I read the FAQ questions about the missing compiler:
http://www.e-smith.org/faq.php3#8q7
Gave installing them a try with teh following script and failed due to dependencies as shown at the bottom. Anybody have a working script or can tell me what I'm doing wrong?
mkdir ./compiler # Makes a special directory because at the end we execute *.rpm
cd compiler
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/glibc-2.2.2-10.i686.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/glibc-devel-2.2.2-10.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/glib-devel-1.2.9-1.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/make-3.79.1-5.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/libstdc++-devel-2.96-81.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/gcc-2.96-81.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/gcc-c++-2.96-81.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/kernel-headers-2.4.2-2.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/cpp-2.96-81.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/glibc-common-2.2.2-10.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/libstdc++-2.96-81.i386.rpm
rpm -Uvh *.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.2.3) is needed by rsync-2.5.4-2
libc.so.6(GLIBC_2.2.3) is needed by iproute-2.2.4-14
libc.so.6(GLIBC_2.2.3) is needed by binutils-2.11.90.0.8-12
libc.so.6(GLIBC_2.2.3) is needed by cpio-2.4.2-23
libc.so.6(GLIBC_2.2.3) is needed by diffutils-2.7.2-2
libc.so.6(GLIBC_2.2.3) is needed by fileutils-4.1-4
libc.so.6(GLIBC_2.2.3) is needed by findutils-4.1.7-1
libc.so.6(GLIBC_2.2.3) is needed by slocate-2.6-1
libc.so.6(GLIBC_2.2.3) is needed by tar-1.13.19-6
libc.so.6(GLIBC_2.2.3) is needed by pam-0.75-19
libc.so.6(GLIBC_2.2.3) is needed by sudo-1.6.5p2-1.7x.1
libc.so.6(GLIBC_2.2.3) is needed by rpm-4.0.4-7x
libc.so.6(GLIBC_2.2.3) is needed by anacron-2.3-17
libc.so.6(GLIBC_2.2.4) is needed by openssh-server-3.1p1-2es2
Thanks.
-
Sorry if anyone was already helping me. I found my mistake. I was trying to use RedHat 7.1 files, but I have SME 5.5 loaded and needed to use 7.2 RPMS. Got it. It looks like this:
mkdir ./compiler # Makes a special directory because at the end we execute *.rpm
cd compiler
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/cpp-2.96-98.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/glibc-devel-2.2.4-13.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/glib-devel-1.2.10-5.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/make-3.79.1-8.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/libstdc++-devel-2.96-98.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/gcc-2.96-98.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/gcc-c++-2.96-98.i386.rpm
wget speakeasy.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/kernel-headers-2.4.7-10.i386.rpm
rpm -Uvh *.rpm
You may want to use a different mirror though.
-
Some of those files are not a correct match for SME 5.5. Look here:
http://myezserver.com/downloads/mitel/contrib/dev-tools/SME55/
Darrell
-
Darrel,
Thanks. Looks like if got two of them wrong.
Wrong ---> Right
kernel-headers-2.4.7-10.i386.rpm -->kernel-headers-2.2.19-7.0.8.i386.rpm
glibc-devel-2.2.4-13.i386.rpm --> glibc-devel-2.2.4-24.i386.rpm
I appreciate it. Great resource you have there.
-
Jay Farschman wrote:
> I'm sure I'm not the first person who needs to install a
> compiler. I've got version 5.5 patch level 2 working
> wonderfully and now I want to install Nagios on it.
Are you sure that you need to build it yourself?
http://rpmfind.net/linux/rpm2html/search.php?query=nagios
I would try the PLD version first - the PLD people in general do a good job, and many of their RPMs are compatible with RedHat.
Charlie