From:             talltony at breakthru dot com
Operating system: AIX 5.3
PHP version:      5.2.6
PHP Bug Type:     Compile Failure
Bug description:  "configure" script fails with aspx2

Description:
------------
I'm trying to compile PHP 5.2.6 on AIX 5.3 with IBM HTTP Server (which is
basically Apache/2.0.47).

When I run the supplied configure script as follows, I get the error
below:
> ./configure --with-apxs2=/usr/ihs/bin/apxs
.
.
.
with_apxs2=/usr/ihs/bin/apxs
withval=/usr/ihs/bin/apxs
x_includes=NONE
x_libraries=NONE
expr: syntax error
configure: error: You have enabled Apache 2 support while your server is
Apache 1.3.  Please use the appropiate switch --with-apxs (without the 2)

Basically, there seems to be a error in line 6707 where the script tries
this:
APACHE_VERSION=`expr $4 \* 1000000 + $5 \* 1000 + $6`
($4, $5 and $6 have no values.)

I have tried using autoconfig to generate a new configuration file and
which seems to work. However, when I try ' buildconf --force' it fails so
I'm not comfortable using my version of configure in case buldconf performs
any other magic.


-- 
Edit bug report at http://bugs.php.net/?id=45243&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45243&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45243&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45243&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45243&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45243&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45243&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45243&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45243&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45243&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45243&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45243&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45243&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45243&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45243&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45243&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45243&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45243&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45243&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45243&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45243&r=mysqlcfg

Reply via email to