Andy, not silly at all -- I am on a mac, converted one week ago (not completely weaned off of my Win box yet). I have a 13" MacBook running 10.4.10. Trying to install Apache from source.
Here is the return from echo $PATH:
/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
Here is the entire transcript from Terminal:
Dougrs-Computer:~ dougr$ curl -O
http://apache.mirrors.tds.net/httpd/httpd-2.2.4.ta... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6216k 100 6216k 0 0 654k 0 0:00:09 0:00:09 --:--:-- 641k
Dougrs-Computer:~ dougr$ gnutar -xzfhttpd-2.2.4.tar.gz
Dougrs-Computer:~ dougr$ cd httpd-2.2.4
Dougrs-Computer:~/httpd-2.2.4 dougr$ sudo ./configure --prefix=/apache2
Password:
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i386-apple-darwin8.10.1
checking host system type... i386-apple-darwin8.10.1
checking target system type... i386-apple-darwin8.10.1
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i386-apple-darwin8.10.1
checking host system type... i386-apple-darwin8.10.1
checking target system type... i386-apple-darwin8.10.1
Configuring APR library
Platform: i386-apple-darwin8.10.1
checking for working mkdir -p... yes
APR Version: 1.2.8
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
Dougrs-Computer:~/httpd-2.2.4 dougr$ echo $PATH
/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
Dougrs-Computer:~/httpd-2.2.4 dougr$
Pretty much crying for a compiler eh?
D.