Date: Tue, 6 Feb 2001 22:23:04 -0600 From: Glenn Johnson <glennpj@charter.net> To: Brandon Fosdick <bfoz@glue.umd.edu> Cc: ports@FreeBSD.ORG Subject: Re: Linux Matlab on 4.2? Message-ID: <20010206222303.A1542@gforce.homelan.net> In-Reply-To: <3A805F64.5AD03FA@glue.umd.edu>; from bfoz@glue.umd.edu on Tue, Feb 06, 2001 at 03:32:36PM -0500 References: <3A805F64.5AD03FA@glue.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010206222303.A1542>