Hello,

1) I believe the Matlab problem is due to the recent change in operating systems. If CEPREMAP has a site license for Matlab, I can install the newest version and see if it still poses a problem. Otherwise, I can purchase it from Mathworks and do the same thing. Please tell me which path to go down and whether or not this should be explored at this point.

2) I was able to install Octave via MacPorts (compiled using gcc4.3, the only other octave variant available through MacPorts being gcc4.4). Though the Dynare Makefile now compiles MEX for Octave, make check fails. My guess is that this is because everything is compiled with g++ version 4.5.

Best,
Houtan




On Tue, Sep 22, 2009 at 1:41 PM, houtan <houtanb@gmail.com> wrote:
This is my mystake: I forgot to add the build options for MATLAB MEX
files under MacOS. This is now fixed. Please update and retry.

I have updated the files. The configure script correctly recognizes Matlab however, during the build process, I get the following error:

Making all in mex/build
Making all in mjdgges/matlab
gcc-4.0  -fno-common -no-cpp-precomp -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -fexceptions -O2  -L/Applications/MATLAB_R2007b/bin/maci -Wl,-twolevel_namespace -undefined error -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bundle -Wl,-exported_symbols_list,/Applications/MATLAB_R2007b/extern/lib/maci/mexFunction.map -o mjdgges.mexmaci mjdgges.o  -lmx -lmex -lmat -lsdtc++ -lmwlapack -lmwblas
ld: library not found for -lsdtc++
collect2: ld returned 1 exit status
make[2]: *** [mjdgges.mexmaci] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Should this reference libstdc++ instead of libsdtc++? If not, I'm running Mac OS X 10.6, which might have something to do with this (even though OS X v10.6 provides the v10.5 SDK too).
 
Try the Octave 3.2.2 build from this site:
http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary

This is actually the version of Octave I previously had installed. It seems that, even though they have updated the binaries for Octave 3.2.2, they have configured them for darwin8 as opposed to darwin9 (for OS X 10.5) or darwin10 (for OS X 10.6). There is a post to this effect here:
In searching online, I have found that there may be a version of Octave available for on MacPorts for OS X 10.6. I will check this and get back to you.

What is your dblatex version? My guess is that it is too old. I am using
0.2.12.
 
Correct. My version was 0.2.10. I have now updated to 0.2.12 and everything checks out. I updated the wiki page accordingly.

Take care,
Houtan