From: Matt Grossman <mattg@oz.net>
Subject: Re: SRPM compilation
Date: 1998/06/28 [thread overview]
Message-ID: <m3btrdtmur.fsf@angel.nowhere.moc> (raw)
In-Reply-To: 3595888E.2662EC34@swt.edu
Robb <rr44607@swt.edu> writes:
> I have a newbie question concerning source RPMS. I run RedHat 5.0, and
> am trying to upgrade to the latest development kernel on my DEC XL300,
> and so need to upgrade a variety of packages. Most of the latest stuff
> is only available as .tgz
> or SRPMS. I have RTFM and whatnot, but cannot figure out the correct way
> to install a SRPM. Would someone be kind enough to give me the procedure
> and commands, or a pointer to some information?
Just "rpm -ihv <srpm>" and it will install the sources and any patches
in /usr/src/redhat/SOURCES, then you can build it there.
> Also, I have downloaded the latest egcs snapshot, and would like to
> install it as a secondary compiler. What is the method to install it
> without blasting away the existing gcc? What invocation to use when
> compiling with egcs? Again, instructions or a link would be much
> appreciated.
Just make sure you are installing it in a different place from the
regular gcc (like /usr/local/egcs/bin). When you build the package,
just supply the "--prefix=/usr/local/egcs" (or whatever) flag to
configure.
egcs may have new options, which are documented in the egcs
distribution. Otherwise, you use it the same as you would gcc.
Matt Grossman
mattg@oz.net
http://www.oz.net/~mattg
next prev parent reply other threads:[~1998-06-28 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-27 4:00 SRPM compilation Robb
1998-06-28 4:00 ` Matt Grossman [this message]
1998-07-03 4:00 ` B. James Phillippe
1998-07-05 4:00 ` Ric Tibbetts
1998-07-07 4:00 ` Robb
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox