Can't get php5 to build on machines that have php4 or have had php4
MXS
mxsweb at gmail.com
Mon Jun 5 20:58:17 PDT 2006
Hi
I'm getting the same error when I'm compiling under os x. I already
have php 4.4.1 installed on it ( default ) and I can't get it to
complete the install.
/bin/sh /Applications/php-5.1.4/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/standard/ -I/Applications/php-5.1.4/ext/
standard/ -DPHP_ATOM_INC -I/Applications/php-5.1.4/include -I/
Applications/php-5.1.4/main -I/Applications/php-5.1.4 -I/usr/include/
libxml2 -I/Applications/php-5.1.4/ext/date/lib -I/Applications/
php-5.1.4/TSRM -I/Applications/php-5.1.4/Zend -I/usr/include -g -
O2 -c /Applications/php-5.1.4/ext/standard/dns.c -o ext/standard/
dns.lo
/Applications/php-5.1.4/ext/standard/dns.c: In function
'zif_dns_check_record':
/Applications/php-5.1.4/ext/standard/dns.c:265: error: 'T_MX'
undeclared (first use in this function)
/Applications/php-5.1.4/ext/standard/dns.c:265: error: (Each
undeclared identifier is reported only once
/Applications/php-5.1.4/ext/standard/dns.c:265: error: for each
function it appears in.)
/Applications/php-5.1.4/ext/standard/dns.c:276: error: 'T_A'
undeclared (first use in this function)
/Applications/php-5.1.4/ext/standard/dns.c:297: error: 'C_IN'
undeclared (first use in this function)
/Applications/php-5.1.4/ext/standard/dns.c: In function
'zif_dns_get_mx':
/Applications/php-5.1.4/ext/standard/dns.c:854: error: 'HEADER'
undeclared (first use in this function)
/Applications/php-5.1.4/ext/standard/dns.c:854: error: 'hp'
undeclared (first use in this function)
/Applications/php-5.1.4/ext/standard/dns.c:883: error: 'C_IN'
undeclared (first use in this function)
/Applications/php-5.1.4/ext/standard/dns.c:890: error: parse error
before ')' token
/Applications/php-5.1.4/ext/standard/dns.c:891: error: 'HFIXEDSZ'
undeclared (first use in this function)
/Applications/php-5.1.4/ext/standard/dns.c:893: error: 'QFIXEDSZ'
undeclared (first use in this function)
make: *** [ext/standard/dns.lo] Error 1
By the way, this is my 4th days playing with that. Hard to not think
DOS!
More information about the freebsd-ports
mailing list