Unsure of Java/Gnome/MatLab interactions

Sarunas Burdulis sarunas at math.dartmouth.edu
Tue Feb 9 13:41:16 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

KAYVEN RIESE wrote:
> I just installed a fresh new Ubuntu last week.. 9.10
> 
> Script done, file is matlab.log
> root at kayve-laptop:~/apt-gets# uname -a
> Linux kayve-laptop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 
> UTC 2010 x86_64 GNU/Linux
> root at kayve-laptop:~/apt-get
> 
> I bought MatLab and here are instructions given to me:
>   Student Downloads
> Linux (32-bit) Download and Installation Instructions
> 
> ... ... ...
>
> root at kayve-laptop:~# apt-get install openjdk-6-jre

Matlab comes with its own Java. You can still have OpenJDK or other Java
installed system-wide, but this has nothing to do with the subsequent
failure of the Matlab installer in your case.

> ... ... ...
> root at kayve-laptop:/usr/local/temp# ./install
> 
> Extracting student file stu_control_glnx86.tar
> Extracting student file stu_dspblks_glnx86.tar
> Extracting student file stu_images_glnx86.tar
> Extracting student file stu_matlab_glnx86.tar
> Extracting student file stu_optim_glnx86.tar
> Extracting student file stu_pde_glnx86.tar
> Extracting student file stu_signal_glnx86.tar
> Extracting student file stu_simulink_glnx86.tar
> Extracting student file stu_stats_glnx86.tar
> Extracting student file stu_symbolic_glnx86.tar
> 
> Extracting ftp files . . . [please wait]
> Extracting matlab.common
> Extracting matlab.glnx86
> Extracting tbx.simulink.common
> Extracting tbx.simulink.glnx86
> Extracting tbx.control.common
> Extracting tbx.control.glnx86
> Extracting tbx.optim.common
> Extracting tbx.optim.glnx86
> Extracting tbx.signal.common
> Extracting tbx.signal.glnx86
> Extracting tbx.symbolic.common
> Extracting tbx.symbolic.glnx86
> Extracting tbx.images.common
> Extracting tbx.images.glnx86
> Extracting tbx.stats.common
> Extracting tbx.stats.glnx86
> Extracting tbx.dspblks.common
> Extracting tbx.dspblks.glnx86
> Extracting tbx.pde
> Finished extracting ftp files.
> Starting installer ...
> -------------------------------------------------------------------
> 
>      An error status was returned by the program 'xsetup',
>      the X Window System version of 'install'. The following
>      messages were written to standard error:
> 
>          /usr/local/temp/update/install/main.sh: 178: 
> /usr/local/temp/update/bin/glnxa64/xsetup: not found
> 
>      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 . . .
> ... ... ...

You are starting installer in graphics mode (default) as root and that's
why it fails. You can either
1) run 'sudo ./install', which will run graphical installer with
superuser privileges, or
2) as root, run './install -t', which will run the installer in text mode.

- --
Sarunas Burdulis
Systems Administrator
Department of Mathematics, Dartmouth College
http://math.dartmouth.edu/~sarunas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktxZfwACgkQejaFVltl6E8s0QCcCLfd18G0JKvnisttOIMfkTU7
NU0An0q8npv2ki1a+pulIvqvdMIG873C
=5R4m
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list