[Pkg-octave-devel] Bug#630160: Bug#630160: Install fails with "cannot stat `/usr/src/matlab/dynare-matlab/mex/matlab/*': No such file or directory"

Sébastien Villemot sebastien.villemot at ens.fr
Sat Jun 11 20:47:53 UTC 2011


Hi,

Obviously something went wrong during the compilation of the MEX
files. As you can see in the log you reported, there is a log of this
compilation step in /tmp (here
/tmp/dynare-matlab-mexbuild-1307810418.xAD9dV4 in your case). Please
post this log, it probably contains the explanation of your problem.

If this log has been deleted, you can regenerate it with
"dpkg-reconfigure dynare-matlab".

Best,

Pietro Battiston <me at pietrobattiston.it> writes:

> Package: dynare-matlab
> Severity: important
> Tags: wheezy
>
> If I try to install dynare-matlab, I get the output that is at the end of this
> report.
>
> Notice that /home/nobackup/matlab/ is the Matlab path: I gave it at some point
> in the first install, which failed exactly as this one, though after several
> other operations (among which one asking me to register Matlab again with the
> license file - and that's what I did).
>
> I'm available for any further testing.
>
> Pietro
>
>
> The following NEW packages will be installed:
>   dynare-matlab gfortran{a} gfortran-4.5{a} libboost-graph-dev{a} libboost-
> graph1.46-dev{a} libboost-graph1.46.1{a} libboost-serialization1.46-dev{a}
> libboost-test1.46-dev{a}
>   libboost-test1.46.1{a} matlab-support{a}
> 0 packages upgraded, 10 newly installed, 0 to remove and 72 not upgraded.
> Need to get 0 B/7259 kB of archives. After unpacking 25.2 MB will be used.
> Do you want to continue? [Y/n/?] Y
> Preconfiguring packages ...
> update-alternatives: using /home/nobackup/matlab/bin/matlab to provide
> /usr/bin/matlab (matlab) in auto mode.
> update-alternatives: warning: skip creation of /usr/bin/matlab-mbuild because
> associated file /home/nobackup/matlab/bin/mbuild (of link group matlab) doesn't
> exist.
> Selecting previously deselected package libboost-serialization1.46-dev.
> (Reading database ... 321662 files and directories currently installed.)
> Unpacking libboost-serialization1.46-dev (from .../libboost-
> serialization1.46-dev_1.46.1-5_amd64.deb) ...
> Selecting previously deselected package libboost-test1.46.1.
> Unpacking libboost-test1.46.1 (from .../libboost-test1.46.1_1.46.1-5_amd64.deb)
> ....
> Selecting previously deselected package libboost-test1.46-dev.
> Unpacking libboost-test1.46-dev (from .../libboost-
> test1.46-dev_1.46.1-5_amd64.deb) ...
> Selecting previously deselected package libboost-graph1.46-dev.
> Unpacking libboost-graph1.46-dev (from .../libboost-
> graph1.46-dev_1.46.1-5_amd64.deb) ...
> Selecting previously deselected package libboost-graph-dev.
> Unpacking libboost-graph-dev (from .../libboost-graph-dev_1.46.1.1_amd64.deb)
> ....
> Selecting previously deselected package gfortran-4.5.
> Unpacking gfortran-4.5 (from .../gfortran-4.5_4.5.3-1_amd64.deb) ...
> Selecting previously deselected package gfortran.
> Unpacking gfortran (from .../gfortran_4%3a4.5.2-2_amd64.deb) ...
> Selecting previously deselected package matlab-support.
> Unpacking matlab-support (from .../matlab-support_0.0.14_all.deb) ...
> Selecting previously deselected package dynare-matlab.
> Unpacking dynare-matlab (from .../dynare-matlab_4.2.1-1_all.deb) ...
> Selecting previously deselected package libboost-graph1.46.1.
> Unpacking libboost-graph1.46.1 (from .../libboost-
> graph1.46.1_1.46.1-5_amd64.deb) ...
> Processing triggers for man-db ...
> Setting up libboost-serialization1.46-dev (1.46.1-5) ...
> Setting up libboost-test1.46.1 (1.46.1-5) ...
> Setting up libboost-test1.46-dev (1.46.1-5) ...
> Setting up libboost-graph1.46-dev (1.46.1-5) ...
> Setting up libboost-graph-dev (1.46.1.1) ...
> Setting up gfortran-4.5 (4.5.3-1) ...
> Setting up gfortran (4:4.5.2-2) ...
> update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in
> auto mode.
> Setting up matlab-support (0.0.14) ...
> Tried renaming /home/nobackup/matlab/sys/os/glnx86/libgcc_s.so.1
> Tried renaming /home/nobackup/matlab/sys/os/glnx86/libstdc++.so.6
> Tried renaming /home/nobackup/matlab/sys/os/glnxa64/libgcc_s.so.1
> Tried renaming /home/nobackup/matlab/sys/os/glnxa64/libstdc++.so.6
> Setting up dynare-matlab (4.2.1-1) ...
> Building Matlab extensions (logfile at /tmp/dynare-matlab-
> mexbuild-1307810418.xAD9dV4)
> install: cannot stat `/usr/src/matlab/dynare-matlab/mex/matlab/*': No such file
> or directory
> dpkg: error processing dynare-matlab (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Setting up libboost-graph1.46.1 (1.46.1-5) ...
> configured to not write apport reports
>                                       Errors were encountered while processing:
>  dynare-matlab
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> Setting up dynare-matlab (4.2.1-1) ...
> Building Matlab extensions (logfile at /tmp/dynare-matlab-
> mexbuild-1307810448.JVfaVLt)
> install: cannot stat `/usr/src/matlab/dynare-matlab/mex/matlab/*': No such file
> or directory
> dpkg: error processing dynare-matlab (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  dynare-matlab
>
>
>
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (650, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
>
>
> _______________________________________________
> Pkg-octave-devel mailing list
> Pkg-octave-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-octave-devel

-- 
Sébastien Villemot
CEPREMAP - Paris School of Economics
Homepage: http://www.dynare.org/sebastien
Landline phone: +33 1 40 77 49 90
SIP phone: sebastien.villemot at ekiga.net
PGP Key: 0xA6C029B9D06B2913D71C105EBE37E801FB6EFF8B (http://pgp.mit.edu/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20110611/bd1d1616/attachment-0001.pgp>


More information about the Pkg-octave-devel mailing list