Dynare on Mac OS Lion

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Dynare on Mac OS Lion

Postby michaelsiemer » Mon Aug 29, 2011 3:03 pm

Hi,

I have tried to install Dynare on Mac OS Lion and ran into a couple of issues: First I tried this using matlab 2010b and 2011a, same issue;

running build_dynare I get this result:

>> build_dynare
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking build system type... i386-apple-darwin11.1.0
checking host system type... i386-apple-darwin11.1.0
checking for MATLAB prefix... /Applications/MATLAB_R2011a.app
checking whether to enable MATLAB support... yes
checking for MATLAB version... 2011a
checking for MEX-file suffix... mexmaci64
setting MEX-file suffix to .mexmaci64
checking for MATLAB machine architecture... maci64
checking for a sed that does not truncate output... /usr/bin/sed
checking for options to compile MEX for MATLAB... ok
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
/bin/bash: make: command not found
cp: src/mex/matlab/*: No such file or directory


Note: I have Xcode 4.1 installed and there is a c compiler on my mac. Any suggestions how I can get this to work? Thanks.
michaelsiemer
 
Posts: 2
Joined: Mon Aug 29, 2011 3:00 pm

Re: Dynare on Mac OS Lion

Postby HoutanBastani » Tue Aug 30, 2011 8:20 am

Hi,

Following the instructions found here: http://www.dynare.org/DynareWiki/InstallOnMacOSX I have been able to build the Dynare mex files and run dynare on OS X Lion.

Are you certain you have installed the latest version of Xcode (4.1.1)? The reason I ask is that when you run the configure script, it does not find make:
checking whether make sets $(MAKE)... no
, which would obviously not allow you to build the mex files. If you open Terminal (Applications->Utilities->Terminal.app) and type
Code: Select all
make --version
at the command prompt, what's the output? If you then type
Code: Select all
gcc --version
, what's the output? Please also do the same in Matlab (i.e., open Matlab and at the prompt type:
Code: Select all
system('make --version')
and
Code: Select all
system('gcc --version')
) and send me the output.

Also, please post
Code: Select all
/Applications/Dynare/4.2.1/src/mex/build/matlab/config.log


Best,
Houtan
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare on Mac OS Lion

Postby michaelsiemer » Sat Oct 01, 2011 6:41 pm

thanks.
I got it to work. For some reason it worked after un- and reinstalling Xcode.
michaelsiemer
 
Posts: 2
Joined: Mon Aug 29, 2011 3:00 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests

cron