Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Matlab 7.1 R14 SP3 installation problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
flawlessdistortion
n00b
n00b


Joined: 20 Jan 2006
Posts: 18
Location: Chicago

PostPosted: Sat Jan 21, 2006 10:54 pm    Post subject: Matlab 7.1 R14 SP3 installation problems Reply with quote

Hey guys, I'm trying to install matlab on gentoo x86_64 2.6.14-r5. My system has gcc-3.4.4 & glibc-2.3.5-r2. NPTL and NPTL only use flags were enabled. Here is the ouput...
Code:
 /mnt/cdrom/install* -t
awk: cmd. line:2:       BEGIN { found = 0; extra = 9; min = 24; default = 24 }
awk: cmd. line:2:                                               ^ syntax error
awk: cmd. line:6:                   if (nrows < min) nrows = default
awk: cmd. line:6:                                            ^ syntax error
awk: cmd. line:12:      END { if (found == 0) print (default - extra) }
awk: cmd. line:12:                                   ^ syntax error
awk: cmd. line:12:      END { if (found == 0) print (default - extra) }
awk: cmd. line:12:                                                    ^ syntax error
awk: cmd. line:2: (FILENAME=- FNR=1) fatal: division by zero attempted in `%'
/mnt/cdrom/unix/update/install/license.sh: line 132: [: 1: unary operator expected
/mnt/cdrom/unix/update/install/main.sh: line 156: /mnt/cdrom/unix/update/bin/glnxa64/xsetup: No such file or directory

I have sent mathworks my proof of student status (which is pending) but I believe you are still able to install the software before fully registering with them. I read some of the past threads regarding matlab installation, but no one else has had my specific error codes. However, past installation problems have been identified as

    NPTL - one solution has been to recompile glibc with NPTL but not NPTLONLY
    glibc - mathworks says up to 2.3.2 is supported; I have 2.3.5
    permissions - has to with mounting the cdrom drive with exec in fstab; I dont have this problem
    graphical install - it didn't work for me, so I tried the alternative which is /mnt/cdrom/install* -t ... Does anyone know what you need on your system for this to work?
    other problems?

Well thanks for reading this, and I hope someone can help me out cause I really don't want to have to boot XP in order to run matlab.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2381
Location: Kentucky

PostPosted: Sun Jan 22, 2006 6:08 am    Post subject: Reply with quote

I think you may have found a bug, although whether it is matlab's bug or gentoo's or awk's or yours remains to be argued. It appears that the word default is being interpreted as a reserved word by your installation of awk. Obviously this was not the desired intention of the matlab people.

man awk says:
Code:
       If gawk is configured with the --enable-switch option to the configure command, then it accepts an addi-
       tional control-flow statement:
              switch (expression) {
              case value|regex : statement
              ...
              [ default: statement ]
              }
So I suspect that your awk was configured with this option. Apparently the awk at matlab was not. I would probably argue that this is a matlab bug, but the obvious workaround is to just edit the word default to something else; may I suggest their_fault instead? :D

So "default" is de fault, as dey say on de south side...
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
flawlessdistortion
n00b
n00b


Joined: 20 Jan 2006
Posts: 18
Location: Chicago

PostPosted: Sun Jan 22, 2006 7:38 pm    Post subject: Reply with quote

http://www.mathworks.com/support/solutions/data/1-TDGR6.html?solution=1-TDGR6

Code:

Subject:

Is there a Student Version of MATLAB that supports a 64-bit processor?
Problem Description:

I would like to know if I can use my 64-bit processor to run any Student Version of MATLAB. I also want to know why MATLAB Student Version crashes after the splash screen when trying to run on my 64-bit processor.

Solution:

There are no current Student Versions of MATLAB that support a 64-bit processor.


WTF?!? Well, nice of them to tuck this detail away on some obscure tech solution!! Why the hell isn't there a note of this under the system requirements page, where it states that x86_64 is supported? And why would there not be 64bit support for the student version if they have it for the *full* version?!?! GOD!!!!
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2381
Location: Kentucky

PostPosted: Mon Jan 23, 2006 1:24 am    Post subject: Reply with quote

First off, you ought to be able to run the 32-bit version in compatibility mode.

Second off, that tech memo was dated last July. They might support it now.

I would still try my little edit on that awk script... 8)

Finally, like they say, "You get what you pay for." And the corollary: "And you pay for what you get!" :twisted:

Isn't there a free/open solution to do the same kinds of things?

Or do you specifically need Matlab[TM] because some instructor requires it?

Finally, on the pragmatic side, what does the full version cost anyway, as compared to the el cheapo starving student version?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
flawlessdistortion
n00b
n00b


Joined: 20 Jan 2006
Posts: 18
Location: Chicago

PostPosted: Tue Jan 24, 2006 3:41 am    Post subject: Reply with quote

hmm yeah, I think i'll have to run the 32-bit version. So do I have to set up a 32-bit chroot? The whole reason why I bought matlab is because a lot of the books for my courses (i'm a EE) use matlab to illustrate examples, and it would be nice to have something to kinda make the stuff more interesting ya know. In any case, I will call tech support to see what they say, and to let them know that their website should be a little more clear about 64-bit support.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2381
Location: Kentucky

PostPosted: Tue Jan 24, 2006 5:11 am    Post subject: Reply with quote

If you do not absolutely have to have the official matlab[TM], then a quick google reveals:

http://www.scilab.org/

And guess what:
Code:
ezra ~ # emerge -s scilab
Searching...   
[ Results for search key : scilab ]
[ Applications found : 1 ]
 
*  sci-mathematics/scilab
      Latest version available: 2.7-r3
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 9,895 kB
      Homepage:    http://www.scilab.org/
      Description: Scientific software package for numerical computations, Matlab lookalike
      License:     scilab


ezra ~ #


You might want to check this out, and maybe save that money for a hot date or something. :wink:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
flawlessdistortion
n00b
n00b


Joined: 20 Jan 2006
Posts: 18
Location: Chicago

PostPosted: Tue Jan 24, 2006 6:01 pm    Post subject: Reply with quote

Well, I think i'll give matlab another shot and try to get the 32-bit binary to work. If I still run into problems, I'll see if I can get my money back. And I will definitely check out scilab. Thanks!
Back to top
View user's profile Send private message
DeadlyMuffin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2004
Posts: 104

PostPosted: Fri Jan 27, 2006 7:19 pm    Post subject: Reply with quote

I had the same problem. I found this page: http://bbs2.ustc.edu.cn/cgi/bbsgcon?bn=Linux&fn=G4251318b&num=1261

it looks like the -glnx86 flag is what you need, so it'll do a 32 bit install instead of trying to do a 64 bit install and crapping out.

Hope that helps, it worked for me. Running Matlab 7 on my amd64 right now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum