ID: 39932 User updated by: memotype at gmail dot com Reported By: memotype at gmail dot com -Status: Feedback +Status: Open Bug Type: *Compile Issues Operating System: AIX 5.2 PHP Version: 5.2.0 New Comment:
I have installed GCC version 4.1.1 from here: http://aixpdslib.seas.ucla.edu/packages/gcc.html and binutils version 2.17 from here: http://aixpdslib.seas.ucla.edu/packages/binutils.html ... these are the latest binaries I can find available for AIX version 5.2. This does not seem to fix the problem: the build operates identically as before. Previous Comments: ------------------------------------------------------------------------ [2006-12-22 15:37:17] [EMAIL PROTECTED] "--enable-shared --enable-static" can be safely removed. Please try to update GCC and check if it works with some modern version. ------------------------------------------------------------------------ [2006-12-22 15:34:59] memotype at gmail dot com 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. ------------------------------------------------------------------------ [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