Help - Search - Members - Calendar
Full Version: missing GCC
Linuxhelp > Support > Technical Support
linwj
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
michaelk
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
linwj
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
michaelk
I suggest installing CentOS instead. It is basically a free version of RHEL
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.