Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2000 00:31:45 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Matthew Peacock <Mattp@innerrange.com.au>
Cc:        questions@freebsd.org
Subject:   Re: Please help with linux compatibility
Message-ID:  <14881.65489.959185.401391@guru.mired.org>
In-Reply-To: <93472339@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Peacock <Mattp@innerrange.com.au> types:
> Hello,
> 
> I recently purchased a copy of the FreeBSD Toolkit v5.0. 
> I wanted to try the version of StarOffice-3.1 that comes with the disks in
> the Toolkit. I understand that i need to run the linux KLD in order to
> achieve this.
> 
> When I installed the FreeBSD operating system on my computer it asked if I
> wanted linux compatibility and I said yes. After installation I checked the
> /usr/compat/linux directory and it seemed to have quite a few directories
> including lib, bin, sbin...

Was there anything in them?

> I also checked my rc.conf file and it said LINUX_ENABLE = "NO". I changed it
> to "YES" and rebooted.
> I then ran the kldstat program to see if the linux module was loaded but it
> didn't appear to be.

Huh - that should have been fixed at install time.

> I then typed the following:
> #linux
> 
> And the system responded with "No such command".

That's right, there is no such command. Linux "emulation" is a
misnomer; there isn't a program you run that "emulates" linux; instead
there is a layer in the kernel that emulates the linux system
calls. It should be called Linux "compatability" mode, as that's all
that's really going on.

> Can you please tell me what I need to do to get linux compatibility to work?
> I think I have done everything right. Any help would be greatly appreciated.

Looks like you've done everything you need to. Linux binaries should
now run as well as they do on a Linux distro consisting of what you
have installed in /usr/compat/linux. StarOffice seems to be
someone flaky when installing it as a port, though - lots of people
have problems getting it to work. However, if you haven't, you should
try installing it.

	<mike
--
Mike Meyer					http://www.mired.org/home/mwm/
Independent WWW/Unix/FreeBSD consultant,	email for rates.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14881.65489.959185.401391>