ID: 30160 User updated by: tessarek at evermeet dot cx Reported By: tessarek at evermeet dot cx -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: AIX 5.x PHP Version: 5CVS-2005-03-08 New Comment:
Tried the latest snapshot on AIX 5.3 with ./configure --disable-all --with-apxs2=/opt/apache/bin/apxs Same problem: Build complete. (It is safe to ignore warnings about tempnam and tmpnam). vulcan14:[root] /ext/php5-200503221330> make install Installing PHP SAPI module: apache2handler /opt/apache/build/instdso.sh SH_LIBTOOL='/opt/apache/build/libtool' libphp5.la /opt/apache/modules rm -f /opt/apache/modules/libphp5.so /opt/apache/build/libtool --mode=install cp libphp5.la /opt/apache/modules/ cp .libs/libphp5.a /opt/apache/modules/libphp5.a cp .libs/libphp5.lai /opt/apache/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /ext/php5-200503221330/libs' chmod 755 /opt/apache/modules/libphp5.so chmod: /opt/apache/modules/libphp5.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . make: 1254-004 The error code from the last command is 1. Stop. Previous Comments: ------------------------------------------------------------------------ [2005-03-21 11:11:27] [EMAIL PROTECTED] Please try this configure line using the latest snapshot: ./configure --disable-all --with-apxs2=/opt/apache/bin/apxs ------------------------------------------------------------------------ [2005-03-09 15:08:22] tessarek at evermeet dot cx Very interesting. PHP4 does not install either: vulcan14:[root] /ext/php4-STABLE-200503091130> make install Installing PHP SAPI module: apache2filter /opt/apache/build/instdso.sh SH_LIBTOOL='/opt/apache/build/libtool' libphp4.la /opt/apache/modules rm -f /opt/apache/modules/libphp4.so /opt/apache/build/libtool --mode=install cp libphp4.la /opt/apache/modules/ cp .libs/libphp4.a /opt/apache/modules/libphp4.a cp .libs/libphp4.lai /opt/apache/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /ext/php4-STABLE-200503091130/libs' chmod 755 /opt/apache/modules/libphp4.so chmod: /opt/apache/modules/libphp4.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . make: 1254-004 The error code from the last command is 1. Stop. I think I can remember that there was a time when PHP4.x installed without problems on AIX. You said that the Apache2 instdso.sh script could be responsible for the error. I was able to compile and install Apache2 without problems on AIX and I'm pretty sure that the Apache install uses the instdso.sh script aswell. The point is that the .so module is in the .libs directory and I can move or copy it manually into the Apache modules directory but that solves the problem only partially. The binary and the pear stuff are not installed in the target directory, if the 'make install' stops where it actually does. ------------------------------------------------------------------------ [2005-03-09 01:02:55] [EMAIL PROTECTED] IIRC, this was actually caused by the Apache2 instdso.sh script. But I'm not sure and can't check it right now. Does the latest PHP 4 snapshots work for you on AIX? ------------------------------------------------------------------------ [2005-03-08 15:52:46] tessarek at evermeet dot cx It works on Fedora Core 3 with gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3). No problems with make install: Build complete. (It is safe to ignore warnings about tempnam and tmpnam). [EMAIL PROTECTED] php5-200503081130]$ make install Installing PHP SAPI module: apache2filter /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/bin/sh /usr/lib/apr/build/libtool' libphp5.la /usr/lib/httpd/modules /bin/sh /usr/lib/apr/build/libtool --mode=install cp libphp5.la /usr/lib/httpd/modules/ cp .libs/libphp5.so /usr/lib/httpd/modules/libphp5.so cp .libs/libphp5.lai /usr/lib/httpd/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /ext/php5-200503081130/libs' chmod 755 /usr/lib/httpd/modules/libphp5.so [activating module `php5' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary: /opt/php5/bin/ Installing PHP CLI man page: /opt/php5/man/man1/ Installing PEAR environment: /opt/php5/lib/php/ [PEAR] Archive_Tar: 'xml' PHP extension is not installed [PEAR] Console_Getopt: 'xml' PHP extension is not installed [PEAR] PEAR: 'xml' PHP extension is not installed [PEAR] XML_RPC: 'xml' PHP extension is not installed Installing build environment: /opt/php5/lib/php/build/ Installing header files: /opt/php5/include/php/ Installing helper programs: /opt/php5/bin/ program: phpize program: php-config program: phpextdist As you can see under Linux the .so and the .lai files are copied but under AIX the .a and the .lai. So if the script is changed so that under AIX the .so file is copied, everything should be alright. ------------------------------------------------------------------------ [2005-03-08 15:17:43] tessarek at evermeet dot cx I've tried the latest snapshot on AIX 5.3 ML1 with gcc 3.3.2. The problem still persists: Build complete. (It is safe to ignore warnings about tempnam and tmpnam). vulcan14:[root] /ext/php5-200503081130> make install Installing PHP SAPI module: apache2filter /opt/apache/build/instdso.sh SH_LIBTOOL='/opt/apache/build/libtool' libphp5.la /opt/apache/modules rm -f /opt/apache/modules/libphp5.so /opt/apache/build/libtool --mode=install cp libphp5.la /opt/apache/modules/ cp .libs/libphp5.a /opt/apache/modules/libphp5.a cp .libs/libphp5.lai /opt/apache/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /ext/php5-200503081130/libs' chmod 755 /opt/apache/modules/libphp5.so chmod: /opt/apache/modules/libphp5.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . make: 1254-004 The error code from the last command is 1. Stop. I do have the Linux toolbox on AIX installed, but grep is used from the AIX commands. I will have to check, if I can find a GNU grep for AIX. But I don't really think that the grep command is responsible for the error. I don't have any Redhat Linux servers anymore - but I will try to install the latest snapshot on a Fedora Core 3 system. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30160 -- Edit this bug report at http://bugs.php.net/?id=30160&edit=1