From: Saikat Ray on
This is happening due to the fact that Ubuntu by default
mounts cdrom as non-executable, even if you mount it as a
root. The solution is to change the /etc/fstab. First
unmount the cdrom (DVD in my case). Then edit the line for
cdrom from something like:

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

to

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0


i.e., add the option 'exec'. Then mount the cdrom and
proceed with the installation as written in the matlab
installation guide.

Reference: http://ubuntuforums.org/showthread.php?t=440172
(see the answer by seatopia)

"Milos " <milosmiljkovic(a)hotmail.com> wrote in message
<fimvtt$2f8$1(a)fred.mathworks.com>...
> "Leonard Yu" <lq.nospam(a)hotmail.com> wrote in message
> <fihapi$a5q$1(a)fred.mathworks.com>...
> > I got the following error message when I tried to install
> > MATLAB 2007a on CentOS 5. The installation CD is mounted on
> > /media/MATHWORKS_R2007A. Anyone has a suggestion about that?
> >
> > $ su
> > # cd /usr/local
> > # mkdir matlab
> > # cd matlab
> > # sh /media/MATHWORKS_R2007A/install
> >
>
-------------------------------------------------------------------
> >
> > An error status was returned by the program 'xsetup',
> > the X Window System version of 'install'. The following
> > messages were written to standard error:
> >
> > /media/MATHWORKS_R2007A/update/install/main.sh: line
> > 86: /media/MATHWORKS_R2007A/update/bin/glnx86/xsetup:
> > Permission denied
> >
> > Attempt to fix the problem and try again. If X is not
> > available
> > or 'xsetup' cannot be made to work then try the terminal
> > version of 'install' using the command:
> >
> > install* -t or INSTALL* -t
> >
> >
>
-------------------------------------------------------------------
> >
> > Sorry! Setup aborted . . .
> >
> I found the following solution on the net:
> - mount the disc manually, say DVD drive is /dev/hdb)
> - umount /dev/hdb
> - mkdir /media/dvd
> - mount /dev/hdb /media/dvd
> - if libXp.so.6 is missing: yum -y install libXp

From: Claire Lee on
Hi,

I encountered the same problem. But I don't have any
installation CD and I am not using a cd or dvd rom. I only
have the installation files downloaded from my university's
webstore. Then what should I do? Can any one help me?
Thanks very much.

Shelley

"Saikat Ray" <raysaikat(a)gmail.com> wrote in message <fkvjc9
$d0j$1(a)fred.mathworks.com>...
> This is happening due to the fact that Ubuntu by default
> mounts cdrom as non-executable, even if you mount it as a
> root. The solution is to change the /etc/fstab. First
> unmount the cdrom (DVD in my case). Then edit the line for
> cdrom from something like:
>
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
>
> to
>
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
>
>
> i.e., add the option 'exec'. Then mount the cdrom and
> proceed with the installation as written in the matlab
> installation guide.
>
> Reference: http://ubuntuforums.org/showthread.php?t=440172
> (see the answer by seatopia)
>