From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 3 17:31:25 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 516FF16A4CE for ; Thu, 3 Mar 2005 17:31:25 +0000 (GMT) Received: from phoenix.gargantuan.com (phoenix.gargantuan.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82B9843D53 for ; Thu, 3 Mar 2005 17:31:24 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 71C3A4C9; Thu, 3 Mar 2005 12:31:23 -0500 (EST) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 9295B375; Thu, 3 Mar 2005 12:31:12 -0500 (EST) Date: Thu, 3 Mar 2005 12:31:12 -0500 From: "Michael W. Oliver" To: Jung-uk Kim Message-ID: <20050303173112.GA65467@gargantuan.com> References: <20050302100502.41535.qmail@web52303.mail.yahoo.com> <200503021627.14736.jkim@niksun.com> <20050303035313.GA30221@neo.redjade.org> <200503031154.45046.jkim@niksun.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <200503031154.45046.jkim@niksun.com> X-WWW-URL: http://michael.gargantuan.com X-GPG-PGP-Public-Key: http://michael.gargantuan.com/gnupg/pubkey.asc X-GPG-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Mailing-Address0: 8008 Apache Lane X-Mailing-Address1: Lakeland, FL X-Mailing-Address2: 33810-2172 X-Mailing-Address3: United States of America X-Guide-Questions: http://www.catb.org/~esr/faqs/smart-questions.html X-Guide-Netiquette: http://www.ietf.org/rfc/rfc1855.txt User-Agent: Mutt/1.5.8i X-Spam-DCC: Misty: phoenix.gargantuan.com 1170; Body=1 Fuz1=1 Fuz2=1 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-105.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.2 X-Spam-Pyzor: Reported 0 times. 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: Thu, 03 Mar 2005 17:31:25 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005-03-03T11:54:45-0500, Jung-uk Kim wrote: > On Wednesday 02 March 2005 10:53 pm, Sangwoo Shim wrote: >> On Wed, Mar 02, 2005 at 04:27:14PM -0500, Jung-uk Kim wrote: >>> On Wednesday 02 March 2005 05:53 am, Sangwoo Shim wrote: >>>> On Wed, Mar 02, 2005 at 02:05:02AM -0800, dR wrote: >>>> rpm2cpio *.rpm | tar xvf - > Step 3 doesn't seem to work for me. I just extracted individual RPMs. = =20 > Maybe you have missed few RPMs? I followed the following procedure, which is an off-shoot of Sangwoo's procedure, and it worked great. One note -- I also had to manually set the JRE path, as it was not found automatically. 1. Rebuild and install kernel with following options. options COMPAT_43 options LINPROCFS options COMPAT_LINUX32 2. reboot 3. add the following to /etc/fstab linprocfs /usr/compat/linux/proc linprocfs rw 0 0 4. mount /usr/compat/linux/proc 5. cd /usr/ports/emulators/linux_base && make install clean 6. cd /usr/ports/java/linux-sun-jdk14 && make install clean 7. cd /usr/local/src # or where ever you want 8. fetch "http://openoffice.mirrors.pair.com/contrib/rc/2.0bc/OOo_2.0bc_Lin= uxIntel_install.tar.gz" 9. tar -zxvf OOo_2.0bc_LinuxIntel_install.tar.gz 10. cd RPMS 11. mv openofficeorg* /usr/compat/linux # (do this so that the extracted usr/bin and usr/share stuff are put in the right place later) 12. cd /usr/compat/linux 13. /bin/ls -1 openofficeorg*rpm | while read line; \ do rpm2cpio $line | tar -xvf - ; done 14. rm openofficeorg*rpm 15. echo "/opt/openoffice.org1.9.79/program/filter" >>/usr/compat/linux/etc= /ld.so.conf 16. /usr/compat/linux/sbin/ldconfig 17. Execute /compat/linux/opt/openoffice.org1.9.79/program/soffice NOTE: failing to add "/opt/openoffice.org1.9.79/program/filter" /usr/compat/linux/etc/ld.so.conf resulted in the following error when trying to run soffice: /usr/compat/linux/opt/openoffice.org1.9.79/program/soffice.bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory --=20 Mike Oliver [see complete headers for contact information] --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCJ0ngsWv7q8X6o8kRAggIAJ9FzDssD0LPMMUi2IX4cfB7D22HHgCeMdjn KBm3/XT7Z5vsKfbbY17g/XM= =XF2F -----END PGP SIGNATURE----- --DocE+STaALJfprDB--