Installation on Mac

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.

Installation on Mac

Postby James.c007 » Mon Aug 23, 2010 2:58 pm

hello,

i am installing Dynare version 4.12 on a Mac with OS 10.5.8, matlab version R2008b (7.7). I have gcc v4.0 installed but when i am running build_matlab, I am getting the following error message: Any help is appreciated.

Thank you.

gcc-4.0 -c -I. -I/Applications/MATLAB_R2008b.app/extern/include -I/Applications/MATLAB_R2008b.app/simulink/include -DMATLAB_MEX_FILE -fno-common -no-cpp-precomp -fexceptions -DHAVE_PTHREAD -DMATLAB_MEX_FILE -DMATLAB_VERSION=0x0707 -DMX_COMPAT_32 -O3 "mjdgges/mjdgges.c" -o ../../../mex/matlab/mjdgges.o

/var/folders/LS/LSub5KArEtSJ6W-G1CjnzZridlo/-Tmp-//ccMIKpf5.s:unknown:FATAL:can't create output file: ../../../mex/matlab/mjdgges.o

mex: compile of ' "mjdgges/mjdgges.c"' failed.

??? Error using ==> mex at 213
Unable to complete successfully.

Error in ==> build_matlab at 97
eval([ COMPILE_COMMAND ' -I. mjdgges/mjdgges.c ' LAPACK_PATH ]);
James.c007
 
Posts: 2
Joined: Sat Aug 21, 2010 1:54 am

Re: Installation on Mac

Postby HoutanBastani » Tue Aug 24, 2010 3:06 pm

Hi,

I will test this on 10.5.8 tomorrow as I left that machine at home. In the meanwhile, please do the following:
    1) Delete /Applications/Dynare/4.1.2
    2) Reinstall Dynare 4.1.2
    3) In Matlab, type
    Code: Select all
    cd /Applications/Dynare/4.1.2/src/mex/sources

    4) In Matlab, type
    Code: Select all
    build_matlab

Is the error still there? If so, do the following:
    1) open /Applications/Utilities/Terminal.app
    2) At the terminal prompt, type:
    Code: Select all
    ls /Applications/Dynare/4.1.2/mex/matlab
    Post the output.
    3) At the terminal prompt, type:
    Code: Select all
    gcc-4.0 --version
    Post the output.
    4) At the terminal prompt, type
    Code: Select all
    cd /Applications/Dynare/4.1.2/src/mex/sources

    5) At the terminal prompt, type
    Code: Select all
    gcc-4.0 -c -I. -I/Applications/MATLAB_R2008b.app/extern/include -I/Applications/MATLAB_R2008b.app/simulink/include -DMATLAB_MEX_FILE -fno-common -no-cpp-precomp -fexceptions -DHAVE_PTHREAD -DMATLAB_MEX_FILE -DMATLAB_VERSION=0x0707 -DMX_COMPAT_32 -O3 "mjdgges/mjdgges.c" -o ../../../mex/matlab/mjdgges.o
    Post the output.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Installation on Mac

Postby HoutanBastani » Wed Aug 25, 2010 8:50 am

Hi,

I just installed Dynare 4.1.2 from the package downloaded from the website on OS X 10.5.8 and Matlab R2008a. As everything went smoothly, I can only assume that there is some specific problem with the setup on your computer. If you would like to discuss this further, please call me (check your private message inbox for my number).

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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests