Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 15:07:21 +0600
From:      Roman Serbski <mefystofel@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Problem with PHP
Message-ID:  <cca5083b05061602071193e589@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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=3D"include rewrite auth vhost_alias ssl"
WITH_LDAP=3Dyes WITH_SUEXEC=3Dyes SUEXEC_DOCROOT=3D/home install clean

I'm trying to build PHP 4.3.11 from sources:

./configure \
--prefix=3D/usr/local/php4 \
--with-apxs2=3D/usr/local/sbin/apxs \
--with-zlib=3D/usr \
--with-mysql=3D/usr/local \
--with-gettext=3D/usr/local \
--enable-ftp \
--with-gd=3D/usr/local \
--with-expat=3D/usr/local \
--with-dom=3D/usr/local \
--with-iconv=3D/usr/local \
--enable-mime-magic \
--with-xml=3D/usr/local \
--enable-mbstring \
--with-jpeg-dir=3D/usr/local \
--with-png-dir=3D/usr/local \
--with-freetype-dir=3D/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=3D'/usr/local/share/apache2/build/libtool' libphp4.la
/usr/local/libexec/apache2
/usr/local/share/apache2/build/libtool --mode=3Dinstall cp libphp4.la
/usr/local/libexec/apache2/
libtool: install: `libphp4.la' is not a valid libtool archive
Try `libtool --help --mode=3Dinstall' for more information.
apxs:Error: Command failed with rc=3D65536
.
*** Error code 1

Any hints would be greatly appreciated!

Thank you.
Roman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cca5083b05061602071193e589>