GCC installed but not working .
When i do:
# cat /proc/version I get: Linux version 2.4.20-021stab028.3.777-smp (st@current.eng.sw.ru) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 SMP Wed Feb 2 21:32:05 MSK 2005 I try to install apache 2.0 getting : Configuring Apache Portable Runtime library ... checking for APR... reconfig configuring package in srclib/apr now checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring APR library Platform: i686-pc-linux-gnu checking for working mkdir -p... yes APR Version: 0.9.7 checking for chosen layout... apr checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. configure failed for srclib/apr |
The contents of /proc/version has nothing to do with whether GCC is installed. It just tells you what version was used to build the running kernel. Try "which gcc" or "locate gcc" instead.
|
rpm -qi gcc
What do you get? Cheers, Tink |
# rpm -qi gcc:
package gcc is not installed #which gcc: /usr/bin/which: no gcc in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/ usr/bin:/usr/X11R6/bin:/root/bin) locate gcc: /lib/libgcc_s-3.2.3-20040701.so.1 /lib/libgcc_s.so.1 /usr/sbin/libgcc_post_upgrade /usr/lib/gcc-lib I guess its not installed , any1 can help how to install gcc plz . |
Ummm ... use your RedHat package installation tool and install it?
Cheers, Tink |
All times are GMT -5. The time now is 12:29 PM. |