php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14199 the make des not compile
Submitted: 2001-11-23 12:50 UTC Modified: 2001-11-26 12:12 UTC
From: joursain at navegalia dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: SuSE 7.2
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: joursain at navegalia dot com
New email:
PHP Version: OS:

 

 [2001-11-23 12:50 UTC] joursain at navegalia dot com
Y uso this configure:



 ./configure --with-apxs2=/usr/local/apache2/bin/apxs 

--enable-force-cgi-redirect --enable-discard-patch 

--enable-calendar --enable-FTP --with-java



and the make command gives me this error:



Making all in sapi

make[1]: Entering directory `/usr/local/php-4.0.6/sapi'

Making all in apache

make[2]: Entering directory 

`/usr/local/php-4.0.6/sapi/apache'

make[3]: Entering directory 

`/usr/local/php-4.0.6/sapi/apache'

/bin/sh /usr/local/php-4.0.6/libtool --silent 

--mode=compile gcc  -I. -I/usr/local/php-4.0.6/sapi/apache 

-I/usr/local/php-4.0.6/main -I/usr/local/php-4.0.6 

-I/usr/local/apache2/include -I/usr/local/php-4.0.6/Zend 

-I/usr/local/php-4.0.6/ext/mysql/libmysql 

-I/usr/local/php-4.0.6/ext/xml/expat/xmltok 

-I/usr/local/php-4.0.6/ext/xml/expat/xmlparse 

-I/usr/local/php-4.0.6/TSRM  -DSUPPORT_UTF8 

-DXML_BYTE_ORDER=12 -g -O2  -c sapi_apache.c



If i do not use apxs2 all run and make, but i have not the 

.so archive



Y use  Apache 2.0.16 Beta


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-23 12:54 UTC] mfischer@php.net
Bogus dup of #14188.
 [2001-11-23 12:58 UTC] hholzgra@php.net
no, he used --with-apxs this time

but i just can't see an error message ... ?
 [2001-11-23 13:06 UTC] mfischer@php.net
joursain, can you try with latest RC and see if it works?

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz

Feedback.

 [2001-11-23 13:16 UTC] joursain at navegalia dot com
I made the configure so, 
./configure --with-apxs2=/usr/local/apache2/bin/apxs 

--enable-force-cgi-redirect --enable-discard-patch 

--enable-calendar --enable-FTP --with-java

With apxs2, and if module sapi choosen is different than CGI (that appears during the config process), the make crashes with nother sapi as apache2filter, the make doesn?t compile


 [2001-11-23 13:30 UTC] mfischer@php.net
and this happened with which PHP version exactly now? did you try latest RC from http://www.php.net/~zeev/php-4.1.0RC3.tar.gz ?

And, what is the error you get? You pasted lots of lines but there was _NO ERROR_ message.

Also, do *NOT* break the lines to fit into the window. Paste them as they are. If your terminal restricts try redirecting the error messages to a file with 

  make 2>&1 | tee make_errors.txt

and copy & paste _THE RELEVANT_ parts of the error message.

Feedback.
 [2001-11-23 13:30 UTC] mfischer@php.net
Simon sez Feedback.
 [2001-11-23 14:08 UTC] derick@php.net
You really want to try the latest beta too, 2.0.28 if I'm not mistaken.

Derick
 [2001-11-23 14:22 UTC] joursain at navegalia dot com
The make makes me the same error.. :-((


make[1]: Entering directory `/usr/local/php-4.1.0RC3/sapi'
Making all in apache2filter
make[2]: Entering directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
make[3]: Entering directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
/bin/sh /usr/local/php-4.1.0RC3/libtool --silent 
--mode=compile /usr/local/php-4.1.0RC3/meta_ccld  -I. 
-I/usr/local/php-4.1.0RC3/sapi/apache2filter 
-I/usr/local/php-4.1.0RC3/main -I/usr/local/php-4.1.0RC3 
-I/usr/local/apache2/include 
-I/usr/local/php-4.1.0RC3/Zend 
-I/usr/local/php-4.1.0RC3/ext/mysql/libmysql 
-I/usr/local/php-4.1.0RC3/ext/xml/expat  -D_REENTRANT 
-I/usr/local/php-4.1.0RC3/TSRM -DTHREAD=1 -g -O2 -pthread 
-DZTS -prefer-pic
 -c sapi_apache2.c
In file included from 
/usr/local/apache2/include/apr_buckets.h:61,
                 from 
/usr/local/apache2/include/util_filter.h:59,
                 from sapi_apache2.c:33:
/usr/local/apache2/include/apr_general.h:115: warning: 
`XtOffsetOf' redefined
/usr/local/php-4.1.0RC3/main/php.h:342: warning: this is 
the location of the previous definition
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:247: too many arguments to function 
`ap_get_brigade'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:330: too many arguments to function 
`ap_save_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:408: warning: passing arg 2 of 
`ap_register_input_filter' from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.1.0RC3/sapi'
make: *** [all-recursive] Error 1

 [2001-11-23 14:41 UTC] jmoore@php.net
Confilicting Apache and Apache 2 header files??
 [2001-11-23 14:59 UTC] joursain at navegalia dot com
I have use the last version 4.1.0RC3 and teh result is the 
same, 


Making all in sapi
make[1]: Entering directory `/usr/local/php-4.1.0RC3/sapi'
Making all in apache2filter
make[2]: Entering directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
make[3]: Entering directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
/bin/sh /usr/local/php-4.1.0RC3/libtool --silent 
--mode=compile /usr/local/php-4.1.0RC3/meta_ccld  -I. 
-I/usr/local/php-4.1.0RC3/sapi/apache2filter 
-I/usr/local/php-4.1.0RC3/main -I/usr/local/php-4.1.0RC3 
-I/usr/local/apache2/include 
-I/usr/local/php-4.1.0RC3/Zend 
-I/usr/local/php-4.1.0RC3/ext/mysql/libmysql 
-I/usr/local/php-4.1.0RC3/ext/xml/expat  -D_REENTRANT 
-I/usr/local/php-4.1.0RC3/TSRM -DTHREAD=1 -g -O2 -pthread 
-DZTS -prefer-pic
 -c sapi_apache2.c
In file included from 
/usr/local/apache2/include/apr_buckets.h:61,
                 from 
/usr/local/apache2/include/util_filter.h:59,
                 from sapi_apache2.c:33:
/usr/local/apache2/include/apr_general.h:115: warning: 
`XtOffsetOf' redefined
/usr/local/php-4.1.0RC3/main/php.h:342: warning: this is 
the location of the previous definition
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:247: too many arguments to function 
`ap_get_brigade'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:330: too many arguments to function 
`ap_save_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:408: warning: passing arg 2 of 
`ap_register_input_filter' from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/usr/local/php-4.1.0RC3/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.1.0RC3/sapi'
make: *** [all-recursive] Error 1


Well, there is not an error, but i can not found the 
libphp4.so and the php does not compile me.

Well, we see us tmoorrow , is Spain is the hour of the 
dinner :-DD


 [2001-11-23 15:08 UTC] joursain at navegalia dot com
I am using the Apache 2.0.16 version, do sou want i use the 2.0.28?
Well i do so.

 [2001-11-24 18:08 UTC] sniper@php.net
Ask further support questions on the mailing lists:

http://www.php.net/support.php

This is NOT bug.

 [2001-11-26 12:12 UTC] joursain at navegalia dot com
Finally, i have with PHP4.1.0RC3 and Apache 2.0.28 compile ok and i have obtain the libphp4.so, but the php does not run, when i make a php page, appers me a windows with  Open or save, i have put the LoadModule directive and AddType
some idea? thx.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 21:01:30 2025 UTC