cc path problem - no acceptable path found

Hello everyone,

I'm a unix noob. I have a powerbook running mac os x 10.4 and for one of my classes I need to install the latest version of php (5.0.5). I'm following the instructions at [http://developer.apple.com/internet/opensource/php.html](Apple Developer Page) to install but I've run into a problem.

The error happens when I type "./configure" - it starts going through the process and quits at the checking for cc part. Here's some code:

usr:~/Desktop/apps/php-5.0.5 usr$ ./configure
loading cache ./config.cache
checking host system type... powerpc-apple-darwin8.2.0
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
usr:~/Desktop/apps/php-5.0.5 usr$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin

I could use some help trying to figure this out, preferably sooner than later because I have php assignment due in 2 days.
Thanks very much!

Do you have cc or gcc installed on your system? If you do, then include the path to that in your environment PATH variable and then run this again.

no - i do not have those. i don't even konw what they are or that they were necessary hehe.. i'll install them and see if that fixes the issue.