[Xapian-discuss] building on RHEL 5/CentOS 5
Tim Brody
tdb2 at ecs.soton.ac.uk
Mon Aug 23 15:40:20 BST 2010
On Mon, 2010-08-23 at 13:21 +0100, Olly Betts wrote:
> On Mon, Aug 23, 2010 at 12:08:15PM +0100, Tim Brody wrote:
> > On Mon, 2010-08-23 at 11:13 +0100, Tim Brody wrote:
> > > RHEL5 has autoconf 2.59 and automake 1.9.6.
> >
> > rpmbuild calls "autoreconf --force". I *guess* this is intentional, as I
> > haven't found a way to disable it.
>
> Looking at /usr/lib/rpm/macros on an Ubuntu box, it looks like you just
> need to create a file "NO-AUTO-GEN" in the same directory as configure.
I just assumed it was rpmbuild calling autoreconf whereas it's a hack in
the .spec files:
(xapian-bindings/xapian-omega)
%build
# FC6 (at least) has a patched libtool which knows not to set rpath for
# /usr/lib64, which upstream libtool fails to do currently. We can drop
# this "autoreconf --force" and the "BuildRequires:" for the autotools
# once upstream libtool is fixed. Note: this overwrites INSTALL, but
# that doesn't matter here as we don't package it.
autoreconf --force
I'm not sure what "NO-AUTO-GEN" does but it doesn't stop autoreconf
running above ^^
Was there a reason to not bundle a .spec in the Perl wrapper?
All the best,
Tim.
More information about the Xapian-discuss
mailing list