|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-15 17:57 UTC] sas at cvs dot php dot net
[2000-06-09 11:54 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jul 03 04:00:02 2026 UTC |
Sorry in advance if this is not a bug but my stupidity. I'm trying to compile PHP4.0b3 on my Mac OS X Server box as an Apache DSO: ./configure --with-mysql=/usr/local/mysql --with-apxs --with-config-file-path=/Local/Library/WebServer/Confguration When I run make, I get the following error: make make all-recursive Making all in libzend Making all in ext Making all in apache /bin/sh ../../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../.. -I../../libzend -I/Local/Library/Frameworks/Apache.framework/Versions/1.3/Headers -I/usr/local/mysql/include/mysql -traditional-cpp -g -O2 -g -O2 -c -o apache.lo apache.c In file included from ../../php.h:179, from apache.c:22: /Local/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:427: warning: `HAVE_MMAP' redefined ../../php_config.h:414: warning: this is the location of the previous definition /Local/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:434: warning: `HAVE_SNPRINTF' redefined ../../php_config.h:447: warning: this is the location of the previous definition In file included from apache.c:22: ../../php.h:232: parse error make[3]: *** [apache.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 I get the same error message: "warning: `HAVE_SNPRINTF' redefined" repeatedly when I configure and make PHP-3.0.12 with the same parameters, but PHP3 makes and installs successfully. I stupidly deleted the beta 2 source, so I don't know if it would install correctly, though I previously had compiled it successfully as a static module.