#26397 [Opn->Fbk]: make install fails
| From: | sniper@php.net | Date: | Mon, 01 Dec 2003 13:47:09 +0000 |
| Subject: | #26397 [Opn->Fbk]: make install fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51473@lists.php.net to get a copy of this message | ||
ID: 26397
Updated by: sniper@php.net
Reported By: tippa000 at yahoo dot com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: AIX 5.2
PHP Version: 4.3.4
New Comment:
So it works with Apache1..for the apache2 compile, what do you have in
libs/ and .libs/ directories when the 'make install' fails?
Previous Comments:
------------------------------------------------------------------------
[2003-11-25 05:48:50] tippa000 at yahoo dot com
Description:
------------
Similar situation than bug report 25058.
http://bugs.php.net/bug.php?id=25058
make install fails:
"apxs:Error: Command failed with rc=65536"
Reproduce code:
---------------
somebody@aix52> cd /testing/php-4.3.4
somebody@aix52> ./configure \
--prefix=/testing/php \
--with-apxs2=/testing/apache/bin/apxs \
--disable-all \
--disable-cli
...
...
...
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
gmake[1]: Leaving directory `/testing/php-4.3.4'
cd /testing/php-4.3.4 && gmake install
gmake[1]: Entering directory `/testing/php-4.3.4'
Installing PHP SAPI module: apache2handler
/testing/apache/build/instdso.sh
SH_LIBTOOL='/testing/apache/build/libtool' libphp4.la
/testing/apache/modules
rm -f /testing/apache/modules/libphp4.so
/testing/apache/build/libtool --mode=install cp libphp4.la
/testing/apache/modules/
cp .libs/libphp4.a /testing/apache/modules/libphp4.a
cp .libs/libphp4.lai /testing/apache/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/testing/php-4.3.4/libs'
chmod 755 /testing/apache/modules/libphp4.so
chmod: /testing/apache/modules/libphp4.so: A file or directory in the
path name does not exist.
apxs:Error: Command failed with rc=65536
.
gmake[1]: *** [install-sapi] Error 1
gmake[1]: Leaving directory `/testing/php-4.3.4'
gmake: *** [buildphp] Error 2
somebody@aix52>
somebody@aix52>
somebody@aix52> uname -a
AIX aix52 2 5 0057C30A4C00
somebody@aix52> libtool --version
ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
somebody@aix52>
somebody@aix52> /testing/apache/bin/httpd -v
Server version: Apache/2.0.48
Server built: Nov 25 2003 10:00:00
somebody@aix>
somebody@aix52> gcc -v
Reading specs from
/tools/gnu/gcc/AIX/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.1/specs
Configured with: ../configure --prefix=/tools/gnu/gcc/AIX
--enable-threads=posix --disable-shared --disable-nls
--enable-libstdcxx-v3
Thread model: aix
gcc version 3.3.1
somebody@aix52>
Expected result:
----------------
I expect this already corrected... but...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26397&edit=1