Installing php 5.0.4
| From: | Plantier, Spencer | Date: | Thu, 05 May 2005 20:31:46 +0000 |
| Subject: | Installing php 5.0.4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16083@lists.php.net to get a copy of this message | ||
I was able to do:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/opt/sfw/mysql \
--with-mysql-sock=/tmp/mysql.sock \
--with-sqlite \
--enable-sqlite-utf8 \
--with-zlib \
--with-zlib-dir \
--with-bz2 \
--with-gd \
--enable-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-ttf \
--with-iconv=/usr/local \
--with-curl=/usr/local \
--enable-track-vars \
--with-gettext \
--with-config-file-path=/usr/local/apache2/conf \
--enable-trans-id \
--enable-ftp \
--enable-mbstring \
--with-openssl=/usr/local
And was able to do make. When I do make install I get the following
error:
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
libtool: install: error: cannot install `libphp5.la' to a directory not
ending in /var/tmp/php-5.0.4/libs
apxs:Error: Command failed with rc=65536
.
*** Error code 1
make: Fatal error: Command failed for target `install-sapi'
Any help would be appreciated
Thanks
Spencer Plantier
System Network Administrator
301 Gregson Dr
Cary, NC 27511
Office 919-379-8513
Cell 919-272-8833
spencer.plantier@stratech.com