Problem with PHP

Roman Serbski mefystofel at gmail.com
Thu Jun 16 09:07:22 GMT 2005


Hello,

Please help with the installation of PHP 4.3.11 under FreeBSD 5.4-STABLE.

pkg_info | grep apache
apache-2.0.54       Version 2 of Apache web server with prefork MPM.

pkg_info | grep libtool
libtool-1.5.10_1    Generic shared library support script (version 1.5)

Apache has been compiled from ports with the following options:

make WITH_STATIC_MODULES="include rewrite auth vhost_alias ssl"
WITH_LDAP=yes WITH_SUEXEC=yes SUEXEC_DOCROOT=/home install clean

I'm trying to build PHP 4.3.11 from sources:

./configure \
--prefix=/usr/local/php4 \
--with-apxs2=/usr/local/sbin/apxs \
--with-zlib=/usr \
--with-mysql=/usr/local \
--with-gettext=/usr/local \
--enable-ftp \
--with-gd=/usr/local \
--with-expat=/usr/local \
--with-dom=/usr/local \
--with-iconv=/usr/local \
--enable-mime-magic \
--with-xml=/usr/local \
--enable-mbstring \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local

`./configure` and `make` do not show any errors, but when I try to
`make install` the following error appears:

Installing PHP SAPI module:       apache2handler
/usr/local/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/share/apache2/build/libtool' libphp4.la
/usr/local/libexec/apache2
/usr/local/share/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/libexec/apache2/
libtool: install: `libphp4.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Any hints would be greatly appreciated!

Thank you.
Roman


More information about the freebsd-questions mailing list