Hi everyone,
I'm having trouble getting php-5.1.2 to compile properly.
I'm running FBSD 4.8.
The configure part of the install goes fine, it just freaks out when I do the actual 'make'. There seems to be something php doesn't like on my machine when it comes to Zend. I've had trouble with it in the past but the last time it was apache not wanting to start due to a Zend issue. This is the first time I haven't been able to even install PHP.
Anyone have any ideas here?
Thanks!
# make
/bin/sh /usr/home/me/NewInstalls/php-5.1.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/libxml/ -I/usr/home/me/NewInstalls/php-5.1.2/ext/libxml/ -DPHP_ATOM_INC -I/usr/home/me/NewInstalls/php-
5.1.2/include -I/usr/home/me/NewInstalls/php-5.1.2/main -I/usr/home/me/NewInstalls/php-5.1.2 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/home/me/NewInstalls/php-5.1.2/ext/date/lib -I/usr/local/include/mysql -I/usr/home/me/NewInstalls/php-
5.1.2/TSRM -I/usr/home/me/NewInstalls/php-5.1.2/Zend -I/usr/local/include -g -O2 -prefer-non-pic -c /usr/home/me/NewInstalls/php-5.1.2/ext/libxml/libxml.c -o ext/libxml/libxml.lo
In file included from /usr/home/me/NewInstalls/php-
5.1.2/main/php.h:34,
from /usr/home/me/NewInstalls/php-5.1.2/ext/libxml/libxml.c:28:
/usr/home/me/NewInstalls/php-5.1.2/Zend/zend.h:53: zend_config.h: No such file or directory
In file included from /usr/home/me/NewInstalls/php-
5.1.2/Zend/zend_alloc.h:27,
from /usr/home/me/NewInstalls/php-5.1.2/Zend/zend.h:224,
from /usr/home/me/NewInstalls/php-5.1.2/main/php.h:34,
from /usr/home/me/NewInstalls/php-
5.1.2/ext/libxml/libxml.c:28:
/usr/home/me/NewInstalls/php-5.1.2/Zend/../TSRM/TSRM.h:18: tsrm_config.h: No such file or directory
In file included from /usr/home/me/NewInstalls/php-5.1.2/main/php.h:36,
from /usr/home/me/NewInstalls/php-
5.1.2/ext/libxml/libxml.c:28:
/usr/home/me/NewInstalls/php-5.1.2/main/php_compat.h:27: php_config.h: No such file or directory
In file included from /usr/home/me/NewInstalls/php-5.1.2/TSRM/tsrm_virtual_cwd.h:26,
from /usr/home/me/NewInstalls/php-5.1.2/main/php.h:402,
from /usr/home/me/NewInstalls/php-5.1.2/ext/libxml/libxml.c:28:
/usr/home/me/NewInstalls/php-5.1.2/TSRM/tsrm_config_common.h:11: tsrm_config.h: No such file or directory
In file included from /usr/include/sys/param.h:104,
from /usr/home/me/NewInstalls/php-5.1.2/TSRM/tsrm_config_common.h:12,
from /usr/home/me/NewInstalls/php-5.1.2/TSRM/tsrm_virtual_cwd.h:26,
from /usr/home/me/NewInstalls/php-5.1.2/main/php.h:402,
from /usr/home/me/NewInstalls/php-5.1.2/ext/libxml/libxml.c:28:
/usr/include/machine/limits.h:71: warning: `INT_MAX' redefined
/usr/home/me/NewInstalls/php-5.1.2/main/php.h:223: warning: this is the location of the previous definition
/usr/include/machine/limits.h:72: warning: `INT_MIN' redefined
/usr/home/me/NewInstalls/php-5.1.2/main/php.h:227: warning: this is the location of the previous definition
/usr/include/machine/limits.h:81: warning: `LONG_MAX' redefined
/usr/home/me/NewInstalls/php-5.1.2/Zend/zend.h:233: warning: this is the location of the previous definition
/usr/include/machine/limits.h:82: warning: `LONG_MIN' redefined
/usr/home/me/NewInstalls/php-5.1.2/Zend/zend.h:237: warning: this is the location of the previous definition
In file included from /usr/home/me/NewInstalls/php-5.1.2/TSRM/tsrm_config_common.h:12,
from /usr/home/me/NewInstalls/php-
5.1.2/TSRM/tsrm_virtual_cwd.h:26,
from /usr/home/me/NewInstalls/php-5.1.2/main/php.h:402,
from /usr/home/me/NewInstalls/php-5.1.2/ext/libxml/libxml.c:28:
/usr/include/sys/param.h:193: warning: `MAXPATHLEN' redefined
/usr/home/me/NewInstalls/php-5.1.2/main/php.h:252: warning: this is the location of the previous definition
*** Error code 1
Stop in /usr/home/me/NewInstalls/php-5.1.2.
--
Tim DeBoer
http://www.freebsd-geek.com
Just once, I'd like it if someone called me "Sir".
Without adding "You're creating a scene".