Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40459 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37885 invoked from network); 11 Sep 2008 08:01:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2008 08:01:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=softvirus@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=softvirus@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.14 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: softvirus@gmail.com X-Host-Fingerprint: 209.85.217.14 mail-gx0-f14.google.com Received: from [209.85.217.14] ([209.85.217.14:32964] helo=mail-gx0-f14.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/73-30769-940D8C84 for ; Thu, 11 Sep 2008 04:01:14 -0400 Received: by gxk7 with SMTP id 7so15731259gxk.23 for ; Thu, 11 Sep 2008 01:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=c6kPJ767y2bdw8vJ/lpM9csaHAZL0yFo2QcVLdvIBbE=; b=QpTw+XnHbFO32emWVDWty5PjYN2vbjsrDBAye2lhTIi6rDWV769s2q2X3U9E4Ergiz Z87x9v3yrVfYllP7C3AxM+QfgWG79nbMZV2bCGpGJT7Za/n68EuRJ9+2WIlgvWXtIFO8 wZ/vgqxnWdMlUw+SgaYqLFyC4awS1v2qTiYtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=c/YqzPffJKXvrzFPPsmxayUhk2y/UlT2gxb2WxpwZe+Q7eViMcO40TjSTcKWDF9bZ0 ITM5WhTgcYh4Nd9iSjInk8bV/bovqyY7fjgQzlFd5RvDMC1HqUT9SnLQiZ+g2BJyV1j6 RQ1o7KfJRd6QzYDPAEYBvgl4z0vzbm1if/u3E= Received: by 10.150.212.14 with SMTP id k14mr3580167ybg.89.1221120070939; Thu, 11 Sep 2008 01:01:10 -0700 (PDT) Received: by 10.150.196.17 with HTTP; Thu, 11 Sep 2008 01:01:10 -0700 (PDT) Message-ID: <5e2913440809110101l106f96ceo289076f931b1e77d@mail.gmail.com> Date: Thu, 11 Sep 2008 13:31:10 +0530 To: jani.taskinen@iki.fi Cc: internals@lists.php.net In-Reply-To: <48C8CD60.9090807@sci.fi> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_84095_2640310.1221120070953" References: <5e2913440809110034k74f90d92n91808268b74d889c@mail.gmail.com> <48C8CD60.9090807@sci.fi> Subject: Re: [PHP-DEV] buildconf fails on current HEAD From: softvirus@gmail.com (Raghubansh) ------=_Part_84095_2640310.1221120070953 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Jani, I have using the same machine with Autoconf V2.59 since 2007 and it use to work :(. I shall get the autoconf-2.13. installed and check. thanks. with Regards, Raghubansh On Thu, Sep 11, 2008 at 1:18 PM, Jani Taskinen wrote: > Raghubansh wrote: > >> Hi All, >> >> I am trying to build PHP6 (checked out a while from CVS - HEAD) and found >> that ./buildconf fails. Following are the failure messages : >> >> [kraghuba@localhost php6]$ ./buildconf >> using default Zend directory >> buildconf: checking installation... >> buildconf: autoconf version 2.59 (ok) >> buildconf: Your version of autoconf likely contains buggy cache code. >> Running cvsclean for you. >> To avoid this, install autoconf-2.13. >> rebuilding configure >> Zend/acinclude.m4:1095: error: m4_defn: undefined macro: >> _m4_divert_diversion >> aclocal.m4:1102: PHP_CHECK_SIZEOF is expanded from... >> autom4te: /usr/bin/m4 failed with exit status: 1 >> rebuilding main/php_config.h.in >> autoheader: WARNING: Using auxiliary files such as `acconfig.h', >> `config.h.bot' >> autoheader: WARNING: and `config.h.top', to define templates for ` >> config.h.in' >> autoheader: WARNING: is deprecated and discouraged. >> autoheader: >> autoheader: WARNING: Using the third argument of `AC_DEFINE' and >> autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template >> without >> autoheader: WARNING: `acconfig.h': >> autoheader: >> autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, >> autoheader: [Define if a function `main' is needed.]) >> autoheader: >> autoheader: WARNING: More sophisticated templates can also be produced, >> see >> the >> autoheader: WARNING: documentation. >> Zend/acinclude.m4:1095: error: m4_defn: undefined macro: >> _m4_divert_diversion >> aclocal.m4:1102: PHP_CHECK_SIZEOF is expanded from... >> autom4te: /usr/bin/m4 failed with exit status: 1 >> autoheader: /usr/bin/autom4te failed with exit status: 1 >> >> Am i doing something wrong ? or something is broken ? >> > > Yes, you're using buggy autoconf. Install autoconf 2.13 and it works. > In most linux distros you can install multiple versions. Then you can use > the PHP_AUTOCONF and PHP_AUTOHEADER macros to point to the version > you wish to use, f.e.: > > PHP_AUTOCONF=autoconf-2.13 > PHP_AUTOHEADER=autoheader-2.13 > export PHP_AUTOCONF PHP_AUTOHEADER > > --Jani > > -- with Regards, Raghubansh ------=_Part_84095_2640310.1221120070953--