[Neurodebian-devel] matlab-spm8 build error
Morgan Hough
morgan.hough at gmail.com
Sun Dec 21 20:32:44 UTC 2014
Thanks Michael,
Yes, you are correct. I should have written in to say I figured it out.
BTW, is there a to do list for the spm12 package people could help with?
Cheers,
-Morgan
> On Dec 21, 2014, at 2:45 AM, Michael Hanke <mih at debian.org> wrote:
>
> Hi Morgan,
>
> On Tue, Nov 11, 2014 at 07:48:30PM -0800, Morgan Hough wrote:
>> Hi there,
>>
>> Just wanted to report this error I got in case its useful.
>>
>> Setting up matlab-spm8 (8.5236~dfsg.1-1~nd12.04+1) ...
>> Building Matlab extensions (logfile at
>> /tmp/spm8-mexbuild-1415763735.y0uMVPT)
>> Makefile:402: warning: overriding commands for target `verb.mex'
>> Makefile:395: warning: ignoring old commands for target `verb.mex'
>> make: matlab-mex: Command not found
>> make: *** [utils_uchar.mexa64.o] Error 127
>> dpkg: error processing matlab-spm8 (--configure):
>> subprocess installed post-installation script returned error exit status 2
>> Setting up spm8-data (8.5236~dfsg.1-1~nd12.04+1) ...
>> Setting up spm8-doc (8.5236~dfsg.1-1~nd12.04+1) ...
>> Errors were encountered while processing:
>> matlab-spm8
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>> mex is in my paths but maybe its looking for something else?
>
> Thanks for the report. matlab-mex is maintained by the matlab-support
> package and should be symlinked via the alternatives system to one of
> you mex binaries. Here is an example:
>
> mih at medusa ~ % ll /usr/bin/matlab-mex
> lrwxrwxrwx 1 root root 28 Dez 11 2013 /usr/bin/matlab-mex -> /etc/alternatives/matlab-mex*
> mih at medusa ~ % update-alternatives --display matlab
> matlab - auto mode
> link currently points to /opt/MATLAB/R2012b/bin/matlab
> /opt/MATLAB/R2012b/bin/matlab - priority 0
> slave matlab-mbuild: /opt/MATLAB/R2012b/bin/mbuild
> slave matlab-mex: /opt/MATLAB/R2012b/bin/mex
> Current 'best' version is '/opt/MATLAB/R2012b/bin/matlab'.
>
>
> Do you have a dead symlink? This could happen when you upgrade MATLAB
> without re-configuring the matlab-support package.
>
> Michael
>
> --
> Michael Hanke
> http://mih.voxindeserto.de <http://mih.voxindeserto.de/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/neurodebian-devel/attachments/20141221/7bc1e515/attachment.html>
More information about the Neurodebian-devel
mailing list