php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22024 make fails when looking for httpd/srclib/apr-util-lexpat?
Submitted: 2003-02-02 19:45 UTC Modified: 2003-02-03 06:43 UTC
From: thecat at merciless dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.0 OS: Mac OSX 10.2.3
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: thecat at merciless dot net
New email:
PHP Version: OS:

 

 [2003-02-02 19:45 UTC] thecat at merciless dot net
my configure:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/apps/mysql4 --with-xml --with-gettext--with-dom --with-gd --with-imagemagick --with-freetype --with-jpeg-dir=/sw --with-png-dir=/sw --with-zlib-dir=/sw --with-tiff-dir=/sw

obviously i have fink installed too.

configure works and then make fails with these notes right at the end, i think (sorry for the long blurb :):
....
gcc  -Isapi/apache2filter/ -I/Users/spiggy/Desktop/php4/sapi/apache2filter/ -DPHP_ATOM_INC -I/Users/spiggy/Desktop/php4/include -I/Users/spiggy/Desktop/php4/main -I/Users/spiggy/Desktop/php4 -I/usr/local/apache2/include -I/Users/spiggy/Desktop/php4/Zend -I/sw/include -I/apps/mysql4/include/mysql -I/Users/spiggy/Desktop/php4/ext/xml/expat  -no-cpp-precomp -no-cpp-precomp -I/Users/spiggy/Desktop/php4/TSRM  -g -O2  -c /Users/spiggy/Desktop/php4/sapi/apache2filter/apache_config.c -o sapi/apache2filter/apache_config.o  && echo > sapi/apache2filter/apache_config.lo
gcc  -Isapi/apache2filter/ -I/Users/spiggy/Desktop/php4/sapi/apache2filter/ -DPHP_ATOM_INC -I/Users/spiggy/Desktop/php4/include -I/Users/spiggy/Desktop/php4/main -I/Users/spiggy/Desktop/php4 -I/usr/local/apache2/include -I/Users/spiggy/Desktop/php4/Zend -I/sw/include -I/apps/mysql4/include/mysql -I/Users/spiggy/Desktop/php4/ext/xml/expat  -no-cpp-precomp -no-cpp-precomp -I/Users/spiggy/Desktop/php4/TSRM  -g -O2  -c /Users/spiggy/Desktop/php4/sapi/apache2filter/php_functions.c -o sapi/apache2filter/php_functions.o  && echo > sapi/apache2filter/php_functions.lo
gcc  -Imain/ -I/Users/spiggy/Desktop/php4/main/ -DPHP_ATOM_INC -I/Users/spiggy/Desktop/php4/include -I/Users/spiggy/Desktop/php4/main -I/Users/spiggy/Desktop/php4 -I/usr/local/apache2/include -I/Users/spiggy/Desktop/php4/Zend -I/sw/include -I/apps/mysql4/include/mysql -I/Users/spiggy/Desktop/php4/ext/xml/expat  -no-cpp-precomp -no-cpp-precomp -I/Users/spiggy/Desktop/php4/TSRM  -g -O2  -c main/internal_functions.c -o main/internal_functions.o  && echo > main/internal_functions.lo
gcc -bundle -bundle_loader /usr/local/apache2/bin/httpd -L/Users/spiggy/Desktop/httpd/srclib/apr-util/usr/local/apache2/lib -L/usr/local/apache2/lib -laprutil-0 /Users/spiggy/Desktop/httpd/srclib/apr-util-lexpat -L/usr/local/apache2/lib -lapr-0 -lm -g -O2   -L/sw/lib -L/apps/mysql4/lib/mysql ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o ext/ctype/ctype.o ext/gd/gd.o ext/gd/gdttf.o ext/gd/libgd/gd.o ext/gd/libgd/gd_gd.o ext/gd/libgd/gd_gd2.o ext/gd/libgd/gd_io.o ext/gd/libgd/gd_io_dp.o ext/gd/libgd/gd_io_file.o ext/gd/libgd/gd_ss.o ext/gd/libgd/gd_io_ss.o ext/gd/libgd/gd_png.o ext/gd/libgd/gd_jpeg.o ext/gd/libgd/gdxpm.o ext/gd/libgd/gdfontt.o ext/gd/libgd/gdfonts.o ext/gd/libgd/gdfontmb.o ext/gd/libgd/gdfontl.o ext/gd/libgd/gdfontg.o ext/gd/libgd/gdtables.o ext/gd/libgd/gdft.o ext/gd/libgd/gdcache.o ext/gd/libgd/gdkanji.o ext/gd/libgd/wbmp.o ext/gd/libgd/gd_wbmp.o ext/gd/libgd/gdhelpers.o ext/gd/libgd/gd_topal.o ext/gd/libgd/gd_gif_in.o ext/mysql/php_mysql.o ext/overload/overload.o ext/pcre/pcrelib/maketables.o ext/pcre/pcrelib/get.o ext/pcre/pcrelib/study.o ext/pcre/pcrelib/pcre.o ext/pcre/php_pcre.o ext/posix/posix.o ext/session/session.o ext/session/mod_files.o ext/session/mod_mm.o ext/session/mod_user.o ext/standard/array.o ext/standard/base64.o ext/standard/basic_functions.o ext/standard/browscap.o ext/standard/crc32.o ext/standard/crypt.o ext/standard/cyr_convert.o ext/standard/datetime.o ext/standard/dir.o ext/standard/dl.o ext/standard/dns.o ext/standard/exec.o ext/standard/file.o ext/standard/filestat.o ext/standard/flock_compat.o ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o ext/standard/html.o ext/standard/image.o ext/standard/info.o ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o ext/standard/mail.o ext/standard/math.o ext/standard/md5.o ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o ext/standard/pageinfo.o ext/standard/parsedate.o ext/standard/quot_print.o ext/standard/rand.o ext/standard/reg.o ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o ext/standard/url.o ext/standard/url_scanner.o ext/standard/var.o ext/standard/versioning.o ext/standard/assert.o ext/standard/strnatcmp.o ext/standard/levenshtein.o ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o ext/standard/php_fopen_wrapper.o ext/standard/credits.o ext/standard/css.o ext/standard/var_unserializer.o ext/standard/ftok.o ext/standard/aggregation.o ext/standard/sha1.o ext/tokenizer/tokenizer.o ext/xml/xml.o ext/xml/expat/xmlparse.o ext/xml/expat/xmlrole.o ext/xml/expat/xmltok.o regex/regcomp.o regex/regexec.o regex/regerror.o regex/regfree.o TSRM/TSRM.o TSRM/tsrm_strtok_r.o TSRM/tsrm_virtual_cwd.o main/main.o main/snprintf.o main/spprintf.o main/php_sprintf.o main/safe_mode.o main/fopen_wrappers.o main/alloca.o main/php_ini.o main/SAPI.o main/rfc1867.o main/php_content_types.o main/strlcpy.o main/strlcat.o main/mergesort.o main/reentrancy.o main/php_variables.o main/php_ticks.o main/streams.o main/network.o main/php_open_temporary_file.o main/php_logos.o main/output.o main/memory_streams.o main/user_streams.o Zend/zend_language_parser.o Zend/zend_language_scanner.o Zend/zend_ini_parser.o Zend/zend_ini_scanner.o Zend/zend_alloc.o Zend/zend_compile.o Zend/zend_constants.o Zend/zend_dynamic_array.o Zend/zend_execute_API.o Zend/zend_highlight.o Zend/zend_llist.o Zend/zend_opcode.o Zend/zend_operators.o Zend/zend_ptr_stack.o Zend/zend_stack.o Zend/zend_variables.o Zend/zend.o Zend/zend_API.o Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o Zend/zend_indent.o Zend/zend_builtin_functions.o Zend/zend_sprintf.o Zend/zend_ini.o Zend/zend_qsort.o Zend/zend_multibyte.o Zend/zend_execute.o sapi/apache2filter/sapi_apache2.o sapi/apache2filter/apache_config.o sapi/apache2filter/php_functions.o main/internal_functions.o  -lmysqlclient -lpng -lz -ljpeg -lz -lm  -o libs/libphp4.bundle && cp libs/libphp4.bundle libs/libphp4.so
gcc: /Users/spiggy/Desktop/httpd/srclib/apr-util-lexpat: No such file or directory
make: *** [libs/libphp4.bundle] Error 1

it seems to be looking for something in the httpd directory which does not make much sense to me. php4 latest (2003-01-30) does the same thing.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-03 03:29 UTC] sniper@php.net
Please paste the output of these commands:

# /usr/local/apache2/bin/apr-config --ldflags --link-ld --libs

# /usr/local/apache2/bin/apu-config --ldflags --link-ld --libs



 [2003-02-03 06:41 UTC] thecat at merciless dot net
/usr/local/apache2/bin/apr-config --ldflags --link-ld --libs
output:
  -L/usr/local/apache2/lib -lapr-0 -lm 

/usr/local/apache2/bin/apu-config --ldflags --link-ld --libs
output:
 -L/Users/spiggy/Desktop/httpd/srclib/apr-util/usr/local/apache2/lib -L/usr/local/apache2/lib -laprutil-0 /Users/spiggy/Desktop/httpd/srclib/apr-util-lexpat
 [2003-02-03 06:43 UTC] sniper@php.net
As you can see, it's obviously a problem with your Apache2 installation. Not PHP bug -> bogus.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Feb 14 23:00:01 2026 UTC