From owner-freebsd-emulation Thu Jun 3 2:41:12 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 0910914F2E for ; Thu, 3 Jun 1999 02:41:04 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (p501.asi.euronet.nl [194.134.124.65]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id LAA01448 from for ; Thu, 3 Jun 1999 11:41:02 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id LAA23048 for emulation@FreeBSD.ORG; Thu, 3 Jun 1999 11:39:27 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Thu, 03 Jun 1999 11:39:21 +0200 From: Marcel Moolenaar Message-ID: <37564D49.81B57144@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <14165.38910.206452.281058@knock.econ.vt.edu>, <19990602235040.B5623@stat.Duke.EDU> Subject: Re: Matlab 5.3 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sean O'Connell wrote: > > On 1999 Jun 02, Russell D. Murphy Jr. (aka rdmurphy@neale.econ.vt.edu) wrote: > > > > I'm trying (again) without success to install Matlab. I'm using: > > There are two main ways of doing this. > > 1) Use a supported platform (a linux box or actually a digital unix or > sun or whatever will also unpack the linux distribution too) to unpack > it onto an nfs mount or a local directory, tar it up and change the > MATLABDIR stuff, and modify a few other key scripts that use the > /bin/uname command and look for linux (Linux?) and lie to them :). A more structural approach is to install sh-utils-*.rpm, which includes uname and to apply my uname patch. That way you don't have to edit scripts: scones% /compat/linux/bin/uname Linux scones% /usr/bin/uname FreeBSD > *this is critical; /bin/tar is hard coded into the tsetup and xsetup > linux executables...grrr, this caused the majority of my troubles* Isn't this solved by installing tar-*.tpm? > + elif [ -f /usr/bin/uname ]; then # FreeBSD? > + case "`/usr/bin/uname`" in > + FreeBSD) > + Arch="lnx86" > + ;; > + esac See point 1. > 6) while you have these tar files unpacked, there is one more little hack that > has to get put in in the osversion check business: (sorry I don't have > a diff convenient) Does it actually expects a version like x.y.z? Currently the patch produces something like the following: scones% /compat/linux/bin/uname -a Linux scones.sup.scc.nl 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Wed Jun 2 15:24:26 CEST 1999 marcel i386 unknown -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message