Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Philip Blundell <pjb27@cam.ac.uk>
Subject: Re: rpm errors
Date: Sun, 18 May 1997 14:12:53 +0100 (BST)	[thread overview]
Message-ID: <4b4c0ebafc795be667cd3a44735c69bd.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.970518075841.11386A-100000@chomper.int.chapwin.com>

On Sun, 18 May 1997, Rick Windham wrote:

> I do a rpm -bp <somename>.src.rpm to install and prep the package.  I'm
> running RH 4.1 on a UDB.  Anyone know why this might be happening?

"rpm -bp" takes a spec file as its argument, so you must do something
like: 

# rpm --install foobar-1.2.src.rpm
# cd /usr/src/redhat
# rpm -bp SPECS/foobar-1.2.spec

Alternatively, you can say

# rpm --recompile foobar-1.2.src.rpm

to install, prep and compile, or replace recompile with rebuild to build a
binary RPM as well.

p.

--
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

       reply	other threads:[~1997-05-18 13:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.95.970518075841.11386A-100000@chomper.int.chapwin.com>
1997-05-18 13:12 ` Philip Blundell [this message]
1997-05-18 13:00 rpm errors Rick Windham
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