From owner-freebsd-emulation Thu Jun 3 6: 1: 3 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 5CA7F151C9 for ; Thu, 3 Jun 1999 06:01:00 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (p519.asi.euronet.nl [194.134.124.83]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id PAA10522; Thu, 3 Jun 1999 15:00:59 +0200 (MET DST) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.1) with ESMTP id PAA29695; Thu, 3 Jun 1999 15:00:53 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <37567C85.82B52EB3@scc.nl> Date: Thu, 03 Jun 1999 15:00:53 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Sean O'Connell" Cc: emulation@FreeBSD.ORG Subject: Re: Matlab 5.3 References: <14165.38910.206452.281058@knock.econ.vt.edu> <19990602235040.B5623@stat.Duke.EDU> <37564D49.81B57144@scc.nl> <19990603083209.W4332@stat.Duke.EDU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sean O'Connell wrote: > > 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 > > 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). I see. You didn't made that clear though. > > > *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. That would be great. Such information would be helpful in determining what has to go into the base port. > > > 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. Bollocks. I had the idea of putting something like "on FreeBSD" in the version data. That way Linux Netscape would report something like "Linux on FreeBSD", so FreeBSD users won't complain that their browser says that it's Linux and still have uname return "Linux" as the OS... -- 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