From owner-freebsd-ports@FreeBSD.ORG Thu Oct 4 13:12:07 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 C73E816A420 for ; Thu, 4 Oct 2007 13:12:07 +0000 (UTC) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (daemon.nanophys.kth.se [130.237.35.96]) by mx1.freebsd.org (Postfix) with ESMTP id 3EEE113C4A7 for ; Thu, 4 Oct 2007 13:12:06 +0000 (UTC) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (localhost [127.0.0.1]) by omega.nanophys.kth.se (8.14.1/8.13.8) with ESMTP id l94DC9ux054107; Thu, 4 Oct 2007 15:12:09 +0200 (CEST) (envelope-from kono@kth.se) Received: from localhost (localhost [[UNIX: localhost]]) by omega.nanophys.kth.se (8.14.1/8.13.8/Submit) id l94DC9G3054106; Thu, 4 Oct 2007 15:12:09 +0200 (CEST) (envelope-from kono@kth.se) X-Authentication-Warning: omega.nanophys.kth.se: kono set sender to kono@kth.se using -f From: Alexander Konovalenko Organization: KTH To: Martin Tournoij Date: Thu, 4 Oct 2007 15:12:09 +0200 User-Agent: KMail/1.9.6 References: <200710021823.54047.kono@kth.se> <20071003020140.GA98578@glitch.rwxrwxrwx.net> In-Reply-To: <20071003020140.GA98578@glitch.rwxrwxrwx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710041512.09721.kono@kth.se> Cc: freebsd-ports@freebsd.org Subject: Re: php5 does not buid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kono@kth.se List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 13:12:07 -0000 On Wednesday 03 October 2007, Martin Tournoij wrote: > 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 Thanks a lot! That worked! After tree update I reinstalled auomake* autoconf and m4. -- /Alexander Konovalenko +46-8-5537-8142 (office) +46-7-3752-2116 http://daemon.nanophys.kth.se/~kono Royal Institute of Technology (KTH) Nanostructure Physics Department, Albanova Roslagstullsbacken 21 10691 Stockholm Sweden