[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    [PHP-INSTALL] PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6 - apxs error with rc=65536
From:       "Beowulf McLeod" <beowulf.mcleod () gmail ! com>
Date:       2007-09-30 0:08:50
Message-ID: c589c9df0709291708n51d49fe3m6f5a606bee8371ed () mail ! gmail ! com
[Download RAW message or body]

Hello,

I'm trying to build and install PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6.
"make" runs fine but when I try to do "make install", it gives me the
following error -

----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------
"Makefile" 1333 lines, 198697 characters
# make install
        echo '\
\
Installing PHP SAPI module:       apache2handler
/usr/local/apache-2.2.6/build/instdso.sh
SH_LIBTOOL='/usr/local/apache-2.2.6/build/libtool'
libphp5.la /usr/local/apache-2.2.6/modules
rm -f /usr/local/apache-2.2.6/modules/libphp5.so
/usr/local/apache-2.2.6/build/libtool --mode=install cp
libphp5.la/usr/local/apache-
2.2.6/modules/
cp .libs/libphp5.a /usr/local/apache-2.2.6/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache-2.2.6/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/tmp/php_installer/php-5.2.4/libs'
chmod 755 /usr/local/apache-2.2.6/modules/libphp5.so
chmod: /usr/local/apache-2.2.6/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.


Stop.
----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------

My configure command is -

----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------
./configure --prefix=/usr/local/php-5.2.4 --with-apxs2=/usr/local/apache-
2.2.6/bin/apxs --enable-mbstring --enable-shmop \
--with-libxml-dir=/opt/freeware --with-zlib=/opt/freeware
--with-ibm_db2=/bfdata/db2inst2/sqllib --with-pear
----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------

I tried to find a solution by doing google on this problem and searching PHP
mailing lists but couldn't find anything. Any help is appreciated.

Thanks.

[Attachment #3 (text/html)]

<font size="1"><font size="2"><br>Hello,<br><br>I&#39;m trying to build and install \
PHP 5.2.4 on AIX <a href="http://5.3.0.0">5.3.0.0</a> with Apache 2.2.6. \
&quot;make&quot; runs fine but when I try to do &quot;make install&quot;, it gives me \
the following error - <br><br></font>--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
                size="1">--------------</font><font size="1">
--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">-------------- </font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">----</font><br><font \
size="1"><span>&quot;Makefile&quot; 1333 lines, 198697 characters<br># make \
install<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &#39;\ <br>\<br>Installing \
PHP SAPI module:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
apache2handler<br>/usr/local/apache-2.2.6/build/instdso.sh \
SH_LIBTOOL=&#39;/usr/local/apache-2.2.6/build/libtool&#39; <a \
href="http://libphp5.la">libphp5.la</a> /usr/local/apache- 2.2.6/modules<br>rm -f \
/usr/local/apache-2.2.6/modules/libphp5.so<br>/usr/local/apache-2.2.6/build/libtool \
--mode=install cp <a href="http://libphp5.la">libphp5.la</a> \
/usr/local/apache-2.2.6/modules/<br>cp .libs/libphp5.a /usr/local/apache- \
2.2.6/modules/libphp5.a<br>cp .libs/libphp5.lai \
/usr/local/apache-2.2.6/modules/libphp5.la<br>libtool: install: warning: remember to \
run `libtool --finish /tmp/php_installer/php-5.2.4/libs&#39;<br>chmod 755 \
/usr/local/apache- 2.2.6/modules/libphp5.so<br>chmod: \
/usr/local/apache-2.2.6/modules/libphp5.so: A file or directory in the path name does \
not exist.<br>apxs:Error: Command failed with rc=65536<br>.<br>make: 1254-004 The \
error code from the last command is 1. <br><br><br>Stop.</span></font><br><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
                size="1">--------------</font><font size="1">
--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">-------------- </font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">----<br><font size="2"><br>My configure command is \
-<br><br></font></font><font size="1">-------------- </font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font> <font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
                size="1">--------------</font><font \
                size="1">--------------</font><font size="1">
--------------</font><font size="1">--------------</font><font \
size="1">----</font><br><font size="1"><font size="2"><font size="1">./configure \
--prefix=/usr/local/php-5.2.4 --with-apxs2=/usr/local/apache-2.2.6/bin/apxs \
--enable-mbstring --enable-shmop \ <br>--with-libxml-dir=/opt/freeware \
--with-zlib=/opt/freeware --with-ibm_db2=/bfdata/db2inst2/sqllib \
--with-pear</font><br></font></font><font size="1">--------------</font><font \
                size="1">--------------</font><font size="1">
--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">-------------- </font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font><font size="1">--------------</font><font \
size="1">--------------</font> <font size="1">----</font><br><br>I tried to find a \
solution by doing google on this problem and searching PHP mailing lists but \
couldn&#39;t find anything. Any help is appreciated.<br><br>Thanks.<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic