ID:               28558
 User updated by:  j dot j dot d dot e dot lammerts at vanlanschot dot
                   com
 Reported By:      j dot j dot d dot e dot lammerts at vanlanschot dot
                   com
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: AIX 5.1 ML4
 PHP Version:      4.3.6
 New Comment:

You are correct IHS 2.0.47 is Apache 2.0.47.

When I try configuring with --with-apxs2 I get :

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS...
no
checking for Apache 2.0 handler-module support via DSO through APXS...
expr: non-numeric a
rgument
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Plea
se use the appropiate switch --with-apxs (without the 2)

Somehow the configurescript seems to think that I'm using 1.3, which
I'm not.....


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

[2004-05-28 16:10:35] [EMAIL PROTECTED]

 IBM HTTPServer 2.0.47 sounds like Apache 2 not Apache 1 
which is what you are compiling php sapi for. Try using 
--with-apxs2 

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

[2004-05-28 16:00:13] j dot j dot d dot e dot lammerts at vanlanschot
dot com

Description:
------------
Hi,

Trying to compile PHP against IBM HTTPServer 2.0.47 I get an error
compiling sapi_apache.c :

        /bin/sh /home/USTJLA/php4-STABLE-200405180830/libtool --silent
--preserve-dup-deps
 --mode=compile gcc  -I/usr/IBMIHS/include -Isapi/apache/
-I/home/USTJLA/php4-STABLE-20040
5180830/sapi/apache/ -DPHP_ATOM_INC
-I/home/USTJLA/php4-STABLE-200405180830/include -I/hom
e/USTJLA/php4-STABLE-200405180830/main
-I/home/USTJLA/php4-STABLE-200405180830 -I/home/UST
JLA/php4-STABLE-200405180830/Zend -I/usr/local/include
-I/usr/opt/mysql/include -I/home/US
TJLA/php4-STABLE-200405180830/ext/xml/expat 
-I/home/USTJLA/php4-STABLE-200405180830/TSRM 
 -g -O2  -prefer-pic -c
/home/USTJLA/php4-STABLE-200405180830/sapi/apache/sapi_apache.c -o
 sapi/apache/sapi_apache.lo 
/home/USTJLA/php4-STABLE-200405180830/sapi/apache/sapi_apache.c: In
function `apache_php_m
odule_main':
/home/USTJLA/php4-STABLE-200405180830/sapi/apache/sapi_apache.c:45:
`NOT_FOUND' undeclared
 (first use in this function)
/home/USTJLA/php4-STABLE-200405180830/sapi/apache/sapi_apache.c:45:
(Each undeclared ident
ifier is reported only once
/home/USTJLA/php4-STABLE-200405180830/sapi/apache/sapi_apache.c:45: for
each function it a
ppears in.)
make: 1254-004 The error code from the last command is 1.


Does this ring a bell, somewhere ?

Thanks



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


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

Reply via email to