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

Thomas Johnston trjohnston at ucdavis.edu
Wed Apr 8 15:55:51 PDT 2009


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 at 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 at Vostro1500:~/Matlab2008b/bin$


More information about the vox-tech mailing list