ID:               16076
 Comment by:       critical_section at yahoo dot com
 Reported By:      eric at wynja dot com
 Status:           Closed
 Bug Type:         Apache2 related
 Operating System: linux 2.4.17
 PHP Version:      4.1.2
 New Comment:

I have the same damn error:

/usr/HTTPServer/include/os.h:82: os-inline.c: No such file or
directory
make: *** [sapi/apache/sapi_apache.lo] Error 1

This is with PHP4.3.6, with Apache 1.3.19.6.
Does 4.3.6 need Apache2? Please help.


Previous Comments:
------------------------------------------------------------------------

[2002-04-06 11:11:30] [EMAIL PROTECTED]

You need latest CVS versions of both Apache2 and PHP.


------------------------------------------------------------------------

[2002-03-14 13:08:09] eric at wynja dot com

Addendum: tried the latest latest version
http://snaps.php.net/php4-200203140900.tar.gz
to see if that might make a difference.  Different error, 
but still looks related:

/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c: 
In function `apache_php_module_main':
/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c:81: 
`NOT_FOUND' undeclared (first use in this function)
/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c:81: 
(Each undeclared identifier is reported only once
/usr/local/src/php4-200203140900/sapi/apache/sapi_apache.c:81: 
for each function it appears in.)
make: *** [sapi/apache/sapi_apache.lo] Error 1

------------------------------------------------------------------------

[2002-03-14 12:15:15] eric at wynja dot com

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

no problem

make
...
Making all in sapi
make[1]: Entering directory `/usr/local/src/php-4.1.2/sapi'
Making all in apache2filter
make[2]: Entering directory 
`/usr/local/src/php-4.1.2/sapi/apache2filter'
make[3]: Entering directory 
`/usr/local/src/php-4.1.2/sapi/apache2filter'
/bin/sh /usr/local/src/php-4.1.2/libtool --silent 
--mode=compile /usr/local/src/php-4.1.2/meta_ccld  -I. 
-I/usr/local/src/php-4.1.2/sapi/apache2filter 
-I/usr/local/src/php-4.1.2/main -I/usr/local/src/php-4.1.2 
-I/usr/local/include -I/usr/local/src/php-4.1.2/Zend 
-I/usr/local/src/php-4.1.2/ext/mysql/libmysql 
-I/usr/local/src/php-4.1.2/ext/xml/expat  -D_REENTRANT 
-I/usr/local/src/php-4.1.2/TSRM -DTHREAD=1 -O3 -march=i686 
-pthread -DZTS -prefer-pic  -c 
sapi_apache2.csapi_apache2.c: In function 
`php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards 
qualifiers from pointer target type
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:247: incompatible type for argument 4 of 
`ap_get_brigade'
sapi_apache2.c:247: too few arguments to function 
`ap_get_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/src/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/usr/local/src/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.2/sapi'
make: *** [all-recursive] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16076&edit=1

Reply via email to