Problems installing dynare-matlab on Debian MATLAB R2012a
Posted: Mon Jun 04, 2012 8:52 pm
Hi,
I am experiencing some package compiling errors on my Debian system with dynare-matlab. The system has recently been upgraded MATLAB R2012a. Dynare-matlab was working okay before. This is a 64-bit system running gcc-multilib.
The log file "/tmp/dynare-matlab-mexbuild-1338842708.lkvguW4" is attached.
I am experiencing some package compiling errors on my Debian system with dynare-matlab. The system has recently been upgraded MATLAB R2012a. Dynare-matlab was working okay before. This is a 64-bit system running gcc-multilib.
The log file "/tmp/dynare-matlab-mexbuild-1338842708.lkvguW4" is attached.
- Code: Select all
Setting up dynare-matlab (4.2.5-2) ...
Building Matlab extensions (logfile at /tmp/dynare-matlab-mexbuild-1338842708.lkvguW4)
In file included from ../../../sources/mjdgges/mjdgges.c:23:0:
../../../sources/dynmex.h:30:33: error: invalid suffix "x" on integer constant
../../../sources/dynmex.h:31:13: error: conflicting types for ‘mwIndex’
In file included from /usr/local/MATLAB/extern/include/matrix.h:295:0,
from /usr/local/MATLAB/extern/include/mex.h:58,
from ../../../sources/dynmex.h:27,
from ../../../sources/mjdgges/mjdgges.c:23:
/usr/local/MATLAB/extern/include/tmwtypes.h:797:19: note: previous declaration of ‘mwIndex’ was here
In file included from ../../../sources/mjdgges/mjdgges.c:23:0:
../../../sources/dynmex.h:32:13: error: conflicting types for ‘mwSize’
In file included from /usr/local/MATLAB/extern/include/matrix.h:295:0,
from /usr/local/MATLAB/extern/include/mex.h:58,
from ../../../sources/dynmex.h:27,
from ../../../sources/mjdgges/mjdgges.c:23:
/usr/local/MATLAB/extern/include/tmwtypes.h:796:19: note: previous declaration of ‘mwSize’ was here
In file included from ../../../sources/mjdgges/mjdgges.c:24:0:
../../../sources/dynlapack.h:33:33: error: invalid suffix "x" on integer constant
../../../sources/mjdgges/mjdgges.c: In function ‘mjdgges’:
../../../sources/mjdgges/mjdgges.c:37:35: warning: variable ‘one’ set but not used [-Wunused-but-set-variable]
make[1]: *** [mjdgges.o] Error 1
make: *** [all-recursive] Error 1
dpkg: error processing dynare-matlab (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
dynare-matlab
E: Sub-process /usr/bin/dpkg returned an error code (1)