Dynare on OSX Tiger

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

Dynare on OSX Tiger

Postby a_tran84 » Thu Nov 27, 2008 12:39 pm

Hi,

I'm trying to compile the preprocessor on OS X Tiger with GCC 4.0 and Bison (from Fink) installed but I come up with this error after running make in the preprocessor folder:
MacroBison.yy:21.1-8: invalid directive: `%require'
MacroBison.yy:21.10-14: syntax error, unexpected "string"
make[1]: *** [MacroBison.hh] Error 1
make: *** [all-recursive] Error 2

Any suggestions? So far it is the only reason I regret buying a Mac.

Regards

Allen
a_tran84
 
Posts: 3
Joined: Thu Apr 10, 2008 2:31 am

Re: Dynare on OSX Tiger

Postby SébastienVillemot » Mon Dec 01, 2008 1:22 pm

Hi

You're probably not using the right version of Bison.

You need version 2.3 of Bison or higher. Type "bison --version" to know which version you are using.

It seems that fink provide bison 2.3 in their unstable database. You can also recompile from source by downloading bison source on the GNU website:
http://www.gnu.org/software/bison/

In last resort, if you can't get Bison 2.3 running on your machine, you can run bison on another system and copy the output files (.cc and .hh) on your machine.

Best

Sébastien
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 2 guests