php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40839 Mac OS X compile error
Submitted: 2007-03-16 18:07 UTC Modified: 2007-03-16 19:39 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: genetiq at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.1 OS: Mac OS X 10.4.9
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: genetiq at gmail dot com
New email:
PHP Version: OS:

 

 [2007-03-16 18:07 UTC] genetiq at gmail dot com
Description:
------------
Cannot compile with apache 2.2.1 - problem in function 
php_ap2_register_hook

actually, before compiler stops with the described error, it issued 
about 700 string of diferent error messages.

Actual result:
--------------
/etc/src/php52dev/sapi/apache2handler/sapi_apache2.c: In function 
'php_ap2_register_hook':
/etc/src/php52dev/sapi/apache2handler/sapi_apache2.c:656: error: 
'APR_HOOK_MIDDLE' undeclared (first use in this function)
make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-16 18:21 UTC] genetiq at gmail dot com
the problem exists in both official 5.2.1 release and recent 5.2dev CVS 
snapshot.
 [2007-03-16 19:39 UTC] tony2001@php.net
This constant is defined in Apache headers.
If it's not defined, that's not PHP issue.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon May 18 18:00:01 2026 UTC