Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2001 15:50:55 -0500
From:      Brandon Fosdick <bfoz@glue.umd.edu>
To:        Glenn Johnson <glennpj@charter.net>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Linux Matlab on 4.2?
Message-ID:  <3A81B52F.9AB35084@glue.umd.edu>
References:  <3A805F64.5AD03FA@glue.umd.edu> <20010206222303.A1542@gforce.homelan.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Glenn Johnson wrote:
> 
> 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.

That works much better, the installer now runs to completion.
Unfortunately it won't create any directories. If I manually create the
directories it won't copy files into them. Its weird though cause the
installer doesn't complain about not copying the files, it just finishes
and exits, you have to look in the install log file to see that errors
were generated (no such file or directory type errors).

Is there some reason why it wouldn't be able to create the directories?
I'm installing to /compat/linux/usr/matlabr11. I've tried making the
install directory world read/write but that doesn't seem to help. Are
there issues with linux compat and coying from cdrom?


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?3A81B52F.9AB35084>