From:             memotype at gmail dot com
Operating system: AIX 5.2
PHP version:      5.2.0
PHP Bug Type:     *Compile Issues
Bug description:  Compilation silently fails to produce CGI executable

Description:
------------
Compiling with the --enable-cgi (which should be default anyways, right?)
does not produce a cgi executable in sapi/cgi. --enable-cli also does not
produce any executable in sapi/cli. I am running on AIX 5.2 with GCC
version 2.9

/opt # uname -a
AIX dorap1 2 5 002103CB4C00

/opt # gcc -v
Reading specs from
/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/specs
gcc version 2.9-aix51-020209

I have tried this with the latest snapshot, but it does not work either
(in fact the latest snapshot doesn't work as an apache module either, but
that's another issue...)

Reproduce code:
---------------
~/aix-web/php-5.2.0 $ cat compile.php5
./configure --with-gcc --prefix=/usr/local/php5 \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --enable-fastcgi \
  --with-config-file-path=/usr/local/apache2/conf \
  --with-gd --with-zlib-dir=/opt/freeware/lib \
  --enable-shared --enable-static --enable-cgi \
  --with-png --with-zlib --with-xml

I've tried various other similar configure lines...

Expected result:
----------------
I expected to find a file named "php" marked as executable in the sapi/cgi
subdirectory. This all works fine in Linux, I get executables, etc, but not
here in AIX.

Actual result:
--------------
No executable.

I can provide a full log of the compilation process on request.

Thanks a bunch! :)

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

Reply via email to