Date: Fri, 15 Feb 2013 10:36:58 +0100 From: Tijl Coosemans <tijl@coosemans.org> To: Vijay Kaul <vijaykaul@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Installing Matlab Message-ID: <511E01BA.20307@coosemans.org> In-Reply-To: <CAOgC9Oi=Mt-tgjQpzmGJGS9gYiS5RsEtPVhP4X=viSKh9tz%2Bpw@mail.gmail.com> References: <CAOgC9Oi=Mt-tgjQpzmGJGS9gYiS5RsEtPVhP4X=viSKh9tz%2Bpw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0CA045A4E642B6AB54F957BC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14-02-2013 22:42, Vijay Kaul wrote: > I was wondering if anyone has had any recent (or not-so-recent) > experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about > octave.) >=20 > I'm not entirely new to *nix, but I'm novice enough that I can't seem > to get this to work. >=20 > Perhaps the shortest and simplest solution would be if Mathworks own > installer would function, but that runs as a Java Web Start > application, and I can't seem to get that working in Opera, Firefox, > or Konqueror. >=20 > The automatic rout having failed, I've downloaded the files manually, > and I've tried to run the install script; however, it's failed as > well. I found this site: > <http://matrossi.blogspot.com/2011/08/installing-matlab-2011a-on-freebs= d.html>, > which claims installation instructions for PC-BSD8.2 boiling down to: > open up the shell scripts and take /bin/sh --> /compat/linux/bin/sh. > Well, that seems to help a bit, but it also fails because the install > script determines my architecture to be x68, while the downloads are > for (what they call) a64. (My system is indeed a 64-bit system. > Perhaps the above instructions were for an x86 system.) >=20 > I feel like if I could modify the install script sufficiently, the > install would work. My bash scripting is weak, though, and I worry > about screwing up my system and/or the installation. There are only a > few functions in there that are looking for architecture type, usually > with the output from uname. I think fixing those would work...? >=20 > Could anyone help me get past this point? >=20 > Thanks in advance! And please, if there's any info I can provide that > would be helpful, please just let me know. >=20 > Output of uname -a: > FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 > 03:45:16 UTC 2012 > root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >=20 > The install script in question: <http://pastebin.com/QkEH1vkF> Try creating this link: ln -s ../usr/bin/expr /compat/linux/bin/expr Without this link Linux scripts run the FreeBSD expr which isn't fully compatible. --------------enig0CA045A4E642B6AB54F957BC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iF4EAREIAAYFAlEeAcEACgkQfoCS2CCgtivmzgD+Mmuk6x9IAxY/7D/oA7tcslhs 6t4nnrQpinj2+tImkqUA/iOzpmL/MvR16mIEZ3tND6MSyOZ9tzj6LvPzHvKms6w4 =8OU7 -----END PGP SIGNATURE----- --------------enig0CA045A4E642B6AB54F957BC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511E01BA.20307>