#26397 [Opn->Bgs]: make install fails

From: Date: Thu, 04 Dec 2003 12:45:09 +0000
Subject: #26397 [Opn->Bgs]: make install fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51688@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: Bogus Bug Type: Apache2 related Operating System: AIX 5.2 PHP Version: 4.3.4 New Comment: There error happens in instdso.sh, which is part of Apache, not PHP..so please report this to the Apache bug system. (there might already be an open report though, so check that first) 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. -------------------------- somebody@aix52> /testing/apache/bin/httpd -v Server version: Apache/2.0.48 Server built: Dec 3 2003 13:00:00 somebody@aix52> bin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c somebody@aix52> ... somebody@aix52> ./configure \ --prefix=/testing/php \ --with-apxs2=/testing/apache/bin/apxs \ --disable-all \ --disable-cli .... somebody@aix52> pwd /testing/php-4.3.4 somebody@aix52> 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 somebody@aix52> somebody@aix52> # The contents of ".libs/" and "libs/" were same before gmake install somebody@aix52> 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 somebody@aix52> 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 somebody@aix52> ------------------------------------------------------------------------ [2003-12-01 08:47:09] sniper@php.net 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: --------------- 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

« previous php.bugs (#51688) next »