Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2007 15:12:09 +0200
From:      Alexander Konovalenko <kono@kth.se>
To:        Martin Tournoij <carpetsmoker@xs4all.nl>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: php5 does not buid
Message-ID:  <200710041512.09721.kono@kth.se>
In-Reply-To: <20071003020140.GA98578@glitch.rwxrwxrwx.net>
References:  <200710021823.54047.kono@kth.se> <20071003020140.GA98578@glitch.rwxrwxrwx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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