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.
On Thu, May 31, 2007 at 06:26:26PM +0100, Tim Brody wrote:> RHEL4 only has automake 1.9.2 which breaks the FC6 'fix' in the core > spec file here: > autoreconf --forceHmm.> 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 --forceIt might be needed for x86-64 though. 1.9.5 is a somewhat arbitrary requirement - it was the version in Debian sarge, so I figured it wasn't an onerous requirement for developers. But running it from the spec file means we need to be a bit more conservative, so the simplest fix is probably just to relax the requirement on the automake version.> 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).Umm. The spec file we ship supports "--without python" (added in 0.9.10) and the Python requirement is: BuildRequires: python-devel >= 2.2 Cheers, Olly
On 6/2/07, Tim Brody <tdb01r@ecs.soton.ac.uk> wrote:> Using the RPMs for mono 1.2.4 from > http://www.go-mono.com/download-stable/rhel-4-i386/ I can build the > -csharp package. (As mono isn't in RHEL4 anyway, that's not > unreasonable, just less convenient than DAG). > > Adding your patch for the python Makefile allows the python RPM to be built. > > I've added the remaining two RPMs to my home directory. >I could upload them to http://www.xapian.org/RPM together with those I built for Fedora 6. James, Olly, would that be okay ? Fabrice