From owner-freebsd-ports@FreeBSD.ORG Wed Oct 3 01:58:27 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24DDC16A41B for ; Wed, 3 Oct 2007 01:58:27 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (rwxrwxrwx.net [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id DC0D113C459 for ; Wed, 3 Oct 2007 01:58:26 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from localhost (unknown [127.0.0.1]) by mail.rwxrwxrwx.net (Postfix) with ESMTP id 05DB56D444; Wed, 3 Oct 2007 04:01:43 +0200 (CEST) Received: from mail.rwxrwxrwx.net ([127.0.0.1]) by localhost (mail.rwxrwxrwx.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3SzoYYgISuky; Wed, 3 Oct 2007 04:01:41 +0200 (CEST) Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001) id 5806E6D43F; Wed, 3 Oct 2007 04:01:41 +0200 (CEST) Date: Wed, 3 Oct 2007 04:01:41 +0200 From: Martin Tournoij To: freebsd-ports@freebsd.org Message-ID: <20071003020140.GA98578@glitch.rwxrwxrwx.net> Mail-Followup-To: freebsd-ports@freebsd.org, kono@kth.se References: <200710021823.54047.kono@kth.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710021823.54047.kono@kth.se> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: kono@kth.se Subject: Re: php5 does not buid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2007 01:58:27 -0000 On Tue 02 Oct 2007 18:10, Alexander Konovalenko wrote: > > Hello, > > I got an error while building php5: > > make clean build > ===> Cleaning for php5-5.2.4_1 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for php5-5.2.4_1 > ===> Extracting for php5-5.2.4_1 > => MD5 Checksum OK for php-5.2.4.tar.bz2. > => SHA256 Checksum OK for php-5.2.4.tar.bz2. > ===> Patching for php5-5.2.4_1 > ===> Applying FreeBSD patches for php5-5.2.4_1 > ===> php5-5.2.4_1 depends on file: /usr/local/sbin/apxs - found > ===> php5-5.2.4_1 depends on file: /usr/local/bin/autoconf-2.61 - found > ===> php5-5.2.4_1 depends on executable: pkg-config - found > ===> php5-5.2.4_1 depends on shared library: xml2.5 - found > ===> Configuring for php5-5.2.4_1 > configure.in:152: warning: AC_PROG_LEX invoked multiple times > ../../lib/autoconf/programs.m4:779: AC_DECL_YYTEXT is expanded from... > aclocal.m4:2080: PHP_PROG_LEX is expanded from... > configure.in:152: the top level > ===> Building for php5-5.2.4_1 > make: cannot open Makefile. > *** Error code 2 > > Stop in /usr/ports/lang/php5. > *** Error code 1 > > Stop in /usr/ports/lang/php5. > > Is there any work around? > > I tried php4 but got the same error. I need to build php5 module for Apache22. > > uname -a > FreeBSD myhost 6.2-STABLE FreeBSD 6.2-STABLE #2: Mon Oct 1 12:35:16 CEST 2007 > root@myhost:/usr/obj/usr/src/sys/SMP-DEVELOPER i386 While updating autotools, the commiter also accidentally updated m4 to a new (unstable) version, leading to various problems. The problem has been fixed, try updating your ports tree, removing the php work directory and building again. Regards, Martin Tournoij