From: Leonard Yu on
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 . . .

From: Peter Boettcher on
"Leonard Yu" <lq.nospam(a)hotmail.com> writes:

> 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
>
> -------------------------------------------------------------------

This happens on Fedora as well. For some strange reason (it reminds of
Microsoft, actually) the CD is automounted without any execute
permissions. It might be a security risk to run progams off a CD, and
since the OS knows better than the user....

Anyway, there's probably some setting to adjust this, but I just
manually unmount it from /media and mount it manually (as root), which
allows the execute permission.

-Peter
From: Milos on
"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: Milos on
"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: 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