From owner-freebsd-questions Wed Aug 30 13:37:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cerebralmaelstrom.com (sc-24-160-53-139.socal.rr.com [24.160.53.139]) by hub.freebsd.org (Postfix) with ESMTP id 6615537B423 for ; Wed, 30 Aug 2000 13:37:46 -0700 (PDT) Received: from Jeremy.cerebralmaelstrom.com (localhost.cerebralmaelstrom.com [127.0.0.1]) by cerebralmaelstrom.com (Postfix) with ESMTP id 0420F5FC; Wed, 30 Aug 2000 13:37:49 -0700 (PDT) subject: Re: Problems with Linux Compatibility Mode x-mailer: pmail 0.5.3 Cc: freebsd-questions@freebsd.org mime-version: 1.0 date: Wed, 30 Aug 2000 13:37:48 PDT From: Stephen Hansen To: rob Content-Type: text/plain; charset="us-ascii" Message-Id: <20000830203749.0420F5FC@cerebralmaelstrom.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Le sigh. I figured out my own problem almost immediately after sending the request. Not that anyone answered, buut :) I _assumed_ that the rpm program would automatically be setup to ignore the fact that you're installing programs for a different OS, and would check in the linux-compatibility tree... Bad assumption, you know what they say about assumptions, yes? Using the following flags, i got 'rpm' to work just fine: rpm --ignoreos --root=/compat/linux Make sure you have Linux compatibility on, and be aware that everything will then be installed in /compat/linux/usr/local/bin, etc, which isn't in your path prolly, so you might want to add it in or symlink the results over into /usr/local/bin. "rob" wrote: > Subject: Re: Problems with Linux Compatibility Mode > Date: Tue, 29 Aug 2000 17:54:14 +0000 > From: rob > To: Stephen Hansen > Cc: freebsd-questions@FreeBSD.ORG > > > I have tried to use the linux rpm in order to install the gtk+1.2 > libraries (needed by Mozilla), but was never successful. The linux rpm > program consistantly failed at unpacking the archives. So I would like > to also hear if anyone has had success. I have searched for > documentation on the Linux emulation part of FreeBSD and have come up > with nothing. Rob > > > Stephen Hansen wrote: > > > > I'm running FreeBSD 4.1, and for some reason, the 'rpm' program/etc is not > > looking in /compat/linux/var/lib/rpm, the 'shadow' fs that Linux proggies > > are susposed to use. Instead, it's looking in my basic /var/lib/rpm. > > > > Am I suspose to have a symbolic link in my /var? Since 'rpm' isn't really > > a Linux application, but instead is a port -- yes? So it won't look in the > > shadow fs. > > > > How should this be setup? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message