Re: installing a second gcc on the same machine

devzero2000 <[email protected]> Wed, 11 Jun 2008 22:47:43 +0200
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
Something as "--badreloc" force someone to think that the rpm package
manager is evil
ad i don't think this (look at this
http://www.germane-software.com/~ser/Files/Essays/RPM_Hell.html<http://www.germane-software.com/%7Eser/Files/Essays/RPM_Hell.html>).
One thing marked as "--bad" is bad, not sure a normal mode of work. So it is
a matter of quality assurace : do to the right think so to have confidence
that the package preserve my system integrity ( and my time )

In the same vein, someone think that the package dependency are a nightname
and i don't think this: but they think are more simple disabling the
dependency, also when they  distributed only binary package - commercial
software or so. But it is this a nightmare : it is possible to upgrade the
system ? which truly requisite i have on this software ? Sure, it is
possibile to do : --ignorearch, --nodeps, ecc. But is it a sane thing to do
? But ok, i am a lazy sysadmin, i like pace of mind : so i like rpm.

I hope you agreed with most of the argument i have described.

Best Regards

On Wed, Jun 11, 2008 at 6:47 PM, James Olin Oden <[email protected]>
wrote:

> 2008/6/11 devzero2000 <[email protected]>:
> >
> >
> > On Wed, Jun 11, 2008 at 4:40 PM, James Olin Oden <[email protected]>
> > wrote:
> > On Wed, Jun 11, 2008 at 10:15 AM, Mark Ryden <[email protected]> wrote:
> >> Hello,
> >>
> >>  I want to be able to build a kernel module of FC6 on an FC9 machine,
> >> I build the module on the FC9 machine against an FC6 kernel tree.
> >> However, when I insmod it, I get an error: it expects it to be built
> >> agains the gcc version of FC6.
> >>
> >> I want to keep the gcc of FC9.
> >>
> >> I tried to install the fc6 gcc rpm, with -force, but this seems to
> >> overwrite the previous version.
> >>
> >> My question is: is there a way to install two gcc rpms on the same
> >> machine?
> >>
> > You can use -i, --badreloc and --relocate (see rpm's man page).  With
> > the proper use of these you'll get the other gcc rpm installed off
> > in some other directory like /opt/gcc-fc6.
> >
> > No, gcc on FC or RHEL is not relocatable, so --relocate doesn't work (as
> it
> > is written in the rpm's man page).
> > In this case the best option is to build an "compact-gcc-x.y.z" on FC9,
> > where x.y.z are  the  gcc release of FC6:
> > look at  an  example SRPMS of compact-gcc in FC  or  RHEL4.
> >
> That is what --badreloc is for....the question of whether a package is
> built to be relocatable, and whether it will work when its relocated
> is two entirely different questions (and to what degree will it work
> or not work, and will that degree meet your needs are some other
> questions).
>
> ...james
>
> _______________________________________________
> Rpm-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rpm-list
>

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list