From owner-freebsd-emulation Wed Sep 27 12:57:19 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id D3A7937B424 for ; Wed, 27 Sep 2000 12:57:10 -0700 (PDT) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 16E99D9B; Wed, 27 Sep 2000 12:57:04 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id MAA23650; Wed, 27 Sep 2000 12:57:03 -0700 (PDT) Message-ID: <39D2510F.5E9607DC@cup.hp.com> Date: Wed, 27 Sep 2000 15:57:03 -0400 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Sebastiaan van Erk Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Installing additional Linux shared objects (was: Re: xview) References: <20000927211022.B13249@sebster.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sebastiaan van Erk wrote: > > Well I checked out how linux base does it, and it's like this: > > rpm --root /usr/compat/linux --ignoreos --install > > However, the linux_base port also cleaned out /usr/compat/linux/tmp, > /usr/compat/linux/var/tmp, /usr/compat/linux/dev, etc., which can > cause the installation scripts of your rpm to complain quite loudly > and fail anyway. For xview I made temporary versions of these dirs > and files (and no, you cannot symlink them because the --root flags > does a chroot). It's not nice, so if anyone knows a BETTER way to > do this, I'm interested. But xview works. If you know you don't need to use the FreeBSD native port of rpm, you can run /compat/linux/bin/rpm. The problem is that the Linux rpm (v3.x) converts the database into a format not understandably by the FreeBSD native rpm (v2.5.x). We need to upgrade our rpm port. With the Linux version it's as simple as: /compat/linux/bin/rpm -i foobar.rpm -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message