Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 1998 17:26:54 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Graeme.Cross@sci.monash.edu.au
Cc:        Mike Smith <mike@smith.net.au>, emulation@FreeBSD.ORG
Subject:   Re: Linux RPM on FreeBSD, anyone doing this? 
Message-ID:  <199812220126.RAA01795@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 22 Dec 1998 12:23:56 %2B1100." <Pine.LNX.4.04.9812221223130.831-100000@babylon.wsc.monash.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.  

I just got a RedHat 5.2 CD today, so I may be able to make some more 
progress on this soon.


> 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
> 
> 

-- 
\\  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812220126.RAA01795>