Welcome to WebmasterWorld Guest from 54.167.46.29

Forum Moderators: bakedjake

Message Too Old, No Replies

Installing yum - I got following error message

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts: 1419
votes: 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

3:59 pm on June 12, 2008 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9063
votes: 2


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. ;)
4:16 pm on June 12, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts: 1419
votes: 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

7:17 pm on June 12, 2008 (gmt 0)

Senior Member from LK 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 16, 2005
posts:2417
votes: 17


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.

9:44 am on June 13, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts:1419
votes: 0


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

Thanks,
Aji

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members