You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Sean Smitz <se...@gmail.com> on 2010/02/22 16:16:51 UTC

Help with building rpm for apr-util-1.3.9

Where can I get the sources to build an rpm for apr-devel-1.3? Since there is a dependency for this to build the rpm for apr-util-1.3.9. I'm running RHEL5 and haven't found an rpm for my platform that meets the dependency requirement.

Sean

Re: Help with building rpm for apr-util-1.3.9

Posted by Graham Leggett <mi...@sharp.fm>.
On 01 Mar 2010, at 4:31 PM, Dan Poirier wrote:

> This looks like a good candidate to add to the build instructions in  
> the
> apr and apr-util README files.

How to build an RPM is specified by convention rather than by an  
application-specific set of build instructions, and we follow the  
convention, but for the sake of people who aren't familiar with the  
convention, adding additional instructions is definitely useful.

+1.

Regards,
Graham
--


Re: Help with building rpm for apr-util-1.3.9

Posted by Dan Poirier <po...@pobox.com>.
On 2010-02-22 at 10:31, Graham Leggett <mi...@sharp.fm> wrote:

> Using the standard released ASF tarballs for apr and apr-util, run the
> following to create SRPMs:
>
> rpmbuild -ts apr-<version>.tar.bz2
> rpmbuild -ts apr-util-<version>.tar.bz2
>
> (older apr releases required tar.gz files)
>
> Run the following to create RPMs (or build from the SRPMs):
>
> rpmbuild -tb apr-<version>.tar.bz2
> rpmbuild -tb apr-util-<version>.tar.bz2
>
> Resolve dependencies as appropriate (This works for me on RHEL5).

This looks like a good candidate to add to the build instructions in the
apr and apr-util README files.

E.g.

Index: README
===================================================================
--- README	(revision 917548)
+++ README	(working copy)
@@ -137,6 +137,22 @@
    ./testall -v
 
 
+Building APR RPM files on Linux
+===============================
+
+Run the following to create SRPMs:
+
+rpmbuild -ts apr-<version>.tar.bz2
+rpmbuild -ts apr-util-<version>.tar.bz2
+
+Run the following to create RPMs (or build from the SRPMs):
+
+rpmbuild -tb apr-<version>.tar.bz2
+rpmbuild -tb apr-util-<version>.tar.bz2
+
+Resolve dependencies as appropriate.
+
+
 Configuring and Building APR on Windows
 =======================================
 

Re: Help with building rpm for apr-util-1.3.9

Posted by Graham Leggett <mi...@sharp.fm>.
On 22 Feb 2010, at 5:16 PM, Sean Smitz wrote:

> Where can I get the sources to build an rpm for apr-devel-1.3? Since  
> there is a dependency for this to build the rpm for apr-util-1.3.9.  
> I'm running RHEL5 and haven't found an rpm for my platform that  
> meets the dependency requirement.

Using the standard released ASF tarballs for apr and apr-util, run the  
following to create SRPMs:

rpmbuild -ts apr-<version>.tar.bz2
rpmbuild -ts apr-util-<version>.tar.bz2

(older apr releases required tar.gz files)

Run the following to create RPMs (or build from the SRPMs):

rpmbuild -tb apr-<version>.tar.bz2
rpmbuild -tb apr-util-<version>.tar.bz2

Resolve dependencies as appropriate (This works for me on RHEL5).

Regards,
Graham
--