Jump to content

PHP installation--gcc error


Recommended Posts

I tried to install PHP 5.1 in Red Hat Linux, when I did the following:
./configure --with-mysql

I got this message:

checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

But the gcc should be installed in the system already, when I do "locate gcc", it showed me the following:
/usr/libexec/gcc
/usr/libexec/gcc/i386-redhat-linux
/usr/libexec/gcc/i386-redhat-linux/4.0.1
/usr/libexec/gcc/i386-redhat-linux/4.0.1/cc1
/usr/sbin/libgcc_post_upgrade
/usr/share/ghostscript/Resource/ac14/CMap/HKgccs-B5-H
/usr/share/ghostscript/Resource/ac14/CMap/HKgccs-B5-V
/usr/share/ghostscript/Resource/CMap/HKgccs-B5-H
/usr/share/ghostscript/Resource/CMap/HKgccs-B5-V
/usr/share/locale/de/LC_MESSAGES/msgcc
/usr/share/locale/es/LC_MESSAGES/msgcc
/usr/share/locale/it/LC_MESSAGES/msgcc
/usr/share/locale/fr/LC_MESSAGES/msgcc
/usr/share/locale/C/LC_MESSAGES/msgcc
/usr/share/locale/pt/LC_MESSAGES/msgcc
/usr/share/doc/libgcc-4.0.1
/usr/share/doc/libgcc-4.0.1/COPYING.LIB
/usr/lib/gcc-lib
/var/cache/yum/updates/packages/libgcc-4.0.1-4.fc4.i386.rpm
/var/cache/yum/updates/headers/libgcc-4.0.1-4.fc4.i386.hdr
/lib/libgcc_s.so.1
/lib/libgcc_s-4.0.1-20050727.so.1

Does it mean the system has gcc installed already? Sorry, I don't know where to look,
thanks.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.