#30160 [Opn]: Installing PHP SAPI module fails
| From: | tessarek at evermeet dot cx | Date: | Tue, 08 Mar 2005 14:52:48 +0000 |
| Subject: | #30160 [Opn]: Installing PHP SAPI module fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75118@lists.php.net to get a copy of this message | ||
ID: 30160
User updated by: tessarek at evermeet dot cx
Reported By: tessarek at evermeet dot cx
Status: Open
Bug Type: Compile Failure
Operating System: AIX 5.x and Redhat Linux 8.0 / 9
PHP Version: 5.0.0
New Comment:
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).
[root@db2dev 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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2005-03-07 22:12:42] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
I can _NOT_ reproduce this on any of those systems you have.
Please test the snapshot and if it does not work:
Tell us your gcc version used in every system.
(and do you have GNU grep on your AIX system?)
------------------------------------------------------------------------
[2005-02-04 17:10:46] tessarek at evermeet dot cx
Just tested it with the latest snapshot.
Unfortunately I get the same error message as before.
------------------------------------------------------------------------
[2005-02-04 16:07:36] tessarek at evermeet dot cx
Sorry, I had no time to try the latest snapshot. I will provide the
information within the next couple of hours.
------------------------------------------------------------------------
[2005-01-26 04:39:14] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Also check that your grep is working (install GNU grep!)
------------------------------------------------------------------------
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