FreeBSD Port: php4-4.4.7_1

Thomas S. Crum - AAA Web Solution tscrum at
Sun Sep 30 12:08:19 PDT 2007

Dear sir,

I am trying to compile from ports and it is failing.  Googling the error the
closest thing I find points me to autoconf problems, and I notice that was
changed in the makefile recently?  This is happeing for both php4 and php5
from the ports collection and on two different machines.  It also fails on a
portupgrade -a.

Here is uname -a:

FreeBSD 6.2-RELEASE-p4 FreeBSD
6.2-RELEASE-p4 #0: Fri May 18 19:50:04 EDT 2007
root at  i386

Thank you,

-Tom Crum

Here is what I did.

cvsup ports collection
cd /usr/ports/lang/php4
make distclean
make clean

This is what I get:

server1# make
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for php4-4.4.7_2
=> php-4.4.7.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from
php-4.4.7.tar.bz2                             100% of 4437 kB  200 kBps
===>  Extracting for php4-4.4.7_2
=> MD5 Checksum OK for php-4.4.7.tar.bz2.
=> SHA256 Checksum OK for php-4.4.7.tar.bz2.
===>  Patching for php4-4.4.7_2
===>  Applying FreeBSD patches for php4-4.4.7_2
===>   php4-4.4.7_2 depends on file: /usr/local/sbin/apxs - found
===>   php4-4.4.7_2 depends on file: /usr/local/bin/autoconf-2.61 - found
===>  Configuring for php4-4.4.7_2 warning: AC_PROG_LEX invoked multiple times
../../lib/autoconf/programs.m4:779: AC_DECL_YYTEXT is expanded from... the top level
===>  Building for php4-4.4.7_2
make: cannot open Makefile.
*** Error code 2

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.

More information about the freebsd-ports mailing list