Unsure of Java/Gnome/MatLab interactions

KAYVEN RIESE kayve at sfsu.edu
Wed Feb 10 20:40:24 UTC 2010


On Wed, 10 Feb 2010, Sarunas Burdulis wrote:

>>>>      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
>>>>
             .                   .              .
>>>> -------------------------------------------------------------------
>>>>
>>>>      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
>>
>> Did I do this wrong?
>>
>> kayve at kayve-laptop:/usr/local/temp$ sudo ./install
>> [sudo] password for kayve:
>>
>> Extracting student file stu_control_glnx86.tar

          .       .       .

>> 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
>
> It's looking in glnx64, while you're attempting to install a 32-bit
> version.

yeah.  I got help from a guy from MatLab:

Hello Kayven,

I am writing in reference to your Service Request # 1-C36OHO regarding 
'Can't install update/bin/glnxa64/xsetup: not found'.

This error indicates that you are installing MATLAB on a 64 bit Linux 
distribution.  Due to product incompatibilities, the MATLAB Student 
version is available in 32-bit only.  Thus installing MATLAB on a 64-bit 
Linux or 64-bit Windows is not supported.  The MATLAB Student Version is 
supported on 64-bit Mac OS X, but the software runs in 32-bit mode only.

While not supported, it is possible to install the 32-bit version of 
MATLAB on a 64-bit machine.  See the information below for instructions 
for your operating system:

Linux:

In order to install MATLAB, you will need to tell the installer to install 
the 32 bit version of MATLAB.  To do so you will give the installer the 
-glnx86 flag.  Once MATLAB is installed, you will also need to start 
MATLAB with this flag.  Follow the instructions below to install 32-bit 
MATLAB on Linux

1) Open a terminal window.
2) In the terminal window, change directories to the location of the 
installation files.  Ex:

cd /media/MATHWORKS_R2008b/

3) Launch the installer in text mode with the -glnx86 flag:

./install_unix.sh -glnx86 -t

4) Once the installer is finished, you will need to activate manually from 
the website as the activation client will not launch on a 64-bit Linux 
machine.  To activate manually, see the Related Solution, 1-3YZBZ6.

5) Once MATLAB is installed and activated, you will need to run MATLAB 
using the same -glnx86 flag that you used to install.  For example:

$MATLAB/bin/matlab -glnx86

(where $MATLAB is the MATLAB installation folder)

NOTE: Some users have problems loading the JRE when running in this 
configuration.  Creating a symlink in $MATLAB/sys/java/jre named 'glnxa64' 
pointing to 'glnx86' should resolve this issue.  You can do this with the 
following command:

ln -s $MATLAB/sys/java/jre/glnx86 $MATLAB/sys/java/jre/glnxa64

(where $MATLAB is the MATLAB installation folder)

If you have any further questions, please do not hesitate to email me 
back. Please be sure to keep the THREAD ID included at the bottom of this 
email intact when replying to this message.  If you have a new technical 
support question, please submit a new request here:

http://www.mathworks.com/contact_TS.html

Regards,

Brian Worthington
Installation and Licensing Specialist
The MathWorks
508-647-7000
support at mathworks.com

[THREAD ID: 1-C36OHO]
Reply

Forward



Reply

|
Kayven Riese
> cd /media/MATHWORKS_R2009b I didn't get a CD. I downloaded the files and 
I ...

12:06 PM (32 minutes ago)
Kayven RieseLoading...
12:06 PM (32 minutes ago)
Kayven Riese
  to support

show details 12:06 PM (32 minutes ago)



On Wed, Feb 10, 2010 at 5:10 AM, <support at mathworks.com> wrote:


     Linux:

     In order to install MATLAB, you will need to tell the installer to 
install the 32 bit version of MATLAB.  To do so you will give the 
installer the -glnx86 flag.  Once MATLAB is installed, you will also need 
to start MATLAB with this flag.  Follow the instructions below to install 
32-bit MATLAB on Linux

     1) Open a terminal window.
     2) In the terminal window, change directories to the location of the 
installation files.  Ex:

     cd /media/MATHWORKS_R2009b


I didn't get a CD.  I downloaded the files and I have them in 
/usr/local/temp.  I hope it's okay to use a superuser prompt.  I am still 
not clear on the big deal about this sudo nonsense. I just asked the 
Ubuntu folks about that one..


     3) Launch the installer in text mode with the -glnx86 flag:

     ./install_unix.sh -glnx86 -t



There is no "install_unix.sh," but maybe because before I downloaded I 
pressed a radio button that was for "Linux" that differentiated me from 
the "MacOSX" and "Microsoft" downloads.  I got tar.gz files. I will try 
the flag on my "install" script:

hmm.. it seems to be going well.. Thanks. I will let you know if I have 
problems.


     4) Once the installer is finished, you will need to activate manually 
from the website as the activation client will not launch on a 64-bit 
Linux machine.  To activate manually, see the Related Solution, 1-3YZBZ6.

     5) Once MATLAB is installed and activated, you will need to run MATLAB 
using the same -glnx86 flag that you used to install.  For example:

     $MATLAB/bin/matlab -glnx86

     (where $MATLAB is the MATLAB installation folder)

     NOTE: Some users have problems loading the JRE when running in this 
configuration.  Creating a symlink in $MATLAB/sys/java/jre named 'glnxa64' 
pointing to 'glnx86' should resolve this issue.  You can do this with the 
following command:

     ln -s $MATLAB/sys/java/jre/glnx86 $MATLAB/sys/java/jre/glnxa64

     (where $MATLAB is the MATLAB installation folder)

     If you have any further questions, please do not hesitate to email me 
back. Please be sure to keep the THREAD ID included at the bottom of this 
email intact when replying to this message.  If you have a new technical 
support question, please submit a new request here:

     http://www.mathworks.com/contact_TS.html

     Regards,

     Brian Worthington
     Installation and Licensing Specialist
     The MathWorks
     508-647-7000
     support at mathworks.com

     [THREAD ID: 1-C36OHO]




-- 

*----------------------------------------------------------*
  Kayven Riese, BSCS,
                      MS  (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*----------------------------------------------------------*



Reply

Forward



Reply

|
Kayven Riese
  to support

show details 12:23 PM (15 minutes ago)



On Wed, Feb 10, 2010 at 5:10 AM, <support at mathworks.com> wrote:

     Hello Kayven,

     I am writing in reference to your Service Request # 1-C36OHO regarding 
'Can't install update/bin/glnxa64/xsetup: not found'.

     This error indicates that you are installing MATLAB on a 64 bit Linux 
distribution.  Due to product incompatibilities, the MATLAB Student 
version is available in 32-bit only.  Thus installing MATLAB on a 64-bit 
Linux or 64-bit Windows is not supported.  The MATLAB Student Version is 
supported on 64-bit Mac OS X, but the software runs in 32-bit mode only.

     While not supported, it is possible to install the 32-bit version of 
MATLAB on a 64-bit machine.  See the information below for instructions 
for your operating system:

     Linux:

     In order to install MATLAB, you will need to tell the installer to 
install the 32 bit version of MATLAB.  To do so you will give the 
installer the -glnx86 flag.  Once MATLAB is installed, you will also need 
to start MATLAB with this flag.  Follow the instructions below to install 
32-bit MATLAB on Linux

     1) Open a terminal window.
     2) In the terminal window, change directories to the location of the 
installation files.  Ex:

     cd /media/MATHWORKS_R2008b/

     3) Launch the installer in text mode with the -glnx86 flag:

     ./install_unix.sh -glnx86 -t

     4) Once the installer is finished, you will need to activate manually 
from the website as the activation client will not launch on a 64-bit 
Linux machine.  To activate manually, see the Related Solution, 1-3YZBZ6.

     5) Once MATLAB is installed and activated, you will need to run MATLAB 
using the same -glnx86 flag that you used to install.  For example:

     $MATLAB/bin/matlab -glnx86

     (where $MATLAB is the MATLAB installation folder)

     NOTE: Some users have problems loading the JRE when running in this 
configuration.  Creating a symlink in $MATLAB/sys/java/jre named 'glnxa64' 
pointing to 'glnx86' should resolve this issue.  You can do this with the 
following command:

     ln -s $MATLAB/sys/java/jre/glnx86 $MATLAB/sys/java/jre/glnxa64

     (where $MATLAB is the MATLAB installation folder)


I am not really supposed to have a $MATLAB environment variable?

[::superuser prompt clip::]
---------------------------------------------------------------------------
Error: Cannot locate Java Runtime Environment (JRE).
The directory /usr/local/matlabR2009b/sys/java/jre/glnxa64/jre does not 
exist.
---------------------------------------------------------------------------
root at kayve-laptop:/usr/local/temp# echo $MATLAB

root at kayve-laptop:/usr/local/temp#
[::end clip::]

I see this seems related to what you are saying

[::superuser prompt clip::]
root at kayve-laptop:/usr/local/temp# ln -s 
/usr/local/matlabR2009b/sys/java/jre/glnx86 
/usr/local/matlabR2009b/sys/java/jre/glnxa64
root at kayve-laptop:/usr/local/temp#

[::end clip::]

Will Matlab show up in my Gnome, or I just invoke it for the command line?

okay

[:: regular user prompt clip::]
kayve at kayve-laptop:~$ matlab

     matlab: No MATLAB bin directory for this machine architecture.

            ARCH = glnxa64

kayve at kayve-laptop:~$ matlab -glnx86
kayve at kayve-laptop:~$

[::end clip::]

OK.. now I don't have a serial number because I purchased MatLab online 
and downloaded the files.


     If you have any further questions, please do not hesitate to email me 
back. Please be sure to keep the THREAD ID included at the bottom of this 
email intact when replying to this message.  If you have a new technical 
support question, please submit a new request here:

     http://www.mathworks.com/contact_TS.html

     Regards,

     Brian Worthington
     Installation and Licensing Specialist
     The MathWorks
     508-647-7000
     support at mathworks.com

     [THREAD ID: 1-C36OHO]



- Show quoted text -

>
>
> - --
> 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
>
> iEYEARECAAYFAktyzGQACgkQejaFVltl6E+M9QCbByOnrgLcVWOBaon3Pq3I6mNN
> Ue8AnA0BGZfFNDiMwFfInV5ASu7sR/wq
> =YqMj
> -----END PGP SIGNATURE-----
>
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

*----------------------------------------------------------*
   Kayven Riese, BSCS, MS (Physiology and Biophysics)
   (415) 902 5513 cellular
   http://kayve.net
   Webmaster http://ChessYoga.org
*----------------------------------------------------------*




More information about the ubuntu-users mailing list