[Neurodebian-users] matlab-spm8 fails to install due to missing gcc
Michael Hanke
mih at debian.org
Wed Sep 21 11:30:31 UTC 2011
On Tue, Sep 20, 2011 at 02:54:38PM +0200, Holger Krause wrote:
> "aptitude install libstdc++6-4.3-dev" installs "binutils{a} g++-4.3{a}
> gcc-4.3{a} libc6-dev{a} libgomp1{a} libstdc++6-4.3-dev linux-libc-dev{a}", but
> no unversioned gcc! So 'aptitude install matlab-spm8' fails, due to
> "/usr/bin/matlab-mex: line 305: gcc: command not found"
>
> Only after manually installing unversioned gcc with "aptitude install gcc"
> mex-files of spm8 can be compiled and matlab-spm8 gets properly configured.
>
> To me it looks like matlab-support for lenny should not recommend, but depend
> on some version of libstdc++6-...-dev and also on gcc. (I'm no expert on this
> and I don't know which are the minimal requirements to fullfill these
> dependencies. Can you depend on a virtual package like 'libstdc++-dev'?)
What if we make it depend on 'build-essential'? Could Matlab compile MEX
extensions without gcc being installed?
Thanks for digging into this!
Michael
--
Michael Hanke
http://mih.voxindeserto.de
More information about the Neurodebian-users
mailing list