[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rpm question
From: |
pauljohn |
Subject: |
Re: rpm question |
Date: |
Tue, 12 Jun 2001 08:54:14 -0500 |
Ken Gosier wrote:
>
> Hopefully an easy question on the rpm's:
>
> I installed the rh6.2 rpm. When I query rpm, I get
>
> swarm-hdf5-2.1.1-1.rh6
>
> (Many thanks to Paul Johnson for providing these, btw.)
>
> Question: As far as I understand, this rpm installs headers
> and libraries, but not the actual source itself.
yes
> If I want
> to get the source, it seems like there are 2 options:
>
> 1) Install the source rpm from
>
> http://lark.cc.ukans.edu/~pauljohn/Swarm/SRPMS/
>
> If I can do this, would it just be a case of downloading
> this rpm and issuing
>
> rpm -ivh <srpm filename>
>
> Then it would just install the source files alone, not
> overwriting the headers/libraries already there?
It dumps the tarball and spec file into the place where you build rpms,
by default /usr/src/redhat.
>
I got harrassed about filespace, so I don't even put up SRPMs most of
the time. If you had an SRPM, you could theoretically build rpms with
the command "rpm --rebuild swarm-XX-src.rpm". Or, if you do the install
with -i, you cd into the spec directory and "rpm -ba swarm-XX.spec" to
build swarm rpms.
Your question does not say you want to build rpms, actually, but in case
somebody does want to...
I do post the spec files,
(http://lark.cc.ukans.edu/~pauljohn/Swarm/Swarm-2.x_RPMSforRH7/) which
you can download, then get the raw source from swarm ftp, and repackage
it so the directory name and file name are swarm-2.1.xx.2001xxxx or
whatever.
Then in the SPEC directory, do "rpm -ba swarm-hdf5-xxx" to start the
build process.
If you are building on a stock redhat system, you need to change some
rpms. I use jikes 0.47, hdf5-1.2.2, gcc-2.95.3
> 2) Get the source tarball from
>
> http://www.swarm.org/release-swarm.html
>
> and do an install from the source.
>
His tarball, my specfile, its a beautiful thing.
Otherwise, you are doing it the old fashioned honorable way that we have
documented in some detail in the past in the SwarmFaq
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- rpm question, Ken Gosier, 2001/06/12
- Re: rpm question,
pauljohn <=