[Xapian-discuss] Building RPM on RHEL4

Tim Brody tdb01r at ecs.soton.ac.uk
Thu May 31 18:26:26 BST 2007


Hi,

RHEL4 only has automake 1.9.2 which breaks the FC6 'fix' in the core 
spec file here:
autoreconf --force

Here's my attempt at a fix (basically don't run it if we have <1.9.5 
autoconf):

AUTOMAKE_VERSION=`automake --version | head -1 | sed 's/[^0-9]//g;'`
[ $AUTOMAKE_VERSION -gt 194 ] && autoreconf --force


It'd be nice to have a flag in the bindings to not compile for python 
(2.4 requirement breaks on RHEL4 which only has python 2.3). ATM I only 
use the PHP bindings.

Cheers,
Tim.



More information about the Xapian-discuss mailing list