From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 16:41:58 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 7E6E84EE for ; Fri, 15 Feb 2013 16:41:58 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id EE9E183D for ; Fri, 15 Feb 2013 16:41:57 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAFAORjHlFbs6A6/2dsb2JhbABEg3S7e3sXc4IfAQEEAScvIgEFCwsSBgkWDwkDAgECAScQDgYNAQcBAReHcQoDBb0bjVKBWQeDQAOPF4ElhwmKKIUQgwg 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 17:40:48 +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 r1FGelBi003675; Fri, 15 Feb 2013 17:40:47 +0100 (CET) (envelope-from tijl@coosemans.org) Message-ID: <511E6509.9090703@coosemans.org> Date: Fri, 15 Feb 2013 17:40:41 +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: <511E01BA.20307@coosemans.org> In-Reply-To: <511E01BA.20307@coosemans.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig387E7325261E2159CFA2BFFE" 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 16:41:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig387E7325261E2159CFA2BFFE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15-02-2013 10:36, Tijl Coosemans wrote: > 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.) >> >> I'm not entirely new to *nix, but I'm novice enough that I can't seem= >> to get this to work. >> >> 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. >> >> 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.) >> >> 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...? >> >> Could anyone help me get past this point? >> >> Thanks in advance! And please, if there's any info I can provide that= >> would be helpful, please just let me know. >> >> 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= >> >> The install script in question: >=20 > Try creating this link: >=20 > ln -s ../usr/bin/expr /compat/linux/bin/expr >=20 > Without this link Linux scripts run the FreeBSD expr which isn't fully > compatible. And also, the Linux compatibility layer is 32bit so you need the x86 version of Matlab. --------------enig387E7325261E2159CFA2BFFE 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) iF4EAREIAAYFAlEeZQ4ACgkQfoCS2CCgtiufsAD9HiUZQgOeBoKiEHRap1E5GdOw ZbxQ6qDYwxBpGkll6FMA/jenngGjXLyFSIH8jz1gZbJAJrg0EpWfYOrc6Lg8vy3C =OXKw -----END PGP SIGNATURE----- --------------enig387E7325261E2159CFA2BFFE--