From owner-freebsd-emulation Mon Dec 21 17:23:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25764 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 17:23:05 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from babylon.wsc.monash.edu.au (babylon.wsc.monash.edu.au [130.194.164.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25759 for ; Mon, 21 Dec 1998 17:23:02 -0800 (PST) (envelope-from graeme@babylon.wsc.monash.edu.au) Received: from localhost (graeme@localhost) by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id MAA00890; Tue, 22 Dec 1998 12:23:57 +1100 Date: Tue, 22 Dec 1998 12:23:56 +1100 (EST) From: Graeme Cross Reply-To: Graeme.Cross@sci.monash.edu.au To: Mike Smith cc: emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812210830.AAA50630@dingo.cdrom.com> Message-ID: X-Attribution: gjc X-PGP-Key-ID: 702DB549 X-URL: http://www.wsc.monash.edu.au/~graeme/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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? You can bypass an RPM installation - use rpm2cpio to extract the cpio archive from the RPM file, and then extract the files from there. Not pretty, but certainly a lot nicer than trying to retrofit RPM into FreeBSD. You can get the rpm2cpio script from: http://www.eleves.ens.fr:8080/home/espel/hacks.html (it's listed about half way down the page) Cheers Graeme -- Graeme Cross Water Studies Centre, Monash University Phone: +61 3 990 54089 Clayton, Victoria, Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message