Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ missing GCC

Posted by: linwj Oct 6 2008, 11:27 PM

i cant find my gcc compiler even though it says that it exist.

cat /proc/version
Linux version 2.6.9-023stab041.3-enterprise (root@rhel4-32) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2))

it says here gcc version 3.4.5 20051201

i checked usr/lib/gcc-lib , nothing is inside
theres no usr/lib/gcc directory either

and when i run gcc , it throws me this error "gcc: command not found"
which means i dont have gcc ?

does this mean i have to download the binaries from gnu and install them
or are there alternatives to this


thanks

Posted by: michaelk Oct 7 2008, 09:04 AM

The posted output from version does not mean gcc is installed.

If you paid for RHEL then you could ask them for support or use yum
yum install gcc

smile.gif

Posted by: linwj Oct 7 2008, 10:32 PM

QUOTE (michaelk @ Oct 7 2008, 09:04 AM) *
The posted output from version does not mean gcc is installed.

If you paid for RHEL then you could ask them for support or use yum
yum install gcc

smile.gif


thanks but i dont have RHEL support or yum

i tried installing yum 2.0.7 for my RPM version 4.2.3
got these errors on "make" and "make install"


for subdir in bin etc docs po ; do \
make -C $subdir ; \
done
make[1]: Entering directory `/yum/yum-2.0.7/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/yum/yum-2.0.7/bin'
make[1]: Entering directory `/yum/yum-2.0.7/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/yum/yum-2.0.7/etc'
make[1]: Entering directory `/yum/yum-2.0.7/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/yum/yum-2.0.7/docs'
make[1]: Entering directory `/yum/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 `/yum/yum-2.0.7/po'
make: *** [all] Error 2


and ... iam stuck

Posted by: michaelk Oct 8 2008, 08:34 AM

I suggest installing CentOS instead. It is basically a free version of RHEL

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)