FreeBSD PHP5 ports error - libphp5.la is not a valid libtool archive
Hi,I am install PHP5 from ports on FreeBSD 5.4.
Ports have been updated using cvsup before installing PHP.
I am getting following error.
===> Installing for php5-5.0.4_2
===> php5-5.0.4_2 depends on file: /usr/local/sbin/apxs - found
===> php5-5.0.4_2 depends on executable: pkg-config - found
===> Generating temporary packing list
===> Checking if lang/php5 already installed
Installing PHP SAPI module: apache2handler
/usr/local/share/apache21/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' libphp5.la /usr/local/libexec/apache21
/usr/local/build-1/libtool --mode=install cp libphp5.la /usr/local/libexec/apache21/
libtool: install: `libphp5.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
Stop in /usr/ports/lang/php5/work/php-5.0.4.
*** Error code 1
Stop in /usr/ports/lang/php5.
===> php5-5.0.4_2 depends on file: /usr/local/sbin/apxs - found
===> php5-5.0.4_2 depends on executable: pkg-config - found
===> Generating temporary packing list
===> Checking if lang/php5 already installed
Installing PHP SAPI module: apache2handler
/usr/local/share/apache21/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' libphp5.la /usr/local/libexec/apache21
/usr/local/build-1/libtool --mode=install cp libphp5.la /usr/local/libexec/apache21/
libtool: install: `libphp5.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
Stop in /usr/ports/lang/php5/work/php-5.0.4.
*** Error code 1
Stop in /usr/ports/lang/php5.
server18# pkg_info
apache-2.1.4 Version 2.1 of Apache web server with prefork MPM.
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
bison-1.75_2 A parser generator from FSF, (mostly) compatible with Yacc
cvsup-without-gui-16.1h_2 General network file distribution system optimized for CVS
expat-1.95.8_3 XML 1.0 parser written in C
ezm3-1.2 Easier, more portable Modula-3 distribution for building CV
gettext-0.14.1 GNU gettext package
gmake-3.80_2 GNU version of 'make' utility
help2man-1.35.1 Automatically generating simple manual pages from program o
libiconv-1.9.2_1 A character set conversion library
libtool-1.5.10_1 Generic shared library support script (version 1.5)
libxml2-2.6.20 XML parser library for GNOME
linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386)
lynx-2.8.6d13 A non-graphical, text-based World-Wide Web client
m4-1.4.3 GNU m4
p5-gettext-1.03 Message handling functions
perl-5.8.6_2 Practical Extraction and Report Language
pkgconfig-0.17.2 A utility to retrieve information about installed libraries
python-2.4.1_3 An interpreted object-oriented programming language
server18#
apache-2.1.4 Version 2.1 of Apache web server with prefork MPM.
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
bison-1.75_2 A parser generator from FSF, (mostly) compatible with Yacc
cvsup-without-gui-16.1h_2 General network file distribution system optimized for CVS
expat-1.95.8_3 XML 1.0 parser written in C
ezm3-1.2 Easier, more portable Modula-3 distribution for building CV
gettext-0.14.1 GNU gettext package
gmake-3.80_2 GNU version of 'make' utility
help2man-1.35.1 Automatically generating simple manual pages from program o
libiconv-1.9.2_1 A character set conversion library
libtool-1.5.10_1 Generic shared library support script (version 1.5)
libxml2-2.6.20 XML parser library for GNOME
linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386)
lynx-2.8.6d13 A non-graphical, text-based World-Wide Web client
m4-1.4.3 GNU m4
p5-gettext-1.03 Message handling functions
perl-5.8.6_2 Practical Extraction and Report Language
pkgconfig-0.17.2 A utility to retrieve information about installed libraries
python-2.4.1_3 An interpreted object-oriented programming language
server18#
How do i solve the problem ?
Regards,
Yujin