ID:               39932
 User updated by:  memotype at gmail dot com
 Reported By:      memotype at gmail dot com
 Status:           Open
 Bug Type:         *Compile Issues
 Operating System: AIX 5.2
 PHP Version:      5.2.0
 New Comment:

ohh yeah, incase it isn't clear, the compile succeeds without errors.
the apache module is built and everything, it simply doesn't produce
the executables. Very odd.


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

[2006-12-22 15:27:27] memotype at gmail dot com

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 this bug report at http://bugs.php.net/?id=39932&edit=1

Reply via email to