RPM Community Forums

Mailing List Message of <rpm-users>

Re: Help: Installing RPM on Solaris 8

From: devzero2000 <pinto.elia@gmail.com>
Date: Thu 10 Apr 2008 - 14:52:57 CEST
Message-ID: <b086760e0804100552u45036e30k33f80d83ae047913@mail.gmail.com>
In regard to the compatibility of RPM 5 i can tell that i use it on rhel5.1,
fc8 out-of-the box, updating only
rpm and the libs. What is more, no problem with yum. Ok  i have to do some
customization - but it is normal.

There is some badly packaged  rpm that have problem : directory orphan,
erratic rpm dependency (net-snmp) :
not difficult to solve and someone had it already, as far i know.

On Thu, Apr 10, 2008 at 2:20 PM, Ralf S. Engelschall

> On Wed, Apr 09, 2008, Tim Mooney wrote:
> > In regard to: Re: Help: Installing RPM on Solaris 8, Jeff Johnson said
> (at...:
> >
> >> While I'd rather not venture into political quagmire's, I believe
> >> that history shows that Solaris support has always been
> >> better with the rpm5 code base than with the RedHat rpm.org code base.
> >
> > Once one got all the appropriate dependencies to install on Solaris,
> > getting rpm 4.4.9 to build wasn't bad.  Since RPM 5.0 is based on the
> > 4.4.9 code base and Ralf has been using 5.0.x for OpenPKG, I would
> indeed
> > expect that Solaris support would be no worse in 5.0.x, and very likely
> > better.
> RPM 5.0 and 5.1 really build out-of-the-box on mostly all Unix platforms
> I had access to (Linux, BSD, Solaris, etc) with both GCC and non-GCC
> (Intel C/C++, Sun Studio, etc) compilers. During porting RPM 5 I even
> used "strange" combinations like Sun Studio under Fedora or Intel C/C++
> (actually Linux compiler) under FreeBSD, etc.
> So, when it comes to portability I can only strongly recommend to use
> RPM 5 and not RPM 4. OpenPKG had to apply lots of workarounds to its RPM
> 4.2.1 in order to get it building and working under non-Linux platforms.
> With RPM 5 all(!) those hacks are now fully gone.
> > I haven't really paid any attention to what Red Hat is doing with their
> > branch of RPM, but I'm under the impression that it's based on an
> earlier
> > point in the code base -- 4.4.2 comes to mind.  I would definitely
> expect
> > that their fork would be harder to compile on Solaris than the code
> that's
> > based on 4.4.9.
> Yes, definitely. RPM 4.4.x already included a bunch of portability
> fixes and with RPM 5 we really made RPM very portable. RPM 4.4.2 is as
> unportable to non-Linux platforms as RPM 4.2.1 (the old version OpenPKG
> uses) was. So, for using RPM under Solaris I can only recommend to do
> oneself a favor and already start over with RPM 5 ;-) RPM 4 can bite one
> very much when it comes to portability...
>                                       Ralf S. Engelschall
>                                       rse@engelschall.com
>                                       www.engelschall.com
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Thu Apr 10 14:53:01 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.