php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26466 Looking for files in the home directory of unheardof user
Submitted: 2003-11-29 12:31 UTC Modified: 2003-11-30 09:54 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: te0 at playrpg dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.4 OS: Mac OS X
Private report: No CVE-ID: None
 [2003-11-29 12:31 UTC] te0 at playrpg dot com
Description:
------------
When compiling (make after ./configure) using OS 10.2, Apache2 i get:


gcc: /Users/afaby/Projects/Apache2/httpd-2.0.44/srclib/apr-util-lexpat: No such file or directory (i don't have a user called afaby)

afaby is NOT a user on my system, and it appears that there is a bug in the make script which is getting the absolute path to the files instead of the relative path

Reproduce code:
---------------
Use --with-expat-dir=/Library/Apache2 when ./configuring php4.3.4 and make.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-29 12:44 UTC] te0 at playrpg dot com
It seems you don't have to use --with-expat-dir for this to happen. It happens without specifying that.
 [2003-11-29 19:50 UTC] alan_k@php.net
i suspect this is a problem with your apache2 libs not reporting the correct folder

check the outputs of 
apxs -q CFLAGS
apr-config --includes
apu-config --includes

is incorrect - probably a bug with the Apache2 dev package on OSX

(have a look at sapi/apache2handler/config.m4 to get an idea of what happens)

 [2003-11-29 20:14 UTC] te0 at playrpg dot com
That was the problem.

apu-config gave me the bad directory.
 [2003-11-30 09:54 UTC] alan_k@php.net
changing status to keep bug db clean.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 20:01:32 2025 UTC