ID:               40268
 User updated by:  thomastja at gmail dot com
 Reported By:      thomastja at gmail dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Aix 5.3
 PHP Version:      4.4.4
 New Comment:

I retry the whole setup with php-5.2.0
and got the following during the make install

Installing PHP SAPI module:       apache2handler
/fpx/usr/apache/build/instdso.sh
SH_LIBTOOL='/fpx/usr/apache/build/libtool' libphp5.la
/fpx/usr/apache/modules
rm -f /fpx/usr/apache/modules/libphp5.so
/fpx/usr/apache/build/libtool --mode=install cp libphp5.la
/fpx/usr/apache/modules/
cp .libs/libphp5.a /fpx/usr/apache/modules/libphp5.a
cp .libs/libphp5.lai /fpx/usr/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/fpx/install/php/php-5.2.0/libs'
chmod 755 /fpx/usr/apache/modules/libphp5.so
chmod: /fpx/usr/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.

>><<

ls of php libs return

bash-3.00# ls -al libs
total 38528
drwxr-xr-x   2 root     system          256 Jan 29 19:19 .
drwxr-xr-x  18 1002     1002           4096 Jan 29 19:19 ..
-rw-r--r--   1 root     system     19717099 Jan 29 19:19 libphp5.a
-rw-r--r--   1 root     system         1429 Jan 29 19:19 libphp5.la 

>><<<
It seems to me that libtool is failing to create the libphp5.so. Any
idea why ?


Previous Comments:
------------------------------------------------------------------------

[2007-01-29 11:19:18] thomastja at gmail dot com

# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++
--prefix=/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0

# ld -V
ld: LD 1.64 (08/19/2003)

# /fpx/usr/apache/build/libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

Hope the info helps.
All comments are welcome.

------------------------------------------------------------------------

[2007-01-29 08:49:05] [EMAIL PROTECTED]

What compiler & linker did you use?

------------------------------------------------------------------------

[2007-01-29 08:33:00] thomastja at gmail dot com

Description:
------------
Any input will be welcome.

I am trying to compile PHP in the following env.
Aix 5.3, Apache 2.2.3, PHP 4.4.4, gcc version 4.0.0,
libtool 1.5.22

I run the following configure command

./configure --prefix=/fpx/usr/php 
--with-apxs2=/fpx/usr/apache/bin/apxs 
--with-config-file-path=/fpx/usr/apache/conf 
--enable-shared

completed successfully.

./make 

completed successfully

./make install 

failed with errors





Reproduce code:
---------------
bash-3.00# make install 
/fpx/usr/apache/build/instdso.sh
SH_LIBTOOL='/fpx/usr/apache/build/libtool' libphp4.la
/fpx/usr/apache/modules
libtool: install: warning: remember to run `libtool --finish
/fpx/install/php/php-4.4.4/libs'
chmod 755 /fpx/usr/apache/modules/libphp4.so
chmod: failed to get attributes of
`/fpx/usr/apache/modules/libphp4.so': A file or directory in the path
name does not exist.
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

Expected result:
----------------
Successfull compile of PHP and creation of 

Actual result:
--------------
make install failed with error.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40268&edit=1

Reply via email to