Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 1998 09:16:34 -0800 (PST)
From:      Tom Bartol <bartol@salk.edu>
To:        Mike Smith <mike@smith.net.au>
Cc:        Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG
Subject:   Re: Linux RPM on FreeBSD, anyone doing this? 
Message-ID:  <Pine.BSF.3.96.981222091412.96278I-100000@eccles.salk.edu>
In-Reply-To: <199812220126.RAA01795@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 21 Dec 1998, Mike Smith wrote:

> > 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.
> 
> Unfortunately, IBM have done exactly the "right thing", and their 
> installer frontends for RPM as well as doing other configuration things.
> It would probably be possible to bruteforce it and then 
> reverse-engineer what it does, but it does a *lot* of stuff, and I 
> would prefer to stick with their tools when possible.
> 
> What I effectively need is rpm running in the linux context, ie. 
> managing the contents of /compat/linux.  I think it will actually work 
> (it'd be nice to fix the secfault-on-exit problem of course), I just 
> have to deal with all the prereqs.  
> 

How about running rpm in a chroot'd environment rooted at /compat/linux
and adding a the /var tree under /compat/linux?

Tom



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981222091412.96278I-100000>