From owner-freebsd-questions Sun Nov 26 22:31:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 5116937B65E for ; Sun, 26 Nov 2000 22:31:47 -0800 (PST) Received: (qmail 61524 invoked by uid 100); 27 Nov 2000 06:31:46 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14881.65489.959185.401391@guru.mired.org> Date: Mon, 27 Nov 2000 00:31:45 -0600 (CST) To: Matthew Peacock Cc: questions@freebsd.org Subject: Re: Please help with linux compatibility In-Reply-To: <93472339@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Message: You should get a better mailer. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Peacock 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.