Date: Wed, 28 Jan 2004 09:28:34 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: jre9@humboldt.edu Cc: freebsd-hackers@freebsd.org Subject: Re: Mathematica 5 installation Message-ID: <20040128172834.GA18906@Odin.AC.HMC.Edu> In-Reply-To: <49185.137.150.253.60.1075272527.squirrel@webmail.humboldt.edu> References: <49185.137.150.253.60.1075272527.squirrel@webmail.humboldt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040128172834.GA18906>