Date: Thu, 3 Jun 1999 08:32:09 -0400 From: "Sean O'Connell" <sean@stat.Duke.EDU> To: Marcel Moolenaar <marcel@scc.nl> Cc: FreeBSD mobile <freebsd-mobile@FreeBSD.ORG> Subject: Re: Matlab 5.3 Message-ID: <19990603083209.W4332@stat.Duke.EDU> In-Reply-To: <37564D49.81B57144@scc.nl>; from Marcel Moolenaar on Thu, Jun 03, 1999 at 11:39:21AM %2B0200 References: <14165.38910.206452.281058@knock.econ.vt.edu> <19990602235040.B5623@stat.Duke.EDU> <37564D49.81B57144@scc.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1999 Jun 03, Marcel Moolenaar (aka marcel@scc.nl) wrote: > 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 Marcel- some of this is based on using 2.2.x with linux_lib-2.[4,5,6], not your more complete solution. I haven't done a Matlab on FreeBSD in a while (I will be doing it shortly). > > *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? Perhaps. I will have to try it shortly. I will try to report back to the list. > > + elif [ -f /usr/bin/uname ]; then # FreeBSD? > > + case "`/usr/bin/uname`" in > > + FreeBSD) > > + Arch="lnx86" > > + ;; > > + esac Maybe, but I haven't tested. This was based again on an older setup and was meant to convey that Matlab is an amazing royal pain in the assets to install. > 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? Yes. I realized after sending the note that it may in fact be looking for a more recent variant than I was fibbing to it (again, I will know shortly). It is an attempt to sanity check for certain Linux kernel/ libc support. > 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 S -- ------------------------------------------------------------------------- Sean O'Connell Email: sean@stat.Duke.EDU Institute of Statistics and Decision Sciences Phone: (919) 684-5419 Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990603083209.W4332>