[58] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: help with SRPMS, e.g., libc-5.3.12.src.rpm

daemon@ATHENA.MIT.EDU (Erik Troan)
Sun Oct 20 14:25:10 1996

Date: Sun, 20 Oct 1996 14:23:57 -0400 (EDT)
From: Erik Troan <ewt@redhat.com>
To: John Salmon <johns@sockeye.fishnet.caltech.edu>
cc: redhat-list@redhat.com
In-Reply-To: <m1ramtijji.fsf@fishnet.caltech.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On 20 Oct 1996, John Salmon wrote:

> Second, some additional clues.  A colleague suggested that I have to
> run as root because rpm -i wants to install stuff in a root-owned
> directory.  Sure enough.  I was able to do rpm -i, but none of the -b
> options work yet.  For example, starting with empty
> /usr/src/redhat/SOURCES and SPECS directories:
> 
> [root@penguin SRPMS]# rpm -bp libc-5.3.12-8.src.rpm 
> Unknown Field: \355\253\356\333
> 
> Build failed.
> [root@penguin SRPMS]# rpm -i libc-5.3.12-8.src.rpm 
> [root@penguin SRPMS]# rpm -bp libc-5.3.12-8.src.rpm 
> Unknown Field: \355\253\356\333
> 
> Build failed.
> [root@penguin SRPMS]# 

The -b options run against a .spec file, not against a .src.rpm.

You can also set a topdir in .rpmrc to use a directory tree other then
/usr/src/redhat fwiw.

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
       us when we've die. - "The Last Supper" from Jesus Christ Superstar
|   Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu    |


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post