After I successfully installed MATLAB R2017a, matlab-support
and dynare
(4.5.1-1build1) from the Ubuntu 17.10 repository I got the following error trying to install dynare-matlab
:
$ sudo apt-get install dynare-matlab Reading package lists... Done Building dependency tree Reading state information... Done dynare-matlab is already the newest version (4.5.1-1build1). The following packages were automatically installed and are no longer required: gir1.2-appindicator3-0.1 python3-xlib Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Setting up dynare-matlab (4.5.1-1build1) ... Building Matlab extensions (logfile at /tmp/dynare-matlab-mexbuild-1510318107.pBAeHKW) configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: '9.2 Invalid configuration `'9.2': machine `'9.2' not recognized configure: error: /bin/bash ./config.sub '9.2 failed dpkg: error processing package dynare-matlab (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: dynare-matlab E: Sub-process /usr/bin/dpkg returned an error code (1)
Manually installing the library libmatio-dev
as suggested in other posts didn’t help as I already have the newest version. I had the same issue on Ubuntu 16.04. Any help?