Date: Mon, 5 Jun 2006 21:14:34 -0600 From: MXS <mxsweb@gmail.com> To: freebsd-ports@freebsd.org Subject: Can't get php5 to build on machines that have php4 or have had php4 Message-ID: <D825EC9D-E99E-4C06-9B2F-26FF37ED5F16@gmail.com>
next in thread | raw e-mail | index | archive | help
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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D825EC9D-E99E-4C06-9B2F-26FF37ED5F16>