From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 28 09:28:42 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F045C16A4CE for ; Wed, 28 Jan 2004 09:28:42 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC9C443D58 for ; Wed, 28 Jan 2004 09:28:41 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i0SHSYaT023625; Wed, 28 Jan 2004 09:28:35 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i0SHSY55023624; Wed, 28 Jan 2004 09:28:34 -0800 Date: Wed, 28 Jan 2004 09:28:34 -0800 From: Brooks Davis To: jre9@humboldt.edu Message-ID: <20040128172834.GA18906@Odin.AC.HMC.Edu> References: <49185.137.150.253.60.1075272527.squirrel@webmail.humboldt.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <49185.137.150.253.60.1075272527.squirrel@webmail.humboldt.edu> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-hackers@freebsd.org Subject: Re: Mathematica 5 installation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 17:28:43 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 27, 2004 at 10:48:47PM -0800, jre9@humboldt.edu wrote: > The handbook includes information for installing Mathematica 4, but I have > Mathematica 5 and found the handbook's guidelines to be entirely > irrelevant to version 5. So here's how I finally figured out how to > install version 5: >=20 > First, the binaries are already branded properly (SVR4). So, mount the cd > and run the installer. I installed to /compat/linux/usr/Wolfram/..., and > put the binary links in /compat/linux/usr/bin . However, the little > scripts (in /compat/linux/usr/bin) that start Mathematica don't work for > FreeBSD: they report 'unknown OS'. If you fudge that part, so that it > reports 'Linux', it simply doesn't work... perhaps something to do with > the paths coded into the script. Anyway, I found it much simpler to roll > my own script and stick it in my bin directory: > (note: "+" means continue the line) FYI, the best way to convert scripts associated with linux binaries is often to replace the #!/bin/sh in them with #!/compat/linux/bin/sh. This causes them to run with the right paths so they find things under /compat/linux. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAF/FAXY6L6fI4GtQRAlwLAJ4nUgO39YTsoMqACcyfLiGoVORTXwCfZ9se cU+lGRyICwiK8ZEsm+hhBgw= =nUJg -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--