Hi,

I'm trying to compile PHP 4.1.1 on FreeBSD but keep on getting the
following error:


% make
Making all in Zend
Making all in main
Making all in ext
Making all in mysql
Making all in libmysql
Making all in pcre
Making all in pcrelib
Making all in posix
Making all in session
Making all in standard
/bin/sh /usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/libtool
--silent --mode=compile gcc  -I.
-I/usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/ext/standard
-I/usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/main
-I/usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1
-I/usr/local/apache/1.2.6/include
-I/usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/Zend
-I/usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/ext/mysql/libmysql
-I/usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/ext/xml/expat
-DSTATUS -DVSERV -DISERVER -DSTANDALONE -DFRONTPAGE
-I/usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/TSRM -g -O2
-prefer-pic  -c dns.c
dns.c: In function `zif_checkdnsrr':
dns.c:199: `T_MX' undeclared (first use in this function)
dns.c:199: (Each undeclared identifier is reported only once
dns.c:199: for each function it appears in.)
dns.c:208: `T_A' undeclared (first use in this function)
dns.c:209: `T_NS' undeclared (first use in this function)
dns.c:211: `T_PTR' undeclared (first use in this function)
dns.c:212: `T_ANY' undeclared (first use in this function)
dns.c:213: `T_SOA' undeclared (first use in this function)
dns.c:214: `T_CNAME' undeclared (first use in this function)
dns.c:223: `C_IN' undeclared (first use in this function)
dns.c: In function `zif_getmxrr':
dns.c:253: `HEADER' undeclared (first use in this function)
dns.c:253: `hp' undeclared (first use in this function)
dns.c:254: syntax error before `*'
dns.c:284: `i' undeclared (first use in this function)
dns.c:284: `C_IN' undeclared (first use in this function)
dns.c:284: `T_MX' undeclared (first use in this function)
dns.c:289: syntax error before `)'
dns.c:290: `cp' undeclared (first use in this function)
dns.c:291: `end' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/ext/standard.
*** Error code 1

Stop in /usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/ext/standard.
*** Error code 1

Stop in /usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1/ext.
*** Error code 1

Stop in /usr/home/azorpro/usr/local/etc/httpd/peter/php-4.1.1.



Can anyone help?  This is my first attempt at compiling, so it's probably a 
silly error :-)

Thanks,
Peter.

--oOo--
Narrow Gauge on the web - photos, directory and forums!
http://www.narrow-gauge.co.uk
--oOo--
Peter's web page - Scottish narrow gauge in 009
http://members.aol.com/reywob/
--oOo--


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to