[Top][All Lists]

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

Re: M4sugar error

From: Gary V. Vaughan
Subject: Re: M4sugar error
Date: Wed, 25 May 2005 16:14:18 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20050305)

Saeed, Ghazanfar wrote:
> I found following error message while building binutils:
> bison -y -d  ./arparse.y
> M4sugar requires GNU M4. Install it before installing M4sugar or
> set the M4 environment variable to its path name.*** Signal 13
> make: Fatal error: Command failed for target `arparse.c'
> Current working directory
> /space/home/engineering/gsaeed/simplescalar/binutils-2.5.2/binutils
> *** Error code 1

This is telling you that the wrong m4 is being used.

You can point it at the GNU M4 you installed to /usr/local by setting
the M4 environment variable to the correct path:

  export M4=/usr/local/bin/m4

(assuming you are using bash or equivalent).

> make: Fatal error: Command failed for target `all-binutils'
> My environment is on Sun-Machine (Solaris8-SPARC-IIe)
> I have already installed bison, lex and M4 in /usr/local/bin
> Now for above error it appears that I need to install M4sugar which I
> was not able to find anywhere for Solaris8. I have found only one file
> “m4sugar.m4” under

This is the m4sugar that the error message was reading when it told you
that you need to tell it where to find GNU M4.

> Could anybody help me in this regard?

Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

reply via email to

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