#14245 [Com]: make install fails on apxs
| From: | gero dot waldhausen at inveos dot com | Date: | Wed, 05 Feb 2003 15:43:02 +0000 |
| Subject: | #14245 [Com]: make install fails on apxs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32195@lists.php.net to get a copy of this message | ||
ID: 14245
Comment by: gero.waldhausen@inveos.com
Reported By: david-shafer@uiowa.edu
Status: Verified
Bug Type: Compile Failure
Operating System: AIX 4.3.3
PHP Version: 4.3.0-dev
New Comment:
hi folks,
i´m trying my best with apache 1.3.26 and php-4.2.2 and oracle817 but,
...
here is my typing:
./configure --prefix=/usr/local/php-4.2.2 --with-mhash
--with-mcrypt=/usr/local/lib with-pcre-regex --enable-track-vars
--enable-trans-id --enable-sockets --enable-with-zlibs --with-xml
--with-apxs=/usr/apache/bin/apxs --with-mm=/usr/local/mm-1.2.1
--enable-wddx --without-pear --with-mysql=no -with-oci8=/oracle/817_64
the result when i´m trying to make install is:
/usr/local/src/php-4.2.2/build/shtool mkdir -p "/usr/apache/libexec" &&
/usr/apache/bin/apxs -S LIBEXECDIR="/usr/apache/libexec" -i -a -n php4
libs/libphp4.so
[activating module `php4' in /etc/apache/httpd.conf]
cp libs/libphp4.so /usr/apache/libexec/libphp4.so
cp: Zugriff auf libs/libphp4.so nicht möglich
apxs:Break: Command failed with rc=2
*** Error code 1
make: Fatal error: Command failed for target `install-sapi'
Current working directory /usr/local/src/php-4.2.2
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
What am I doing wrong??
please help
gero
Previous Comments:
------------------------------------------------------------------------
[2002-11-26 04:57:08] sfrasca@deda.com
I have a workaround about this bag.
I have installed php 4.2.3 under Oracle AS9i on AIX 4.3.3.
The libphp4.so not is created by make because the libtool have a flag
set to no.
The libtool is created by configure; before you launch make, edit
libtool and set build_libtool_libs=yes.
After launched make, under .libs you find libphp4.so.0:move it under
libs as libphp4.so and run make install.
So, php as apache module work fine.
------------------------------------------------------------------------
[2002-09-30 17:12:31] steve@oseda.missouri.edu
Same problem. AIX 4.3.3.10, GCC 2.95, PHP 4.2.3, Gnu Make 3.79
**************************************
Making install in .
make[1]: Entering directory `/oseda/php-4.2.3'
/oseda/php-4.2.3/build/shtool mkdir -p "/usr/local/apache/libexec" &&
/usr/local/apache/bin/apxs -S
LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/libphp4.so
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not
exist.
apxs:Break: Command failed with rc=1
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/oseda/php-4.2.3'
make: *** [install-recursive] Error 1
**************************************************
The directory "libs" has libphp4.a and libphp4.la only, the directory
".libs" has libphp4.a, .exp, .lai and .so.0 in it.
------------------------------------------------------------------------
[2002-07-11 11:23:31] sniper@php.net
reclassified
------------------------------------------------------------------------
[2002-07-11 11:23:11] sniper@php.net
This is not fixed. But we know what the problem is and hope
to get it solved for 4.3.0 release.
------------------------------------------------------------------------
[2002-07-11 04:38:59] derick@php.net
There were a lot of fixes done to the build system, the best way to
check it is to try for yourself. I suggest you try the latest snapshot
@ http://snaps.php.net/php4-latest.tar.gz
Derick
------------------------------------------------------------------------
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/14245
--
Edit this bug report at http://bugs.php.net/?id=14245&edit=1