ID:               43341
 Comment by:       jesse dot charbneau at cengagelearning dot com
 Reported By:      jay3ld at yahoo dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Mac os X 10.5 Leopard
 PHP Version:      5.3CVS-2007-11-20 (snap)
 New Comment:

Hello,
  I have experienced this issue on multiple Suse Enterprise (v9.0 -
v9.3) systems.  This is to be used with Apache 2.2.6.

Apache was configured, compiled and installed with:
./configure --enable-so --enable-rewrite --prefix=/opt/apache-2.2.6
--with-included-apr
make
make install (as root)

I have tried multiple releases in the 5.2.x series (5.2.5, 5.2.4,
5.2.2) and have not been able to successfully get any of them to install
the php-cli.  I have been able to get it to install the module for
apache, and so phpinfo() works and returns the correct page, but the
requirements for this project need the cli (DAST).

Here is the configure statement I am using with php:
./configure --with-libdir=lib64 --with-apxs2=/opt/apache-2.2.6/bin/apxs
--prefix=/opt/apache-2.2.6 --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config --with-gd --with-openssl=/usr
--enable-soap --enable-sockets --with-xmlrpc --with-xsl --with-curl
--with-zlib --with-pear

make (works fine)
make install (as root) returns:
--------------
Installing PHP SAPI module:       apache2handler
/opt/apache-2.2.6/build/instdso.sh
SH_LIBTOOL='/opt/apache-2.2.6/build/libtool' libphp5.la
/opt/apache-2.2.6/modules
/opt/apache-2.2.6/build/libtool --mode=install cp libphp5.la
/opt/apache-2.2.6/modules/
libtool: install: error: cannot install `libphp5.la' to a directory not
ending in /usr/src/packages/jess_temp/php-5.2.2/libs
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
--------------

Is this something with the release?  Or should I be looking to update
Suse or something?  I am going to try compiling it on a Suse 10 box and
see what turns up.

Thanks,
Jess


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

[2007-11-30 02:24:43] jay3ld at yahoo dot com

I can say for fact I am no longer using the built in apache 2.0 or
php.
I have custom built apache 2.2 and it even shows under my phpinfo.php
page I am using apache 2.2.6 (It is how I pulled this information up
originally).

I renamed the apachectl file in /usr/sbin to apachectl.old and made
symlink to the new one in my /home directory so startup commands still
use apachectl correctly.

My httpd.conf specifically points at php directories as I run php 5.2
and php 6.0 at the moment and wanted to add 5.3 as another option to
ensure my sites will operate in the future correctly when and if I
upgrade to 5.3

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

[2007-11-29 01:05:12] [EMAIL PROTECTED]

There seems to be some problem with the Apache that comes with
Leopard.
Here are some instructions how to do this:

http://gorn.ch/archive/2007/11/01/leopard-native-apache-with-custom-64bit-php.html

5.2 propably works because it comes with the system, and you're most
likely just loading that instead..

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

[2007-11-28 23:07:02] geoffrey dot hughes at otago dot ac dot nz

I'm getting this same problem on version 5.2.5 under leopard.

The apache module does install and activate and phpinfo via a web page

returns the correct version but the php and pear CLIs are not being 
installed and as such still report the previous version I had (5.2.4).

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

[2007-11-28 17:41:18] jay3ld at yahoo dot com

Empty file as well with plain options.

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

[2007-11-25 17:34:31] [EMAIL PROTECTED]

How about if you used plain 'diff -u' without any fancy options? Do you
get any diff?

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

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/43341

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

Reply via email to