From: "B. James Phillippe" <bryan@terran.org>
To: Robb <rr44607@swt.edu>
Subject: Re: SRPM compilation
Date: 1998/07/03 [thread overview]
Message-ID: <Pine.LNX.3.96.980703213957.10708C-100000@earth.terran.org> (raw)
In-Reply-To: 3595888E.2662EC34@swt.edu
On Sat, 27 Jun 1998, Robb wrote:
> 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?
What I do is rpm -i the RPM, and then rebuild it using the "rpm -ba
/path/to/spec-file" command (the files will be unpacked in
/usr/src/redhat). See if you have a /usr/doc/rpm-ver.num directory.
Another thing you can do is use rpm2cpio to conver the RPM to a cpio
archive, then install that in a temp directory and build it by hand. I
used to do this before I ran a RedHat system.
> 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.
I installed my egcs in /usr/local (using ../configure --prefix=/usr/local
--with-local-prefix=/usr/local
--with-gxx-include-dir=/usr/local/include/g++) and then installed it. I
then either set /usr/local/bin before /usr/bin in my search path (not
ideal) or set up symlinks in my ~/bin called egcs and egcs++ that point to
the binaries in /usr/local/bin/gcc/++.
Hope this helps,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan
next prev parent reply other threads:[~1998-07-03 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
1998-07-03 4:00 ` B. James Phillippe [this message]
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