ID:               40268
 Comment by:       ivan-q at o2 dot pl
 Reported By:      thomastja at gmail dot com
 Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: Aix 5.3
 PHP Version:      4.4.4
 New Comment:

I'm having same problem on AIX5.3. Trying to install PHP-5.2.6 with
Apache. Everything compiles succesfully, but `make install` fails.
#make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la
/usr/local/apache/modules
rm -f /usr/local/apache/modules/libphp5.so
/usr/local/apache/build/libtool --mode=install cp libphp5.la
/usr/local/apache/modules/
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache/modules/libphp5.a
chmod 644 /usr/local/apache/modules/libphp5.a
ranlib /usr/local/apache/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/usr/local/php-5.2.6/libs'
Warning!  dlname not found in /usr/local/apache/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/libphp5.so
chmod: /usr/local/apache/modules/libphp5.so: A file or directory in the
path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1



Using GNU make, and native ld, ./configure gives following output:
-= snip =-
Configuring libtool
checking build system type... powerpc-ibm-aix5.3.0.0
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no     <=== !!!!
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/freeware/bin//nm -B
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking the maximum length of command line arguments... 8192
checking command to parse /opt/freeware/bin//nm -B output from gcc
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... 
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes    <=== !!!!
checking dynamic linker characteristics... aix5.3.0.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes    <=== !!!!
checking whether to build static libraries... no
-= snip =-




When using GNU ld (gld) 
  bash-3.2# /opt/freeware/bin/gld --version
  GNU ld version 2.14 20030612
./configure gives following output
-= snip =-
Configuring libtool
checking build system type... &#8211;-prefix=/usr/local/php
checking for ld used by gcc... /opt/freeware/bin/gld
checking if the linker (/opt/freeware/bin/gld) is GNU ld... yes    
<=== !!!!
checking for /opt/freeware/bin/gld option to reload object files... -r
checking for BSD-compatible nm... /usr/linux/bin/nm -B
checking how to recognise dependent libraries... unknown
checking for object suffix... o
checking for executable suffix... no
checking the maximum length of command line arguments... 8192
checking command to parse /usr/linux/bin/nm -B output from gcc
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/opt/freeware/bin/gld) supports shared
libraries... no    <=== !!!!
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no    <=== !!!!
checking whether to build static libraries... yes

-= snip =-


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

[2007-02-17 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2007-02-09 10:18:52] tony2...@php.net

Yes, I did. It works fine on AIX 5.3 as well.

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

[2007-02-09 08:58:21] thomastja at gmail dot com

Have anyone tried the same on Aix 5.3

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

[2007-02-08 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2007-01-31 13:12:19] tony2...@php.net

Works just fine with PHP 5.2, Apache 2.2.4, GCC 3.4.5 and native LD on
AIX 5.1. 

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/40268

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

Reply via email to