Fedora Linux Support Community & Resources Center
  #1  
Old 24th April 2006, 03:27 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
Installing Matlab R14 SP3 on X86_64 FC5

Hey guys, I'm still kinda new to linux, so I'm probably doing this completely wrong, but I've been having a few problems with installation of Matlab.

When I follow the instructions from the matlab website :

Quote:
If you are installing from a CD, execute the following command to run the MathWorks Installer.

/cdrom/install &
In my case /cdrom is /media/MathWorks_R14sp3/ thus I do:
Code:
[root@det-lappy matlab]# /media/MathWorks_R14sp3/install &
[1] 3132
bash: /media/MathWorks_R14sp3/install: No such file or directory
Reading around a few sites from a google search I saw that a lot of people put a * at the end of install (what does this do btw?)

Code:
[root@det-lappy matlab]# /media/MathWorks_R14sp3/install* &
[2] 3140
[1]   Exit 127                /media/MathWorks_R14sp3/install
bash: /media/MathWorks_R14sp3/install_unix.sh: /bin/sh: bad interpreter: Permission denied
I figure this is closer, because now it's trying to run the install_unix.sh, but yeh, now I'm getting a bad interpreter problem :/

Any help is most appreciated thanks.
Reply With Quote
  #2  
Old 26th April 2006, 12:08 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
Can anyone help?
Reply With Quote
  #3  
Old 29th April 2006, 11:00 AM
dubrict Offline
Registered User
 
Join Date: Apr 2006
Posts: 5
same problem

I have the exact same problem... I've been looking for a solution, but there doesn't seem to be any help out there yet..
Reply With Quote
  #4  
Old 29th April 2006, 11:27 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
I'm going in to see my uni departments head IT admin tomorrow; he's a gawd with Linux and he has Matlab setup on all my departments comps, so hopefully he can help. I'll post what he did once it's done.
Reply With Quote
  #5  
Old 29th April 2006, 11:30 AM
dubrict Offline
Registered User
 
Join Date: Apr 2006
Posts: 5
actually I just found something, go to:
http://www.mathworks.com/support/sol...O.html?1-O7POO

it shows how to install the 32-bit version... but first you need to copy the files to your hard drive
Reply With Quote
  #6  
Old 29th April 2006, 12:19 PM
dubrict Offline
Registered User
 
Join Date: Apr 2006
Posts: 5
I have the student version, and there's no support in it for 64-bit linux... so I have to come up with several workarounds to get it to install in 32. Most of the problems come from having to activate it though...
Reply With Quote
  #7  
Old 30th April 2006, 12:36 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
So the third work around:
Quote:
3) Copy all 3 CD's into a single directory on your local hard drive and then run the installer with the -glnx86 and -nocp flags. Note some files will be overwritten during this process.
worked for you?
Reply With Quote
  #8  
Old 30th April 2006, 01:27 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
Code:
[root@det-lappy matlab]# /home/joe/matlabcd/MathWorks_R14sp3/install_unix.sh
-------------------------------------------------------------------

    An error status was returned by the program 'xsetup',
    the X Window System version of 'install'. The following
    messages were written to standard error:

        /home/joe/matlabcd/MathWorks_R14sp3/unix/update/install/main.sh: line 162: /home/joe/matlabcd/MathWorks_R14sp3/unix/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

-------------------------------------------------------------------

    Sorry! Setup aborted . . .

[root@det-lappy matlab]# /home/joe/matlabcd/MathWorks_R14sp3/install_unix.sh -glnx86
-------------------------------------------------------------------

    An error status was returned by the program 'xsetup',
    the X Window System version of 'install'. The following
    messages were written to standard error:

        /home/joe/matlabcd/MathWorks_R14sp3/unix/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: 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

-------------------------------------------------------------------

    Sorry! Setup aborted . . .

[root@det-lappy matlab]# /home/joe/matlabcd/MathWorks_R14sp3/install_unix.sh -glnx86 -t


                         Welcome to the MATLAB Installer

   ---------------------------------------------------------------------------
   | Please review the license agreement on the next set of screens.  On any |
   | screen the options to proceed are at the bottom.  Type your response    |
   | at the prompt.                                                          |
   ---------------------------------------------------------------------------

                      The MathWorks, Inc. [screen 1 of 73]
                      -------------------
Software License


IMPORTANT NOTICE

THE LICENSE AGREEMENT TOGETHER WITH ANY APPLICABLE ADDENDUM REPRESENTS
THE ENTIRE AGREEMENT BETWEEN YOU (THE "LICENSEE") AND THE MATHWORKS,
INC. ("MATHWORKS") CONCERNING THE PROGRAM(S) AND DOCUMENTATION
DELIVERED HEREUNDER.

----------------------------------------------------------------------------
                >>>>>>>> For this License Agreement <<<<<<<<
Enter either:  <return>       a        r        p      ^C
To:          [next screen] [accept] [reject] [print] [abort]
----------------------------------------------------------------------------
> a
/home/joe/matlabcd/MathWorks_R14sp3/unix/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
Argh, getting so close >_<
Did you actually get it to install? I'm just about to start googling for libXp.so.6
Reply With Quote
  #9  
Old 30th April 2006, 02:18 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
That was easy
Code:
yum install libXp
haha, it's installing now, hopefully it works >_<
Reply With Quote
  #10  
Old 30th April 2006, 03:10 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
ZOMG ITS GOING!!!!

It installed fine (well, after doing all of the above, barely fine I guess); then I was faced with the next problem:
Code:
[root@det-lappy bin]# ./matlab -glnx86
[root@det-lappy bin]# ---------------------------------------------------------------------------
Error: Cannot locate Java Runtime Environment (JRE).
The directory /usr/local/matlab/sys/java/jre/glnxa64/jre does not exist.
---------------------------------------------------------------------------
It's a rather lame fix, but I just made the above directory:
Code:
[root@det-lappy bin]# cd ..
[root@det-lappy matlab]# cd sys/java/jre/
[root@det-lappy jre]# mkdir glnxa64
[root@det-lappy jre]# cp -r glnx86/*.* glnxa64/
Then it worked
Code:
[root@det-lappy bin]# ./matlab -glnx86
[root@det-lappy bin]# /usr/share/themes/Clearlooks/gtk-2.0/gtkrc:58: Engine "clearlooks" is unsupported, ignoring
Took a while to load, but it opened up, and gave me the registration screen for my matlab (it also gave me my machine ID), so I could then register my Matlab, and then I just opened it:

Code:
[root@det-lappy bin]# ./matlab -glnx86

Hope it works for you ^_^!
Reply With Quote
  #11  
Old 3rd May 2006, 12:02 AM
dubrict Offline
Registered User
 
Join Date: Apr 2006
Posts: 5
Yeah, I tried the same thing you did, copying the java files into a new directory. That didn't work for me, so I called up Mathworks and had a chat with them about how they don't seem to think students are technologically advanced enough to have 64-bit computers... they gave me a workaround for the product activation and told me how to run matlab without Java. I don't know how useful the program will be with the limited functionality that will afford, though.
I haven't tried it out yet, as I'm a student at Clarkson and it's final exam time... I'll probably get to it tomorrow, when everything's done. Only problem is, I'm going home to a dial-up connection.. :-\
Reply With Quote
  #12  
Old 3rd May 2006, 01:07 AM
Det0r Offline
Registered User
 
Join Date: Feb 2006
Posts: 17
haha, I own 2 64-bit personal computers, including my laptop, how can they think students dont use 64 bit, it's becoming the main stream home processor O_O

I got it all going, but when I try to execute an M-file Matlab crashes, so yeh, if you could post the Java work around it would be most appreciated
Reply With Quote
  #13  
Old 3rd May 2006, 01:21 AM
dubrict Offline
Registered User
 
Join Date: Apr 2006
Posts: 5
Well, The tech support guys emailed me a license file to replace mine with, because they saw that I had already registered it on this computer. The workaround was adding " -nojvm" when running matlab from the terminal.

I just installed it and got it working. I tried the idea of making the new java folder again, and this time it worked... no idea why it didn't last time. I have it all running now, with no m-file problems...at least not yet. I don't need to use -nojvm. If you use that, it just runs the matlab command window from your terminal, which I don't find very favorable.

I'll let you know if I find anything about your m-file problems.
Reply With Quote
  #14  
Old 5th October 2006, 05:36 PM
cbeane357 Offline
Registered User
 
Join Date: Aug 2005
Posts: 19
Quote:
Originally Posted by dubrict
Well, The tech support guys emailed me a license file to replace mine with, because they saw that I had already registered it on this computer. The workaround was adding " -nojvm" when running matlab from the terminal.

I just installed it and got it working. I tried the idea of making the new java folder again, and this time it worked... no idea why it didn't last time. I have it all running now, with no m-file problems...at least not yet. I don't need to use -nojvm. If you use that, it just runs the matlab command window from your terminal, which I don't find very favorable.

I'll let you know if I find anything about your m-file problems.
If you are running FC5 the cdrom is probably automounting. If it is you need to umount the cdrom and do this:

1) create a mounting point (as root: mkdir /media/cdrom)

2) manually mount the Matlab cdrom:
mount -t iso9660 /dev/hda /media/cdrom (where /dev/hda is my device node)

3) cd /media

4) # ./cdrom/install (as root)
Reply With Quote
Reply

Tags
fc5, installing, matlab, r14, sp3, x8664

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My log of Installing Matlab R14 SP2 zhangxiangxiao Using Fedora 0 23rd September 2008 07:28 AM
Problems installing MATLAB 7.0 in Fedora 8 joe.pelayo Using Fedora 3 25th August 2008 04:07 AM
Problem installing Matlab 7.0 in Fedora 7 saiarun Using Fedora 4 16th September 2007 02:21 PM
problem installing matlab 7 in FC6 polosecki Using Fedora 6 15th February 2007 01:40 PM
Installing Matlab 7 on FC4 IdentityCrisis Using Fedora 0 7th August 2005 04:40 PM


Current GMT-time: 09:46 (Saturday, 01-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Indonesia Instagram Photos - Tagta Travel Photos - Meads Travel Photos