homepage Welcome to WebmasterWorld Guest from 54.196.201.253
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Installing yum - I got following error message
AjiNIMC




msg:3673094
 2:56 pm on Jun 12, 2008 (gmt 0)

Hi,

I am not a linux guy, here I end up with a server and root access.

Some helpful stats before you debug the real problem (how to install yum).

[root@phpdev yum-2.0.7]# cat /etc/issue
Red Hat Linux release 9 (Shrike)
Kernel \r on an \m

[root@phpdev yum-2.0.7]# cat /proc/version
Linux version 2.4.20-8 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:18:24 EST 2003


[root@phpdev setups]# cd yum-2.0.7
[root@phpdev yum-2.0.7]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating bin/Makefile
config.status: creating etc/Makefile
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating po/Makefile
[root@phpdev yum-2.0.7]# make
for subdir in bin etc docs po ; do \
make -C $subdir ; \
done
make[1]: Entering directory `/root/setups/yum-2.0.7/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/setups/yum-2.0.7/bin'
make[1]: Entering directory `/root/setups/yum-2.0.7/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/setups/yum-2.0.7/etc'
make[1]: Entering directory `/root/setups/yum-2.0.7/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/setups/yum-2.0.7/docs'
make[1]: Entering directory `/root/setups/yum-2.0.7/po'
for cat in cs.po es.po ru.po uk.po; do \
lang=`basename $cat .po`; \
if msgmerge -v $lang.po yum.pot > $lang.pot ; then \
mv -f $lang.pot $lang.po ; \
echo "msgmerge -v of $lang succeeded" ; \
else \
echo "msgmerge -v of $lang failed" ; \
rm -f $lang.pot ; \
fi \
done
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of cs failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of es failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of ru failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of uk failed
msgfmt --statistics --verbose -o cs.mo cs.po
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/root/setups/yum-2.0.7/po'
make: *** [all] Error 2
[root@phpdev yum-2.0.7]# make install
for subdir in bin etc docs po ; do \
make -C $subdir ; \
done
make[1]: Entering directory `/root/setups/yum-2.0.7/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/setups/yum-2.0.7/bin'
make[1]: Entering directory `/root/setups/yum-2.0.7/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/setups/yum-2.0.7/etc'
make[1]: Entering directory `/root/setups/yum-2.0.7/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/setups/yum-2.0.7/docs'
make[1]: Entering directory `/root/setups/yum-2.0.7/po'
for cat in cs.po es.po ru.po uk.po; do \
lang=`basename $cat .po`; \
if msgmerge -v $lang.po yum.pot > $lang.pot ; then \
mv -f $lang.pot $lang.po ; \
echo "msgmerge -v of $lang succeeded" ; \
else \
echo "msgmerge -v of $lang failed" ; \
rm -f $lang.pot ; \
fi \
done
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of cs failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of es failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of ru failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of uk failed
msgfmt --statistics --verbose -o cs.mo cs.po
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/root/setups/yum-2.0.7/po'
make: *** [all] Error 2

Thanks in advance.

Regards,
Aji

 

encyclo




msg:3673142
 3:59 pm on Jun 12, 2008 (gmt 0)

Is there a particular reason why you are attempting to compile rather than using an RPM pre-compiled for the appropriate distribution? You can save a lot of hassle by using a RPM. ;)

AjiNIMC




msg:3673171
 4:16 pm on Jun 12, 2008 (gmt 0)

can you please guide me in installing yum using rpm? As I said, linux is one of my biggest weakness, do know the basics of it much.

Though I have worked on centos partially, still the basic line of understanding is missing.

Your help will be highly appreciated.

Thanks,
Aji

graeme_p




msg:3673336
 7:17 pm on Jun 12, 2008 (gmt 0)

I Googled for "red hat 9 yum" and the first result was a tutorial on how to use rpm to instal yum.

Incidentally, Red Hat 9 is pretty old. Any reasonably modern Linux distro would have the package manager pre-installed.

AjiNIMC




msg:3673871
 9:44 am on Jun 13, 2008 (gmt 0)

Now I learned it, installed yum and using yum installed emacs, screen etc.

Thanks,
Aji

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved