I am trying to install php on a Solaris 9 box. Here is my configure statement:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/opt/sfw/mysql \
--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
this runs fine as well as my make. When I do a make install I get the following error:
make install
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-sap
Any help would be appreciated.
Thanks