php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2815 Can't Compile as DSO on MacOS X Server
Submitted: 1999-11-24 02:50 UTC Modified: 2000-06-09 11:54 UTC
From: cleland at flaweddiamond dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 3 OS: MacOS X Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cleland at flaweddiamond dot com
New email:
PHP Version: OS:

 

 [1999-11-24 02:50 UTC] cleland at flaweddiamond dot com
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-15 17:57 UTC] sas at cvs dot php dot net
Does it work with a more recent version of PHP 4?
 [2000-06-09 11:54 UTC] stas at cvs dot php dot net
no user feedback
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Jul 03 04:00:02 2026 UTC