Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rate Thread Display Modes
Old 12-02-2003, 07:30 PM   #1
Maritan
Prospect
 
Join Date: Dec 2003
Posts: 2
Matlab 6.5 R13 installation on Panther

Hi guys,

I did check out tip 101 before I actually decided to post this question.

I have a PB 15 inch running 10.3.1. I also have X11 installed (it came with the update CD). I'm the only user of the laptop - no other usernames. (I'm new to both UNIX and Macs, so please have a little patience)

I'm having a problem with installing Matlab.

I am using a copy of my university's. Basically, ASU (my univ.) has a copy that they lend out to students. The licence though resides on a central server. So, every time I have to run Matlab, I have to make sure I'm connected to the 'net so the licence can accessed/checked before actually launching Matlab.

According to MathWorks' directions, I downloaded the patch for Panther and followed their instructions. At the very start, at the window where I'm supposed to click OK to continue with the installation, there is a message saying that

"You are not logged in as a superuser (root). You may not have permission to create symbolic links to system-wide directories."

If I use sudo ./install -x (which I found out from someone) in the X11 window, I will be circumventing the Panther patch, right?

Anyway, I click OK, and go another step till where the installer asks me to enter the MATLAB root directory location. By default, it has /Applications/MATLAB6p5p1

I click OK, and the Licence file window pops up. If I click OK on this one, I get the following message:

Quote:
TMW_Archive license checkout failed.
License file does not support this version
Feature: TMW_Archive
Application version > License version 13>12
License path: /Applications/MATLAB6p5p1/etc/license.dat
FLEXlm error: -21,126
For further information, refer to the FLEXlm End User Manual, available at "www.globetrotter.com".

Now, I did go to the MathWorks website, and checked out what the error 21 means. Here is the link:

http://www.mathworks.com/support/sol...ta/26800.shtml

They talk about about problems with R12, but there isn't any mention about R13.

Last edited by Maritan; 12-02-2003 at 07:34 PM.
Maritan is offline   Reply With Quote
Old 12-03-2003, 08:04 PM   #2
Maritan
Prospect
 
Join Date: Dec 2003
Posts: 2
All right, update to this question.

That problem I was having with licence has been solved. I basically copied the license.dat from another computer and that solved the problem.

BUT, I am still unable to run MATLAB. I downloaded the patch from the MathWorks website (for Panther) and I used that to launch the MATLAB installer. It again gave me the "not a super user (root)" message, but I went on with the installation anyway.

I finish the installation, and eagerly try to run MATLAB. It launches the X11 window and then bounces around like it's on crack and then just quits. I went into the X11 terminal, changed the directory to MATLAB6p5p1/bin and typed

sudo ./matlab

I get the following error:

Quote:
dyld: /Applications/MATLAB6p5R13/bin/mac/MATLAB Undefined symbols:
_tgetent
_tgetstr
Trace/BPT trap

This is problem #33053 on the MathWorks website - BUT this problem is for installing MATLAB on Jaguar.

My question to you guys: Is there someway of solving this? Or because I haven't really installed anything important on my computer, should I just revert to 10.2.7 and install MATLAB on that OS?

Your suggestions will be appreciated.
Maritan is offline   Reply With Quote
Old 12-04-2003, 12:36 AM   #3
stetner
MVP
 
Join Date: Jan 2002
Location: Brisbane, Australia
Posts: 1,108
You need to find what library contains those functions and add the path to it to your DYLD_LIBRARY_PATH environment variable.
__________________
Douglas G. Stetner
UNIX Live Free Or Die
stetner is offline   Reply With Quote
Old 12-14-2003, 12:24 PM   #4
DMCrimson
Triple-A Player
 
Join Date: Sep 2002
Location: Finland
Posts: 57
I'll be waiting till they finally make it compatible with Apple's X11 (no XDarwin on panther, eh?)
DMCrimson is offline   Reply With Quote
Old 12-14-2003, 01:54 PM   #5
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
DMCrimson wrote:
I'll be waiting till they finally make it compatible with Apple's X11

Matlab works with Apple's X11. For more info, check the following post:

http://forums.macosxhints.com/showth...threadid=17392



Quote:
DMCrimson wrote:
(no XDarwin on panther, eh?)

Yes, you can install with Fink the package xfree86 (4.3.99.16-2) which works well in Panther.

Code:
[pm @ Sao: ~] % fink describe xfree86
Information about 1944 packages read in 1 seconds.

xfree86-4.3.99.16-2: Free X11 implementation for Darwin and Mac OS X
 XFree86 is a free X11 implementation that supports Darwin and Mac OS X.
 This will let you run X11 applications and desktop environments.
 .
 This is a snapshot of what will become XFree86 4.4.  It includes all of
 the changes Apple has made to their X11 release in Panther (minus the
 proprietary quartz-wm), as well as other changes and bugfixes.  Because
 libXplugin is available on every Panther install, it is even capable of
 using the same quartz acceleration routines used by Apple's X11, without
 needing their SDK to be installed when building.
 .
 IMPORTANT UPGRADE NOTICE:
 -------------------------------------------------------------------------
 If you already have the fink xfree86-base or xfree86-base-threaded package
 installed, you cannot install this package with "fink install xfree86".
 .
 Instead, please install the xfree86-upgrade package and run the shell
 script "upgrade-xfree86".
 -------------------------------------------------------------------------
 .
 Web site: http://www.xfree86.org/
 .
 Maintainer: Benjamin Reed <ranger@befunk.com>
sao is offline   Reply With Quote
Old 07-01-2004, 03:30 PM   #6
ludde11
Prospect
 
Join Date: Jul 2004
Posts: 4
Can you write for non-unix people? That would make me happy, because I really need my MATLAB to work, and all I got now is a never-ending-jumping icon.

Cheers,
Lud


Quote:
Originally Posted by stetner
You need to find what library contains those functions and add the path to it to your DYLD_LIBRARY_PATH environment variable.

ludde11 is offline   Reply With Quote
Old 07-01-2004, 04:02 PM   #7
joshuajestelle
Prospect
 
Join Date: Nov 2003
Posts: 19
An alternative - octave

I'm not sure if you're aware, but there is an open source alternative to matlab, called Octave.

I use it all the time on my Mac. It didn't take any effort at all to setup and get working. It doesn't have the big workspace thing like matlab has, but it'll run most matlab scripts and functions, so depending on what you're doing octave might be adequate.

Good luck,
Josh
__________________
Join the Mac users Warcraft III Clan, Team G5.
http://www.teamG5.com/
Email teamG5@interrupt.com for more information.
joshuajestelle is offline   Reply With Quote
Old 07-01-2004, 04:21 PM   #8
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
joshuajestelle wrote:
I'm not sure if you're aware, but there is an open source alternative to matlab, called Octave.

Yes, thanks. You can install 'octave' with Fink.


Code:
 [pm @ Sao: ~] % fink list octave
Information about 3324 packages read in 1 seconds.
 i   octave                    2.1.57-3            Matlab-like language for computations
 i   octave-forge              2004.02.12-3        Extensions to octave
.
sao is offline   Reply With Quote
Old 07-02-2004, 02:34 PM   #9
ludde11
Prospect
 
Join Date: Jul 2004
Posts: 4
Thank you

I'll look into that, but i'd never used fink and since i already have matlab i'll really try get it started before i switch program. I've made a post on mathworks' forum so i'm hoping for an answer there.

BR,
Lud

Quote:
Originally Posted by joshuajestelle
I'm not sure if you're aware, but there is an open source alternative to matlab, called Octave.

I use it all the time on my Mac. It didn't take any effort at all to setup and get working. It doesn't have the big workspace thing like matlab has, but it'll run most matlab scripts and functions, so depending on what you're doing octave might be adequate.

Good luck,
Josh

ludde11 is offline   Reply With Quote
Old 07-02-2004, 03:18 PM   #10
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
ludde11,

Are you in Panther?
What version of Matlab do you have installed?


Do you get the same error as Maritan above:

Code:
dyld: /Applications/MATLAB6p5R13/bin/mac/MATLAB Undefined symbols:
_tgetent
_tgetstr
Trace/BPT trap
sao is offline   Reply With Quote
Old 07-02-2004, 03:33 PM   #11
ludde11
Prospect
 
Join Date: Jul 2004
Posts: 4
Sao, yes I have Panther 10.3.4 and used the Panther update patch. I also have MATLAB 6.5.1. The thing is though, that tired of all the problems i had, i asked a guy at my lab, and he gave me his install cd:s with which i made a new install, and finally, it worked. For this install i logged in as root first. I don't know if this is what made the difference, but now i'm happy

I got the same error as Maritan as well. Thx for your help anyway!
Lud

Quote:
Originally Posted by sao
ludde11,

Are you in Panther?
What version of Matlab do you have installed?


Do you get the same error as Maritan above:

Code:
dyld: /Applications/MATLAB6p5R13/bin/mac/MATLAB Undefined symbols:
_tgetent
_tgetstr
Trace/BPT trap

ludde11 is offline   Reply With Quote
Old 07-02-2004, 11:59 PM   #12
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
ludde11 wrote:
i made a new install, and finally, it worked.

Great..! ...the reason I asked was because the Panther patch at MathWorks allows once applied only the following versions to run under Mac OS 10.3 (Panther) with Apple’s X11:

MATLAB 6.5.1 (R13SP1)
MATLAB Student Version 6.5 (R13)
sao is offline   Reply With Quote
Old 07-06-2004, 08:40 AM   #13
ludde11
Prospect
 
Join Date: Jul 2004
Posts: 4
That's good to know. I've heard MATLAB 7 for mac has an easier install procedure, which probably more people than me thinks is about time

BR,
Lud
ludde11 is offline   Reply With Quote
Old 07-08-2004, 10:46 PM   #14
Klingsor
Prospect
 
Join Date: Jul 2004
Location: Mexico City.
Posts: 21
10.1 About Octave !

Hi everyone !

I want to install Octave via Fink or Fink-Commander, last time I tried it didn't finish and to Fink-Commanders advice I typed the instruction: fink update-all, all I got was a seg fault. I'm not still sure if this was because of updating to 10.3.4, or something weird because of updating, now I am afraid to try to compile Octave again. Any suggestions ?

Thanks !
Klingsor is offline   Reply With Quote
Old 07-09-2004, 12:39 AM   #15
joshuajestelle
Prospect
 
Join Date: Nov 2003
Posts: 19
you may want to try using 'dselect'.

Just type: 'sudo dselect' in the terminal.

Then find and select octave, and install it.

dselect isn't quite a graphical and obvious as fink-commander is, but it installs binaries (so no need for compiling) and has worked fairly flawlessly for me.

Josh
__________________
Join the Mac users Warcraft III Clan, Team G5.
http://www.teamG5.com/
Email teamG5@interrupt.com for more information.
joshuajestelle is offline   Reply With Quote
Old 07-09-2004, 02:43 AM   #16
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
klingsor,

I would advice you to install 'octave' from Fink 'unstable' as you would get the latest version ( 2.1.57-3) and then you could also install the package 'octave-forge' (only in unstable) which "contains custom scripts, functions and extensions for GNU Octave. A lot of MatLab(TM) compatibility is gained from this package".

Please, read Octave Compatibility FAQ


To install 'octave' from Fink unstable:


1- Install 'Xcode' (Apple Developer Tools) and the 'X11SDK' from the Xcode Tools CD.

2- Enable Fink to use unstable by editing the /sw/etc/fink.conf file and adding 'unstable/main' 'unstable/crypto' to the beginning of the Trees: line.


Code:
Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap
When done, run from Terminal.app the commands:

fink index
fink selfupdate
fink install octave
fink install octave-forge

For reference you can read the following thread:
http://forums.macosxhints.com/showthread.php?t=24577

.
sao is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT -5. The time now is 07:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.