php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14765 Compile Failure
Submitted: 2001-12-30 05:50 UTC Modified: 2002-03-03 02:12 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: websurat at hotmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.0 OS: FreeBSD 4.4
Private report: No CVE-ID: None
 [2001-12-30 05:50 UTC] websurat at hotmail dot com
I can not compile apache 1.3.19 with PHP(DSO) . ?Help me !
I use command "./configure --with-apxs=/home/httpd/bin/apxs --enable-versioning --with-mysql --enable-track-vars" .

and "make" result is "
/bin/sh /usr/home/httpd/src/php-4.1.0/libtool --silent --mode=compile gcc  -I. -I/usr/home/httpd/src/php-4.1.0/sapi/apache -I/usr/home/httpd/src/php-4.1.0/main -I/usr/home/httpd/src/php-4.1.0 -I/usr/home/httpd/include -I/usr/home/httpd/src/php-4.1.0/Zend -I/usr/home/httpd/src/php-4.1.0/ext/mysql/libmysql -I/usr/home/httpd/src/php-4.1.0/ext/xml/expat  -DLINUX=22 -DMOD_SSL=208103 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/usr/home/httpd/src/php-4.1.0/TSRM -g -O2 -prefer-pic  -c sapi_apache.c
In file included from /usr/home/httpd/include/httpd.h:72,
                 from sapi_apache.c:32:
/usr/home/httpd/include/ap_config.h:490: features.h: No such file or directory
In file included from /usr/home/httpd/include/httpd.h:72,
                 from sapi_apache.c:32:
/usr/home/httpd/include/ap_config.h:1338: warning: `XtOffsetOf' redefined
/usr/home/httpd/src/php-4.1.0/main/php.h:342: warning: this is the location of the previous definition
*** Error code 1

Stop in /usr/home/httpd/src/php-4.1.0/sapi/apache.
*** Error code 1

Stop in /usr/home/httpd/src/php-4.1.0/sapi/apache.
*** Error code 1

Stop in /usr/home/httpd/src/php-4.1.0/sapi.
*** Error code 1

Stop in /usr/home/httpd/src/php-4.1.0.

"

?Help me !  Thank you.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-27 11:13 UTC] jef at webcompagnie dot be
I'm experiencing the same problem on a Cobalt raQ (Linux Redhat) with 4.1.1 I can install php as a static module without any problem. I use Apache 1.3.19. 

It even happens with ./configure --with-apxs

Jef
 [2002-03-03 02:12 UTC] kalowsky@php.net
build works fine on PHP 4.1.2 release on FreeBSD 4.5

It sounds like your Apache install isn't all there.  
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 14:01:28 2025 UTC