From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 09:38:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F39FAC8E for ; Fri, 15 Feb 2013 09:38:24 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay010.isp.belgacom.be (mailrelay010.isp.belgacom.be [195.238.6.177]) by mx1.freebsd.org (Postfix) with ESMTP id 66600D55 for ; Fri, 15 Feb 2013 09:38:23 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgoFAPT/HVFbs6A6/2dsb2JhbABEg3S8cBdzgh8BAQUnLyMQCxIGCSUPAigQDgYNAQcBAReHewMFvQaNLoRVA48WgSWHCYonhRCDCA Received: from 58.160-179-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.179.160.58]) by relay.skynet.be with ESMTP; 15 Feb 2013 10:37:06 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.6/8.14.6) with ESMTP id r1F9b5uf001487; Fri, 15 Feb 2013 10:37:05 +0100 (CET) (envelope-from tijl@coosemans.org) Message-ID: <511E01BA.20307@coosemans.org> Date: Fri, 15 Feb 2013 10:36:58 +0100 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: Vijay Kaul Subject: Re: Installing Matlab References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0CA045A4E642B6AB54F957BC" Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 09:38:25 -0000 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: > , > 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: 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--