From owner-freebsd-emulation Mon Dec 21 02:07:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01744 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 02:07:34 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01739 for ; Mon, 21 Dec 1998 02:07:30 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id CAA01419; Mon, 21 Dec 1998 02:04:57 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812211004.CAA01419@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Kris Kennaway cc: Mike Smith , emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-reply-to: Your message of "Mon, 21 Dec 1998 20:30:07 +1030." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 02:04:54 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Mon, 21 Dec 1998, Mike Smith wrote: > > > I'm struggling with the IBM DB2 installer at the moment; they're > > wholesale sold on the RPM thing, which isn't necessarily a bad idea, > > however it means amongst other things that you need a functional rpm on > > your system, as well as a pile of RPMs installed (including some of the > > base system ones). > > > > The rpm binary from RedHat's 5.2 release segfaults on exit, > > unfortunately, which upsets the installer no end... > > > > Any suggestions? > > /usr/ports/misc/rpm? I've only ever used this to install one RPM package, but > it seemed to work. > > Or am I missing the point? If you can tell me how to coerce it so that it will use /compat/linux as the root for all installations, that'd do the trick. Unfortunately it appears to be another piece of Quality Linux Software. Particularly, it appears that you can manipulate the state of *some* of the commandline options through the /etc/rpmrc file, but not all of them. Naturally, none of them are documented, and the sample defaults file may or may not contain a complete set of examples. So not so much missing the point as not having yet hit the problems I have. It actually seems that the Linux version is working, just segfaulting on exit, but it looks like basically I have to back to square one and build a complete linux_lib distball using it, as it's not possible to coerce it into installing something (Except using a commandline option, which of course you can't do when it's being called from inside another binary, and you can't supply the option in a wrapper script because the option isn't always valid... argh!). -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message