Re: Accessing Linux Source on linux-rep.fnal.gov

yocum@sapphire.fnal.gov
Wed, 23 Sep 1998 11:01:10 -0500

------- Forwarded Message

Return-Path: linux-users-error@fnal.gov
Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.9.8])
by sapphire.fnal.gov (8.8.7/8.8.7) with ESMTP id IAA14465
for <yocum@sapphire.fnal.gov>; Wed, 23 Sep 1998 08:48:13 -0500
Received: from sapphire.fnal.gov (root@sapphire.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998) id <01J251SXN1FK0001VE@FNAL.FNAL.GOV>
(original mail from yocum@sapphire.fnal.gov) for yocum@sapphire.fnal.gov; Wed,
23 Sep 1998 08:48:11 -0500 CST
Received: from sapphire.fnal.gov (root@sapphire.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998)
with ESMTP id <01J251SWSM3000021P@FNAL.FNAL.GOV> for
linux-users-expand@reprocess.FNAL.FNAL.GOV; Wed, 23 Sep 1998 08:47:51 -0500
Received: from sapphire.fnal.gov (yocum@localhost [127.0.0.1])
by sapphire.fnal.gov (8.8.7/8.8.7) with ESMTP id IAA14455; Wed,
23 Sep 1998 08:47:47 -0500
Date: Wed, 23 Sep 1998 08:47:44 -0500
From: Dan Yocum <yocum@fnal.gov>
Subject: Re: Accessing Linux Source on linux-rep.fnal.gov
Sender: yocum@sapphire.fnal.gov
To: djholm@fnal.gov, marilyn@bastet.fnal.gov
Cc: linux-users@fnal.gov
Errors-to: linux-users-error@fnal.gov
Message-id: <199809231347.IAA14455@sapphire.fnal.gov>
Organization: Fermi National Accelerator Laboratories
X-Mailer: exmh version 2.0zeta 7/24/97
Precedence: normal

> 2. OK, we're looking for 'psacct-6.3-2.src.rpm'. The easiest way to find
> this file is to go to the web,
> http://linux-rep.fnal.gov/
> and select the link
> 'Locate a file in the repository'.
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

This *may* be the easiest, however, this may not be the best place to get the
packages since this is simply a mirror of the redhat-5.0 directory at Red Hat
which does not include the updates we've applied here at the Lab, and besides
that, paging through the list of files can be tedious (I did a search on glibc
just to see what it gave back...ugh!).

To make sure you get the latest rpm package as is included in the Fermi Red
Hat Linux v5.0.2 (frozen as of August 31), point your browser here:

ftp://linux.fnal.gov/linux/current/i386/RedHat/RPMS/

and use the browser search function to look for what you want.

To get the rpm sources go here:

ftp://linux/linux/current/SRPMS/

You can either ftp or NFS mount as Don described in the previous message.

>
> rpm -i psacct-6.3-2.src.rpm
>
> This puts the 'spec' file in /usr/src/redhat/SPECS, and the various tar
> files and patches in /usr/src/redhat/SOURCES. You then use
>
> cd /usr/src/redhat/SPECS
> rpm -bp psacct-6.3.spec
>

Three minor bugs you will need to be aware of when building RPMs on systems
distributed with rpm-2.5.2-1, i.e., the Fermi distribution:

1) the directory /usr/src/redhat/RPMS/i386 does not exist - create it
2) the directory /usr/src/redhat/RPMS/noarch does not exist - create it
3) the path to gzip in the /usr/lib/rpmrc file is wrong! In the fresh
distribution it sets it to /usr/bin/gzip. This should be /bin/gzip. This is
on line 11 of the rpmrc file.

Cheers,
Dan

_________________________________________________________________________
Dan Yocum | Phone: (630) 840-8525
Computing Division OSS/FSS | Fax: (630) 840-6345
Fermi National Accelerator Laboratory | email: yocum@fnal.gov
P.O. Box 500 | WWW: www-oss.fnal.gov/~yocum/
Batavia, IL 60510 | "TANSTAAFL"
_______________________________________|_________________________________

------- End of Forwarded Message