l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2009 Apr 08 20:43

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Trouble installing Matlab in Debian (lenny)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Trouble installing Matlab in Debian (lenny)



I think the installation problem has been (mostly) resolved.  It only
took me about 5 days.  Thank you all very much!!!!!

And for the sake of future generations, here is the
SOLUTION:
abbreviated version:
(1) from Konsole, log in as root via sux
(2) mount iso
(3) sh install
(4) follow prompts of the install GUI


For noobs like me, here is a detailed version:
(1) launch Konsole

(2) install sux
code: aptitude install sux

(3) and, from Konsole, loginto root via sux.
code: sux
(root password)

(4) mount the iso
(4a) before you actually mount the image, you need to create a folder
that is the "mount point".  The contents of the ISO will appear in the
mount point folder. For example, you might create a folder:
code: mkdir /mnt/isoimages
(4b) mount the iso image,
code: mount -o loop /path_to_iso/filename.iso /path_to_mount_point/

(5) make an installation directory
I suppose where you have Matlab installed is somewhat of an arbitrary
decision, just make sure that the install location has sufficient
space. For example, you might choose
code: mkdir /usr/bin/Matlab

(6) my installation of matlab was as a "standalone" license.
Therefore, I needed to copy the lic_standalone.dat file to the
installation direction
code: cp /path_to_mount_point/lic_standalone.dat /path_to_install_directory

(7) cd to the install directory

(8) run the install script
code: sh /path_to_mount_point/install

At this point, the install GUI should appear and you follow the prompts!


Caveat: As I said, this mostly worked.  When I launched Matlab, I got
a slew of warning messages (see below) which seem to be associated
with Java. (I think Matlab uses Java for a lot of its GUIs and
plotting functions).  I don't seem to have any trouble running
m-files.  I have not yet examined the effects of graphical output.

thomas@Vostro1500:~/Matlab2008b/bin$ ./matlab
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb525f767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb525f8b1]
#2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb5750c44]
#3 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/xawt/libmawt.so [0x
a28f68ce]
#4 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/xawt/libmawt.so [0x
a28d3067]
#5 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/xawt/libmawt.so [0x
a28d3318]
#6 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/xawt/libmawt.so(Jav
a_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xa28d361f]
#7 [0xafc74ecd]
#8 [0xafc6dedd]
#9 [0xafc6dedd]
#10 [0xafc6b249]
#11 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/client/libjvm.so [
0x621c40d]
#12 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/client/libjvm.so [
0x6310378]
#13 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/client/libjvm.so [
0x621c2a0]
#14 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/client/libjvm.so(J
VM_DoPrivileged+0x363) [0x6272153]
#15 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/libjava.so(Java_ja
va_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3
d) [0xb1d4b96d]
#16 [0xafc74ecd]
#17 [0xafc6dd77]
#18 [0xafc6b249]
#19 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/client/libjvm.so [
0x621c40d]
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb525f767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb525f81e]
#2 /usr/lib/libX11.so.6 [0xb574fde9]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb5746156]
#4 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/xawt/libmawt.so [0x
a28d2319]
#5 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386/xawt/libmawt.so [0x
a28d2565]
#6 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386
                    a28d33c9]
#7 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i386
                    a_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
[0xa28d36
#8 [0xafc74ecd]
#9 [0xafc6dedd]
#10 [0xafc6dedd]
#11 [0xafc6b249]
#12 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i38
                    0x621c40d]
#13 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i38
                    0x6310378]
#14 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i38
                    0x621c2a0]
#15 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i38
                    VM_DoPrivileged+0x363) [0x6272153]
#16 /home/thomas/Matlab2008b/sys/java/jre/glnx86/jre/lib/i38

va_security_AccessController_doPrivileged__Ljava_security_Pr
                    d) [0xb1d4b96d]
#17 [0xafc74ecd]
#18 [0xafc6dd77]
#19 [0xafc6b249]
thomas@Vostro1500:~/Matlab2008b/bin$
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.