* compiling source rpms
@ 1998-06-27 20:16 Robb
1998-06-29 13:56 ` Bart-Jan Vrielink
0 siblings, 1 reply; 4+ messages in thread
From: Robb @ 1998-06-27 20:16 UTC (permalink / raw)
To: axp list
I have a newbie question concerning source RPMS. I am trying to upgrade
to the latest development kernel on my 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?
Thanks in advance.
--
Robb Romans So I shot 'em down
One by one
Southwest Texas State University Then I left 'em 'long the rails
www.swt.edu/~rr44607 I only use my gun
Whenever kindness fails
-- Robert Earl Keen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling source rpms
1998-06-27 20:16 compiling source rpms Robb
@ 1998-06-29 13:56 ` Bart-Jan Vrielink
0 siblings, 0 replies; 4+ messages in thread
From: Bart-Jan Vrielink @ 1998-06-29 13:56 UTC (permalink / raw)
To: Robb; +Cc: axp list
On Sat, 27 Jun 1998, Robb wrote:
> I have a newbie question concerning source RPMS. I am trying to upgrade
> to the latest development kernel on my 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?
First install the SRPMS by doing a 'rpm -i package.src.rpm'
Then look in /usr/src/redhat in the various dirs, there is it installed,
and in the /usr/src/redhat/SPECS dir there is a file called
'package.spec'.
Do a 'rpm -bi /usr/src/redhat/SPECS/package.spec' to make & install the
package, or do a 'rpm -bb /usr/src/redhat/SPECS/package.spec' to make the
.rpm-file. Install this rpm-file and if it works, make it also available
for the rest of us....
Tot ziens,
--
Bart-Jan Vrielink <b.j.vrielink@de-boulevard.nl>
De Boulevard Electronic Commerce - IT Developer
Tel. +31 53 4836377 - Fax. +31 53 4836378
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: compiling source rpms
@ 1998-06-29 17:22 Tibbetts, Richard
1998-06-30 3:19 ` Robb
0 siblings, 1 reply; 4+ messages in thread
From: Tibbetts, Richard @ 1998-06-29 17:22 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Even easier:
Once you have the SRPM, simply run:
rpm --rebuild <rpm name>
This will compile the SRPM, and output an rpm file in
/usr/src/redhat/RPMS/<platform>
Then just install the resultant RPM via the normal methods.
There's really no need to tear them apart unless you want to twiddle
with the code.
> ______________________________
> Ric Tibbetts
> Boeing SSG Distributed CATIA
> Central Administration
> CAS-CADE Central Administration
> Phone: 425/393-4442 Pager: 425/645-2012
> E-Mail: richard.tibbetts@boeing.com
>
> Eagles may soar, but weasels don't get sucked into jet engines.
> _______________________________
>
>
>
> ----------
> From: Bart-Jan Vrielink[SMTP:bartjan@de-boulevard.nl]
> Reply To: axp-list@redhat.com
> Sent: Monday, June 29, 1998 6:56 AM
> To: Robb
> Subject: Re: compiling source rpms
>
> On Sat, 27 Jun 1998, Robb wrote:
>
> > I have a newbie question concerning source RPMS. I am trying to
> upgrade
> > to the latest development kernel on my 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?
>
> First install the SRPMS by doing a 'rpm -i package.src.rpm'
> Then look in /usr/src/redhat in the various dirs, there is it
> installed,
> and in the /usr/src/redhat/SPECS dir there is a file called
> 'package.spec'.
> Do a 'rpm -bi /usr/src/redhat/SPECS/package.spec' to make & install
> the
> package, or do a 'rpm -bb /usr/src/redhat/SPECS/package.spec' to make
> the
> .rpm-file. Install this rpm-file and if it works, make it also
> available
> for the rest of us....
>
> Tot ziens,
>
> --
> Bart-Jan Vrielink <b.j.vrielink@de-boulevard.nl>
> De Boulevard Electronic Commerce - IT Developer
> Tel. +31 53 4836377 - Fax. +31 53 4836378
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling source rpms
1998-06-29 17:22 Tibbetts, Richard
@ 1998-06-30 3:19 ` Robb
0 siblings, 0 replies; 4+ messages in thread
From: Robb @ 1998-06-30 3:19 UTC (permalink / raw)
To: axp-list
Thank you, thats it! I was able to get as far as installing the source
rpm into the /usr/src/redhat directory, but was unable to make a rpm. I
finally figured out that rpm -ba in the ./SPEC dir would do essentially
the same thing, but I was too dense to come to that conclusion right
away. I now have 2.1.107 working on an XL300, mostly.
BTW, would someone please give me the "official word" on the SMP=1 line
in the Makefile for 2.1.XXX? My kernel would not compile until I
"commented it out." Was this correct? I thought I read in previous posts
that the solution for Alphas was to UNcommnet this.
Thanks again,
Robb.
Tibbetts, Richard wrote:
>
> Even easier:
> Once you have the SRPM, simply run:
> rpm --rebuild <rpm name>
>
> This will compile the SRPM, and output an rpm file in
> /usr/src/redhat/RPMS/<platform>
>
> Then just install the resultant RPM via the normal methods.
> There's really no need to tear them apart unless you want to twiddle
> with the code.
--
Robb Romans So I shot 'em down
One by one
Southwest Texas State University Then I left 'em 'long the rails
www.swt.edu/~rr44607 I only use my gun
Whenever kindness fails
-- Robert Earl Keen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-06-30 3:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-27 20:16 compiling source rpms Robb
1998-06-29 13:56 ` Bart-Jan Vrielink
-- strict thread matches above, loose matches on Subject: below --
1998-06-29 17:22 Tibbetts, Richard
1998-06-30 3:19 ` Robb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox