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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 16:01:29 2024 UTC