bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reg M4


From: Eric Blake
Subject: Re: Reg M4
Date: Thu, 02 Apr 2009 21:21:01 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[adding bug-bison]

According to Prathima G on 4/2/2009 8:19 AM:
> 
> Hi ,
> 
> 
> While doing a ./configure for bison I receive the error:
> 
> checking for gm4... no
> checking for gnum4... no
> checking for m4... /bin/m4
> checking whether m4 supports frozen files... no
> configure: error: GNU M4 1.4 is required
>
> How to fix it?
>
> I'm running this on HP-UX 11.0 box and have just installed GNU m4 1.4.6

Which version of bison?  At any rate, the version of m4/m4.m4 in bison.git
is rather old, and should probably be replaced with the version from
autoconf 2.63 or newer.  The bison version suffers from the problem that
it only finds the first m4 in PATH, whether or not it is good enough.  The
autoconf version has been improved to search the entire PATH, and validate
that whichever m4 is picked is really up to the task, rather than just
relying on its position in PATH.

Meanwhile, the workaround is simple - simply install GNU m4 earlier in
your PATH, or even add a symlink gm4 that points to your fresh
installation of GNU m4.

> Notice: The information contained in this e-mail

As a note of netiquette, this disclaimer is unenforceable on publicly
archived mailing lists.  However, some people refuse to reply to such mail
on principle.  You are better off using a different email account that
avoids adding this text from your employer.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknVgJ0ACgkQ84KuGfSFAYA8dwCggZHvebGXm3+oiNuMlfwo2jkd
y+AAn1v9GDGV+6w42du3NidnmyEG7ZvI
=9hhG
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]