Pietro Battiston <m...@pietrobattiston.it> writes:

> pietro@voubian:~$ LANG=C sudo aptitude safe-upgrade 
> Resolving dependencies...                
> The following partially installed packages will be configured:
>   dynare-matlab 
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
> Need to get 0 B of archives. After unpacking 0 B will be used.
> Setting up dynare-matlab (4.2.1-1) ...   
> Building Matlab extensions (logfile
> at /tmp/dynare-matlab-mexbuild-1307832274.2nStzib)
> /bin/mkdir: cannot create directory `../../../matlab': Permission denied

The problem here is the following:

- dynare-matlab tells to matlab-support that its MEX sources are in
  /usr/src/matlab/dynare-matlab/mex/build/matlab; in this directory,
  matlab-support correctly sets the permission for the dedicated MATLAB
  user;

- but the build system of dynare-matlab wants to create a directory
  which is outside this source directory, and this fails for lack of
  permission;

- I had not noticed this problem, since my dedicated MATLAB user is in
  the "src" group, which has the necessary permissions.

This problem is indeed a bug of "dynare-matlab". I am going to reassign
it and fix it soon.

-- 
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.ville...@ekiga.net
PGP Key: 0xA6C029B9D06B2913D71C105EBE37E801FB6EFF8B (http://pgp.mit.edu/)

Attachment: pgpCtvHQPmycZ.pgp
Description: PGP signature

Reply via email to