php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48427 Make install libphp5.so error
Submitted: 2009-05-29 08:13 UTC Modified: 2009-07-10 18:18 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: AzureusPT at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.9 OS: AIX 5.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: AzureusPT at gmail dot com
New email:
PHP Version: OS:

 

 [2009-05-29 08:13 UTC] AzureusPT at gmail dot com
Description:
------------
I've been trying to compile and install PHP5 (using 5.2.9 as well as latest CVS) with Apache 2.2.11, but I'm getting an error upon make install.

ERROR:
Installing PHP SAPI module:       apache2handler
/opt/jakarta/apache2.2/build/instdso.sh SH_LIBTOOL='/opt/jakarta/apache2.2/build/libtool' libphp5.la /opt/jakarta/apache2.2/modules
rm -f /opt/jakarta/apache2.2/modules/libphp5.so
/opt/jakarta/apache2.2/build/libtool --mode=install cp libphp5.la /opt/jakarta/apache2.2/modules/
cp .libs/libphp5.a /opt/jakarta/apache2.2/modules/libphp5.a
cp .libs/libphp5.lai /opt/jakarta/apache2.2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /soflib00/user/tomcat/php5.2-200905290630/libs'
chmod 755 /opt/jakarta/apache2.2/modules/libphp5.so
chmod: /opt/jakarta/apache2.2/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.

It seems it deletes libphp5.so but doesnt copy the new lib, so it exits when trying to chmod an unexistent file.

CONFIGURE OPTIONS:
./configure --with-apxs2=/opt/jakarta/apache2.2/bin/apxs --prefix=/opt/jakarta/php5.2.9 --with-libxml-dir=/usr/lib

CVS SNAPSHOT:
php5.2-200905290630

OS:
AIX 5.3

LIBTOOL VERSION
libtool --version
ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15)

APACHE VERSION:
httpd-2.2.11

GCC VERSION:
gcc --version
gcc (GCC) 4.2.0

Checked other similar bugs, but the solutions of them doesnt seem to work for me.

Reproduce code:
---------------
./configure --with-apxs2=/opt/jakarta/apache2.2/bin/apxs --prefix=/opt/jakarta/php5.2.9 --with-libxml-dir=/usr/lib ; make ; make install

Expected result:
----------------
PHP 5 should be installed

Actual result:
--------------
chmod 755 /opt/jakarta/apache2.2/modules/libphp5.so
chmod: /opt/jakarta/apache2.2/modules/libphp5.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-29 10:13 UTC] scottmac@php.net
See bug #39197
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 11:01:32 2024 UTC