From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 20:02:47 2005 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 8244C16A4CE for ; Sun, 27 Feb 2005 20:02:47 +0000 (GMT) Received: from sun13.bham.ac.uk (sun13.bham.ac.uk [147.188.128.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2840343D5C for ; Sun, 27 Feb 2005 20:02:47 +0000 (GMT) (envelope-from calculus@softhome.net) Received: from [147.188.128.127] (helo=bham.ac.uk) by sun13.bham.ac.uk with esmtp (Exim 4.10) id 1D5Uco-0006Z1-00 for freebsd-questions@freebsd.org; Sun, 27 Feb 2005 20:02:46 +0000 Received: from sci-fs1.bham.ac.uk ([147.188.118.71]) by bham.ac.uk with esmtp (Exim 4.43) id 1D5Uco-0002hI-62 for freebsd-questions@freebsd.org; Sun, 27 Feb 2005 20:02:46 +0000 Received: from SPECULUSHX1THE not authenticated [147.188.140.1] Novell NetWare; Sun, 27 Feb 2005 20:02:46 +0000 Message-ID: <00e201c51d07$676b50b0$0201a8c0@SPECULUSHX1THE> From: "cali" To: Date: Sun, 27 Feb 2005 19:57:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-BHAM-CUBE-wlist: LOCAL sci-fs1.bham.ac.uk X-BHAM-CUBE-processed: yes Subject: Re: Matlab on FreeBSD 5.3 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: Sun, 27 Feb 2005 20:02:47 -0000 I just got it to work, thanks to the encouragement of Santo Natale. One thing is the architechture, to fix this you can edit the matlab binary, which is actually a script gvim /usr/local/bin/matlab or whatever if you read down you will see some stuff about ARCH_LIST go down below the fucntion check_archlist and at the bottom of it you will see two conditionals that say: ARCH="" change these to ARCH="glnx86" or whatever your architechture is (it might be that you only need to change one, but this isn't important) Then another thing to make sure is that your hostname is set the same as the SERVER line in your matlab license manager file so if my hostname was "dork", then it would say SERVER dork ID=XXX where you replace XXX with your user ID you also have to make sure that you setup your options file properly in your license file you should have a line like: DAEMON MLM /compat/linux/usr/local/matlab/etc/lm_matlab options=/compat/linux/usr/local/matlab/etc/MLM.opt and in MLM.opt it needs to say: INCLUDE MATLAB USER blah where blah is your user, note that I'm assuming you have a standalone license make sure you leave a blank line after the INCLUDE line, I know, sounds dumb but otherwise it doesn't work. then you just start the flexlm (not as root) /usr/local/etc/rc.d/flexlm.sh start and then start matlab underthe user you were configured for matlab and it should work... well I only just got it working so hopefully everything works. thanks cali