Hi, I am trying to install the Linux version of Mathlab (32bit) into my openSUSE 11.1 (64bit). With STATA this was at the time possible, having installed the 32bit GTK. This is a program running Java. So since I have both 32bit and 64bit Java installed it should work, no? 
Copying files to /usr/local/temp as indicated OK
Decompressing O.K.
su -
cd /usr/local/temp
./install
Executing ./install gives following error:
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: line 86: /usr/local/temp/update/bin/glnxa64/xsetup: No such file or directory
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
If I well understand in line 86 the script is calling the 64 bit version of the file gnlxa64 to call the 64 bit version of the program that is not available (as academic version).
I tried then the command line version.
linux-xu0v:/usr/local/temp # install* -t
install: option requires an argument -- 't'
Try `install --help' for more information.
The only argument I could imagine would be to indicate a directory name? But which one in this case, the one where install is located?
Anybody succeeded with an install before? Any help appreciated.
Thanks.
Could it be a space is missing between âinstallâ and â*â ? My guess is it should be:
install * -t
Note the âglnxa64â in the error messageâŚDoes the installer âgetâ the arch?
Hello my friend. Thank you for helping. The updater cannot get this directory because in the 32 bit version it does not exist. It was designed to install on a 32bit and 64bit system and then the file is simply not available. I would suppose the fact that no 64bit version is available for academic pricing is linked to a âcripplingâ of the files provided. So the installer (which comes with a different package) does âunderstandâ to be in the 64 bit OS and searches for the correct directoryâŚthat is naturally not there. This is my guess. The installer did create /usr/local/temp/update/bin/glnx86 where xsetup is then located. Since openSUSE to my knowledge is able to run 64 bit and 32 bit Java applications it should be however possible to run the command line version.
The install instructions given are as follows:
1.Create a temporary directory into which you can download files, and then cd into it. For example, to install into the location /usr/local/temp, use these commands:
cd /usr/local
mkdir temp
cd temp
Subsequent instructions refer to this directory as $TEMP.
2.Click the Download button for each product and save the file to your $TEMP directory. Some browsers, such as Firefox, save files to a default location, so you may need to configure your browser to prompt for the location to save downloaded files.
3.In the $TEMP directory, run the command tar -xf matlab_installer_glnx86.tar to expand the installer.
4.Once you have expanded the installer files in the $TEMP directory, run ./install to install the products. During the installation process, provide the information requested on each screen. For example, on the MATLAB Root Directory screen enter your installation location, such as /usr/local/matlab.
5.When the installer asks if you want to proceed with activation, click Continue. Activating right after installation is recommended. To get help for any part of the process, click Help on that screen.
I will now try with the space between install and *.
Edit:
linux-xu0v:/usr/local/temp # install * -t
install: option requires an argument â âtâ
I contacted the official support service and will report an eventual solution provided. Seems not so easy as I thought.
- Open a terminal window.
- In the terminal window, change directories to the location of the installation files. Ex:
/usr/local/temp (as suggested by the producer)
- Launch the installer in text mode with the -glnx86 flag:
./install -glnx86 -t
- 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.
(Works as described there, for Linux you have to recover the mac address of the primary Ethernet adapter with
/sbin/ifconfig eth0
and to activate on the website manually.
- 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 (so here /usr/local/temp/bin/matlab
(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)
When you do all this you can run it from a terminal. But currently I created a link in the start menu KDE3. The icon is in the matlab directory, goes well. In command I put the full path, but the program opens to run a shell window and only then matlab. Just for curiosity, why is this the case? Would like to make it without opening the shell. But for who reads this, the program runs fine with the procedure.