RE: [PHP-INST] Compiling PHP on FreeBSD
| From: | Jonathan Hilgeman | Date: | Tue, 15 Jan 2002 15:45:29 +0000 |
| Subject: | RE: [PHP-INST] Compiling PHP on FreeBSD | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5579@lists.php.net to get a copy of this message | ||
Are you using the port or the source code? If you're trying to compile the
source, just use the ports instead. It's faster and more manageable. Just
update your ports if it doesn't offer php 4.1.1
- Jonathan
-----Original Message-----
From: Peter Bowyer [mailto:reywob@f2s.com]
Sent: Saturday, January 12, 2002 1:02 AM
To: php-install@lists.php.net
Subject: [PHP-INST] Compiling PHP on FreeBSD
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: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net