Newsgroup: it.comp.www.php
Titolo: compilazione codice php sotto macintosh

ciao a tutti,  premetto che sono un neofita di php e che sto cercando di 
installarlo partendo dal codice sorgente. La compilazione si ferma a 
questo punto
bart:~/Desktop/php-4.3.3 dariobillo$ make
gcc  -Iext/standard/ -I/Users/dariobillo/Desktop/php-4.3.3/ext/standard/ 
-DPHP_ATOM_INC -I/Users/dariobillo/Desktop/php-4.3.3/include 
-I/Users/dariobillo/Desktop/php-4.3.3/main 
-I/Users/dariobillo/Desktop/php-4.3.3 
-I/Users/dariobillo/Desktop/php-4.3.3/Zend 
-I/Users/dariobillo/Desktop/php-4.3.3/ext/xml/expat  -no-cpp-precomp 
-no-cpp-precomp -I/Users/dariobillo/Desktop/php-4.3.3/TSRM  -g -O2  -c 
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c -o 
ext/standard/dns.o  && echo > ext/standard/dns.lo
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c: In function 
`zif_checkdnsrr':
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:228: error: 
`T_MX' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:228: error: (Each 
undeclared identifier is reported only once
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:228: error: for 
each function it appears in.)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:239: error: `T_A' 
undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:240: error: 
`T_NS' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:242: error: 
`T_PTR' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:243: error: 
`T_ANY' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:244: error: 
`T_SOA' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:245: error: 
`T_CNAME' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:256: error: 
`C_IN' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c: In function 
`zif_getmxrr':
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:288: error: 
`HEADER' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:288: error: `hp' 
undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:317: error: 
`C_IN' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:317: error: 
`T_MX' undeclared (first use in this function)
/Users/dariobillo/Desktop/php-4.3.3/ext/standard/dns.c:324: error: parse 
error before ')' token
make: *** [ext/standard/dns.lo] Error 1
Credo che il problema non riguardi il sistema operativo, anzi ne sono 
quasi sicuro, ma non capisco il motivo per cui queste variabili non sono 
dichiarate e non so come uscirne.
Qualcuno di voi ha qualche idea? Grazie ciao
Dario

 idea? Grazie ciao Dario
Hai provato a dare una letta qui?
http://www.php.net/manual/en/install.macosx.php
-- 
I am what I am, I do what I can
Sei un newbie? Leggi questo 
http://url.repository.biz/go/1
Inviare email con allegati? 
http://url.repository.biz/go/1Z
Cerchi un programmatore PHP/MySQL? 
http://url.repository.biz/go/1Y
L'uomo, conscio di sbagliare, persevera.

 
MITTIIICCCCOOOOO!!!!! GRAZIE SETEC!!!