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: http://www.nabble.com/Subject:-mex-broken-on-OS-X-Snow-Leopard.-Current-.dmg... 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