From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 2 10:53:41 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD44616A4CE for ; Wed, 2 Mar 2005 10:53:41 +0000 (GMT) Received: from neo.redjade.org (neo.redjade.org [219.254.21.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2668743D31 for ; Wed, 2 Mar 2005 10:53:41 +0000 (GMT) (envelope-from ssw@neo.redjade.org) Received: from neo.redjade.org (localhost [127.0.0.1]) by neo.redjade.org (8.13.1/8.13.1) with ESMTP id j22Arldg025899; Wed, 2 Mar 2005 19:53:47 +0900 (KST) (envelope-from ssw@neo.redjade.org) Received: (from ssw@localhost) by neo.redjade.org (8.13.1/8.13.1/Submit) id j22ArlJS025898; Wed, 2 Mar 2005 19:53:47 +0900 (KST) (envelope-from ssw) Date: Wed, 2 Mar 2005 19:53:47 +0900 From: Sangwoo Shim To: dR Message-ID: <20050302105347.GB25618@neo.redjade.org> References: <20050302100502.41535.qmail@web52303.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=euc-kr Content-Disposition: inline In-Reply-To: <20050302100502.41535.qmail@web52303.mail.yahoo.com> User-Agent: Mutt/1.5.4i cc: freebsd-amd64@freebsd.org Subject: Re: AMD64/rel 5.3 - setting up Linux compatibility X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 10:53:42 -0000 On Wed, Mar 02, 2005 at 02:05:02AM -0800, dR wrote: [snip] AFAIK, kernel modules for linux compatibility do not work yet. You should include them directly in the kernel configuration file. Well, I'll describe a little what I've done to use OOo for linux on FBSD/amd64. FYI, I installed OOo 1.9.m79. 1. Rebuild and install kernel with following options. options LINPROCFS options COMPAT_43 options COMPAT_LINUX32 2. After reboot, install emulators/linux_base. 3. Install java/linux-sun-jdk14. 3. Download OOo package for linux and expand it. Extract generated rpms using rpm2cpio, like rpm2cpio *.rpm | tar xvf - OOo files will be extracted into $PWD/opt. 4. Copy entire opt directory to /compat/linux/opt. 5. Add OOo shlib directory (/opt/openoffice.org1.9.79/program/filter) to /compat/linux/etc/ld.so.conf, and run /compat/linux/sbin/ldconfig. And then you are all set. Execute /compat/linux/opt/openoffice.org1.9.79/program/soffice. If you are not using English-version of OOo, you might have to map some font files for your language. Hope these help. Regards, Sangwoo Shim