On Tue, 2007-07-03 at 17:02 +0100, Sharpe, Sam J wrote:
> > (pretty funny for a company that claims to sell "Unbreakable Linux"
> to continually provide such broken linux stuff).
>
> But not as funny as the compat-oracle-rhel4 package which replaces
> your system /usr/bin/gcc in the %postinstall section to get around the
> fact that they can't:
>
> 1) replace the existing /usr/bin/gcc in the %files section of their
> RPM as it is already owned by another RPM
> 2) rewrite their code so that it doesn't have a hardcoded path for gcc
>
> I giggled when I saw that...
Sam,
You giggled, but you might laugh out loud when you hear the solution we
came up with on my previous team. We used a glorified wrapper script
as /usr/bin/gcc and it uses various clues to determine if it should call
the default gcc, gcc32 or gcc296. It uses group membership, environment
variables and even the presence of a dot-file in your home directory to
determine which compiler you're really asking for. All of this to
support many 11i developers on RHEL 3 and RHEL 4 systems. Considering
how 11i requires Red Hat 7.x-based libraries to function properly, maybe
the next app suite will only require RHEL 3 libraries and
compilers. ;-)
/Brian/
--
Brian Long | |
. | | | . | | | .
' '
C I S C O
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list