[Xapian-discuss] Xapian FTBFS

Olly Betts olly at survex.com
Mon Sep 27 14:38:21 BST 2004


On Mon, Sep 27, 2004 at 03:27:16PM +0200, rm at fabula.de wrote:
> On Mon, Sep 27, 2004 at 02:23:20PM +0100, Olly Betts wrote:
> > If you're building from CVS, use ./configure --enable-maintainer-mode
> > (see xapian-core/HACKING for details).  Or use the bootstrap script in
> > the root of the xapian CVS checkout which will bootstrap all of the
> > directories you've checked out, and create a top-level configure and
> > Makefile.
> 
> Hmm, i think i did that: cvs co; cd xapian; ./bootstrap;
> Then i changed to my build-tree and ran the configure in ../xapian/xapian-core
> Shouldn't that DTRT?

Not unless you pass --enable-maintainer-mode to configure.

Change to your build directory and run ../xapian/configure - this will create
a xapian-core subdirectory of your build directory, and also directories
for any of xapian-examples, xapian-bindings, xapian-applications/omega,
etc which you've checked out.  And the other directories will be
configured to use the library built in the checked out xapian-core.

It'll also create a Makefile in the build directory which allows you to
remake all the checked out directories with one make command.

The requirement for --enable-maintainer-mode isn't ideal, but it was the
only reliable way we found to stop make programs with dodgy VPATH
implementations from deciding to rebuild the documentation from release
tarballs.

It seemed better to shift the problem to CVS checkouts as these are used
by far fewer people, and the bootstrap script can hide the details.

Cheers,
    Olly



More information about the Xapian-discuss mailing list