>Hi,
>
>I installed RH7.1 and want to run Apache/Mysql/PHP, so I found a good article about installing these modules. But, I have to type 'make' and that's where the troubles start....My console returned the following error: gcc: command not found.
>
>Anybody an id?
>
>pleazzzzz help me..
RH has been playing games with the version of the GNU compiler, but I hadn't heard that RH started leaving the compiler out of their install. (Assuming the install was done properly.)
RH uses the RPM technology. The GNU compiler might be installed, but not in the 'PATH'. You can fire up your RPM program manager and to a fined for either 'gcc' or 'egcs', more than likely 'egcs'. Egcs is RH's version of the GNU compiler, or was, the last time I checked. If you edit the Makefile and find the line, near the top, that sets the compiler:
CC := gcc
and change it to
CC := egcs
and save the file. Then enter 'make'.
If it complains that it can't find 'egcs' either and you will have to install a compiler (or switch to SuSE 7.3 :)
If you are missing a compiler go the ftp site I've listed below and install it using RPM. (RedHat Program Manager).
http://rpmfind.net/linux/RPM/redhat/7.1/i386/compat-egcs-g77-6.2-1.1.2.14.i386.htmlor get compat-egcs-g77-6.2-1.1.2.14.i386.rpm
ftp://linux.inrialpes.fr/linux/redhat/7.1/en/os/i386/RedHat/RPMS/HTH,
JLK
Nebraska Dept of Revenue