[Xapian-discuss] building on RHEL 5/CentOS 5

Olly Betts olly at survex.com
Mon Aug 23 16:11:19 BST 2010


On Mon, Aug 23, 2010 at 03:40:20PM +0100, Tim Brody wrote:
> 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

Not for xapian-core - in 1.2.x that autoreconf command is commented out:

%build
# As of 1.1.0, Xapian uses libtool 2.2.x which allows us to override libtool's
# sometimes conservative take on which directories are in the default dynamic
# linker search path, so we no longer incorrectly try to set rpath for
# /usr/lib64.  Hence there's no longer a need to run "autoreconf --force" here
# and it's better not to as it avoids having to cope with incompatibilities
# with older versions of the autotools which older distros have.
#autoreconf --force

But xapian-omega.spec.in hadn't been updated - I've just committed a fix for
that.

> Was there a reason to not bundle a .spec in the Perl wrapper?

No, just nobody has written one for that yet.

Cheers,
    Olly



More information about the Xapian-discuss mailing list