[Xapian-discuss] bootstrap: macro `AM_CXXFLAGS' not found in
library
Olly Betts
olly at survex.com
Tue May 1 00:05:33 BST 2007
On Sat, Apr 28, 2007 at 09:26:57PM -0500, Kenneth Loafman wrote:
> automake (GNU automake) 1.4-p6 <--- THIS IS OLD, SB 1.9.5 <---
Indeed.
> The version problem was not reported by bootstrap.
The bootstrap script doesn't check versions, but configure.ac does
specify a minimum version for automake of 1.9.5:
AM_INIT_AUTOMAKE([1.9.5 -Wportability])
And Makefile.am also specifies a minimum version higher than the one
you were using:
AUTOMAKE_OPTIONS = 1.5 subdir-objects
In case you're wonderng, the reason it's different in each place is it
specifies the minimum version which that particular file requires (or at
least is believed to).
If automake 1.4-p6 doesn't give a message telling you that a newer
automake is required, I think we've done all we reasonably can.
After all, we do clearly document the required and recommended
versions in "HACKING", which we recommend people building from SVN
should read.
I'd rather not start adding parallel version checks to the bootstrap
script as that increases maintenance work, especially as they're rather
fiddly to do in shell script.
> >Alternatively, you can just try building from one of the automatic
> >snapshots, available at http://www.oligarchy.co.uk/xapian/trunk/
> >These won't require bootstrap to be run, and don't need any of the
> >maintainer tools to be installed.
>
> If all else fails...
You didn't say why you're trying to build from SVN, but if it's so you
can test in preparation for 1.0.0, it's probably slightly preferable to
use the SVN snapshots since those are bootstrapped with the same
versions of the tools which the actual release will be.
Cheers,
Olly
More information about the Xapian-discuss
mailing list