From owner-freebsd-doc@FreeBSD.ORG Fri May 12 15:23:08 2006 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35E2116A572 for ; Fri, 12 May 2006 15:23:08 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06B2843D72 for ; Fri, 12 May 2006 15:23:03 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from gothmog.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4CFMfPd031177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 May 2006 18:22:44 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4CFOqiQ025969; Fri, 12 May 2006 18:24:52 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4CFOq30025968; Fri, 12 May 2006 18:24:52 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Fri, 12 May 2006 18:24:51 +0300 From: Giorgos Keramidas To: Philippe Pouliquen Message-ID: <20060512152451.GB25843@gothmog.pc> References: <20060418110404.V5712@alpha.ece.jhu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <20060418110404.V5712@alpha.ece.jhu.edu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.961, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.44, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: doc@FreeBSD.org Subject: Re: Handbook update, section 10.5... X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 15:23:11 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2006-04-18 13:32, Philippe Pouliquen wrote: > Hi All, > > There doesn't seem to be a way of contacting Dan Pelleg (author > of section 10.5 of the FreeBSD handbook) directly, so here is > my input on installing Matlab under FreeBSD: > > The errors of the form: > > [: -ne: unary operator expected > > which occur when starting Matlab or the FlexLM license manager > can be resolved by setting the environment variable EXPR_COMPAT > in the Matlab startup script (the one that goes in > /usr/local/bin) and in the FlexLM startup script (the one that > goes in /usr/local/etc/rc.d). > > I think this is preferable to the fix recommended by Dan Pelleg > in section 10.5.4, which requires hand editing of all > incompatible uses of the test ([) command in all the shell > scripts in the Matlab installation directory. > > I have used the following lines for this: > > EXPR_COMPAT=true > export EXPR_COMPAT I don't have Linux emulation or MATLAB. If at least one more person can verify that this indeed works, let me know and I'll handle the SGML stuff. Regards, Giorgos --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZKjD1g+UGjGGA7YRAsPgAJ4jDhEvA9PFmQElPo30a9Xu6Ke8qACgmHEI /pW0s7gpmdc+7zCTNW5QOb0= =8YKj -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--