Il giorno sab, 11/06/2011 alle 22.47 +0200, Sébastien Villemot ha scritto: > Hi, > [...] > Please > post this log, it probably contains the explanation of your problem.
Indeed, sorry for not posting it - only now I understand the real problem came _before_ the error printed on screen. It's attached, and it suggests Matlab was not recognized. Still, "update-alternatives: using /home/nobackup/matlab/bin/matlab to provide /usr/bin/matlab (matlab) in auto mode." made me think I had correctly fed the Matlab path (version 7.12.0, R2011a) to the configuration process... Moreover, Matlab _was_ recognized in some way, since it prompted for a new activation. Let me know if there's additional info which can be useful. Pietro
debian-matlab-mexhelper 0.0.13 Copyright (C) 2010-2011 Michael Hanke <michael.ha...@gmail.com> Licensed under GNU Public License version 3 or later. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Michael Hanke. Attempt to build Matlab extensions Package name: dynare-matlab Source directory: /usr/src/matlab/dynare-matlab/mex/build/matlab MEX dir: /usr/lib/matlab/site/dynare-matlab M dir: /usr/share/matlab/site/m/dynare-matlab Build user (if any): Build command: ./configure --with-matlab=$(dirname $(dirname $(readlink -f `which matlab`))) MATLAB_VERSION=$(echo version | matlab -nodesktop -nodisplay -nosplash 2>/dev/null | grep -A2 "ans ="|tail -1| cut -d "." -f 1,2) && make Install command: mkdir -p /usr/lib/dynare/mex/matlab && install -m644 /usr/src/matlab/dynare-matlab/mex/matlab/* /usr/lib/dynare/mex/matlab Clean command: make distclean && rmdir /usr/src/matlab/dynare-matlab/mex/matlab Attempt to build Matlab extensions: ./configure --with-matlab=$(dirname $(dirname $(readlink -f `which matlab`))) MATLAB_VERSION=$(echo version | matlab -nodesktop -nodisplay -nosplash 2>/dev/null | grep -A2 "ans ="|tail -1| cut -d "." -f 1,2) && make checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for MATLAB prefix... /home/nobackup/matlab checking whether to enable MATLAB support... yes checking for MATLAB version... unknown checking for MEX-file suffix... mexa64 setting MEX-file suffix to .mexa64 checking for MATLAB machine architecture... glnxa64 checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran checking whether the Fortran 77 compiler works... yes checking for Fortran 77 compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking whether ln -s works... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for boostlib >= 1.36... yes checking for dlopen in -ldl... yes configure: Dynare is now configured for building the following components... Binaries (with "make"): MEX files for MATLAB: no (missing MATLAB, or unknown version, or unknown architecture) M2HTML documentation: no configure: creating ./config.status config.status: creating Makefile config.status: creating mjdgges/Makefile config.status: creating kronecker/Makefile config.status: creating bytecode/Makefile config.status: creating libdynare++/Makefile config.status: creating gensylv/Makefile config.status: creating k_order_perturbation/Makefile config.status: creating dynare_simul_/Makefile config.status: executing depfiles commands make[1]: Entering directory `/usr/src/matlab/dynare-matlab/mex/build/matlab' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/usr/src/matlab/dynare-matlab/mex/build/matlab' mkdir -p /usr/lib/dynare/mex/matlab && install -m644 /usr/src/matlab/dynare-matlab/mex/matlab/* /usr/lib/dynare/mex/matlab