From owner-freebsd-ports Tue Feb 6 20:23:44 2001 Delivered-To: freebsd-ports@freebsd.org Received: from front004.cluster1.charter.net (outbound.charter.net [24.216.159.200]) by hub.freebsd.org (Postfix) with ESMTP id 6510537B401 for ; Tue, 6 Feb 2001 20:23:25 -0800 (PST) Received: from [24.240.126.32] (HELO gforce.homelan.net) by front004.cluster1.charter.net (CommuniGate Pro SMTP 3.4b8) with ESMTP id 754028; Tue, 06 Feb 2001 23:23:23 -0500 Received: (from glenn@localhost) by gforce.homelan.net (8.11.2/8.11.2) id f174N8901726; Tue, 6 Feb 2001 22:23:08 -0600 (CST) (envelope-from glenn) From: Glenn Johnson Date: Tue, 6 Feb 2001 22:23:04 -0600 To: Brandon Fosdick Cc: ports@FreeBSD.ORG Subject: Re: Linux Matlab on 4.2? Message-ID: <20010206222303.A1542@gforce.homelan.net> Mail-Followup-To: glenn, Brandon Fosdick , ports@FreeBSD.ORG References: <3A805F64.5AD03FA@glue.umd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A805F64.5AD03FA@glue.umd.edu>; from bfoz@glue.umd.edu on Tue, Feb 06, 2001 at 03:32:36PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Feb 06, 2001 at 03:32:36PM -0500, Brandon Fosdick wrote: > I'm trying to install Matlab for Linux 5.3 on FreeBSD (stable, rebuilt > yesterday). Does anybody have it working? Somebody in the archives > mentioned having to install the Linux version of tar but the installer > doesn't seem to be getting that far. I see no reason why you would need the Linux version of tar. > > Here's what happens to me: > 15:18 bfoz@806a-117~#/cdrom/install > > Sorry! We could not determine the machine architecture for your > host. Please contact: > > MathWorks Technical Support > > for further assistance. > > > Sorry! Setup aborted . . . > You do not give any specifics so I will have to assume that the install script is calling uname. I do not use Matlab but the above is most likely due to the install script calling uname with an absolute path. Binaries are stored in different areas on FreeBSD and Linux. For instance, uname is in '/usr/bin' on FreeBSD but '/bin' on RedHat. Try running the install script with the Linux shell (you do have Linux compatibility enabled and the linux_base-6.1 port installed, right?). So try the following: /compat/linux/bin/sh /cdrom/install This will cause the install script to be run under the linux shell where it will pick up uname in /bin as it sees it, but it is actually in /compat/linux/bin. The linux compatibility module will cause /compat/linux to be the root of the filesystem for linux applications. Hope that helps. -- Glenn Johnson glennpj@charter.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message