Many thanks for replying and guiding me.
Everything worked well with the packages provided by Hans. Thanks again. -----Original Message----- From: Hans Aberg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 2:26 PM To: Saeed, Ghazanfar Cc: Gary V. Vaughan; [email protected]; [email protected] Subject: RE: M4sugar error At 13:53 +0500 2005/05/26, Saeed, Ghazanfar wrote: >For following error: > >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 >make: Fatal error: Command failed for target `all-binutils' > >My environment is on Sun-Machine (Solaris8-SPARC-IIe) > >I have already done following: >- "/usr/local/bin/" is in PATH environment variable Is it first? >- Made also separate environment variable (export >M4="/usr/local/bin/m4") >- Installed M4 before installation of autoconfig > >Furthermore I have also installed following packages >autoconfig, automake, bison, lex, libiconv, libtool, sed and M4 in >/usr/local/bin [Note: packages were taken from >http://www.sunfreeware.com/indexsparc8.html] > >But still couldn't able to solve this problem. Maybe some other clue >would be helpful. Thanks. Please make sure to report version of software in bug reports. The version bison-1.875d you get there is an old one. What happens if you follow the instructions for the latest Bison release,made latest Monday?: Bison test version 2.0a is now available. It contains mostly bug fixes for Bison 2.0. Our intention is to generate a new official release soon, based on feedback from this test version. Here is the URL: ftp://alpha.gnu.org/gnu/bison/bison-2.0a.tar.gz Here is the MD5 checksum: 4304bcadc0115d0eb6c8744f83158a7e bison-2.0a.tar.gz To try this test version, please make sure you have GNU m4 1.4.3 <ftp://ftp.gnu.org/gnu/m4/m4-1.4.3.tar.gz> installed, and then execute the following shell commands or their equivalents: wget ftp://alpha.gnu.org/gnu/bison/bison-2.0a.tar.gz gunzip <bison-2.0a.tar.gz | tar xf - cd bison-2.0a ./configure make make check We particularly appreciate tests on unusual hosts. -- Hans Aberg
