ID: 26397
User updated by: tippa000 at yahoo dot com
Reported By: tippa000 at yahoo dot com
Status: Open
Bug Type: Apache2 related
Operating System: AIX 5.2
PHP Version: 4.3.4
New Comment:
[EMAIL PROTECTED]> # And after php-4.3.4 gmake install
[EMAIL PROTECTED]> ls /testing/apache/modules/
httpd.exp mod_asis.so mod_autoindex.so mod_dir.so
mod_headers.so mod_jk2.so mod_rewrite.so
mod_userdir.so
mod_access.so mod_auth.so mod_cgi.so mod_env.so
mod_imap.so mod_log_config.so mod_setenvif.so
mod_vhost_alias.so
mod_actions.so mod_auth_anon.so mod_dav.so
mod_expires.so mod_include.so mod_mime.so
mod_speling.so
mod_alias.so mod_auth_dbm.so mod_dav_fs.so
mod_ext_filter.so mod_info.so mod_negotiation.so mod_ssl.so
[EMAIL PROTECTED]>
Previous Comments:
------------------------------------------------------------------------
[2003-12-03 07:15:14] tippa000 at yahoo dot com
Hi again,
sniper asked what is inside ".libs" and "libs" direcorires. See
below.
--------------------------
[EMAIL PROTECTED]> /testing/apache/bin/httpd -v
Server version: Apache/2.0.48
Server built: Dec 3 2003 13:00:00
[EMAIL PROTECTED]> bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
[EMAIL PROTECTED]>
...
[EMAIL PROTECTED]> ./configure \
--prefix=/testing/php \
--with-apxs2=/testing/apache/bin/apxs \
--disable-all \
--disable-cli
....
[EMAIL PROTECTED]> pwd
/testing/php-4.3.4
[EMAIL PROTECTED]> gmake install
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: *** [install-sapi] Error 1
[EMAIL PROTECTED]>
[EMAIL PROTECTED]> # The contents of ".libs/" and "libs/" were same before
gmake install
[EMAIL PROTECTED]> ls -la .libs/
total 20515
drwxrwxr-x 2 testuser testgroup 355 Dec 03 13:31 .
drwxrwxr-x 18 testuser testgroup 4377 Dec 03 13:31 ..
-rw-rw-r-- 1 testuser testgroup 5277130 Dec 03 13:31
libphp4.a
-rw-rw-r-- 1 testuser testgroup 26411 Dec 03 13:31
libphp4.exp
lrwxrwxr-x 1 testuser testgroup 13 Dec 03 13:31
libphp4.la -> ../libphp4.la
-rw-rw-r-- 1 testuser testgroup 725 Dec 03 13:31
libphp4.lai
-rwxrwxr-x 1 testuser testgroup 5192838 Dec 03 13:31
libphp4.so
[EMAIL PROTECTED]> ls -al libs/
total 10319
drwxrwxr-x 2 testuser testgroup 194 Dec 03 13:31 .
drwxrwxr-x 18 testuser testgroup 4377 Dec 03 13:31 ..
-rw-rw-r-- 1 testuser testgroup 5277130 Dec 03 13:31
libphp4.a
-rw-rw-r-- 1 testuser testgroup 725 Dec 03 13:31
libphp4.la
[EMAIL PROTECTED]>
------------------------------------------------------------------------
[2003-12-01 08:47:09] [EMAIL PROTECTED]
So it works with Apache1..for the apache2 compile, what do you have in
libs/ and .libs/ directories when the 'make install' fails?
------------------------------------------------------------------------
[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:
---------------
[EMAIL PROTECTED]> cd /testing/php-4.3.4
[EMAIL PROTECTED]> ./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
[EMAIL PROTECTED]>
[EMAIL PROTECTED]>
[EMAIL PROTECTED]> uname -a
AIX aix52 2 5 0057C30A4C00
[EMAIL PROTECTED]> 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.
[EMAIL PROTECTED]>
[EMAIL PROTECTED]> /testing/apache/bin/httpd -v
Server version: Apache/2.0.48
Server built: Nov 25 2003 10:00:00
[EMAIL PROTECTED]>
[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]>
Expected result:
----------------
I expect this already corrected... but...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26397&edit=1