From owner-freebsd-questions@FreeBSD.ORG Thu Sep 18 13:10:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F04716A4B3 for ; Thu, 18 Sep 2003 13:10:15 -0700 (PDT) Received: from ligeti.cc.uottawa.ca (ligeti.cc.uottawa.ca [137.122.6.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C7A343F3F for ; Thu, 18 Sep 2003 13:10:14 -0700 (PDT) (envelope-from balaji@alumni.uottawa.ca) Received: from 131.136.242.1 (escher.uottawa.ca [137.122.14.100]) by ligeti.cc.uottawa.ca (8.11.6/8.11.6) with SMTP id h8IK9WZ07566 for ; Thu, 18 Sep 2003 16:09:32 -0400 Message-Id: <200309182009.h8IK9WZ07566@ligeti.cc.uottawa.ca> To: freebsd-questions@freebsd.org From: balaji@alumni.uottawa.ca Date: Thu, 18 Sep 2003 16:09:32 EST5EDT X-Mailer: Endymion MailMan Standard Edition v3.0.26 Subject: MATLAB R13 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 20:10:15 -0000 Hi, I installed MATLAB as per the FreeBSD Handbook. I am able to run MATLAB except that I get the following error messages: --- When starting license manager: $/usr/local/etc/rc.d/flexlm.sh start usage: expr [-e] expression /usr/local/etc/lmboot_TMW: [: -ne: unary operator expected etc....... usage: expr [-e] expression /usr/local/etc/lmboot_TMW: [: -ne: unary operator expected MATLAB_lmgrd ---- When starting MATLAB: $matlab -nojvm expr: illegal option -- r usage: expr [-e] expression /compat/linux/usr/local/matlab/bin/matlab: [: -ne: unary operator expected After this, I am able to run MATLAB. However, I have MAPLE installed and due to this error (I think), I am unable to call MATLAB from it. Any help would be greatly appreciated! Thanks, BB PS: Two minor comments on Sec. 22.5: * The license manager cannot be started as root. Perhaps it would be helpful if the prompt in 22.5.2, item 3 were changed to %. * I am able to run MATLAB with jvm. For that I linked the jre to jre1.1.8, instead of jre1.3.1. I have problems shutting it down though; need to use kill -9. But it is possible to run the full MATLAB under NetBSD using Sun's latest JDK (version 1.4.2).(http://www.netbsd.org/gallery/in-Action/). I could not make it to work in FreeBSD. --------------------------------------------- This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/