Changes between Initial Version and Version 2 of Ticket #695


Ignore:
Timestamp:
13/11/15 01:16:08 (9 years ago)
Author:
Olly Betts
Comment:

Actually, it's not "requires" - you can specify which xapian-config to use for the bindings like so:

./configure XAPIAN_CONFIG=/usr/local/bin/xapian-config-1.3

Or to just change the leaf-name to look for on PATH:

./configure XAPIAN_CONFIG=xapian-config-1.3

This is documented in the xapian-bindings' INSTALL file, and also in ./configure --help.

This suffix mismatch is only an issue for development snapshots. For stable releases, we don't add a suffix to the installed xapian-config by default, so we don't want to for here (and when building from git, bootstrap generates a top-level configure script which passes a suitable XAPIAN_CONFIG=X to the sub-configures such that the in-tree version is used).

It would make more sense to default to xapian-config with the appropriate suffix for development versions though, and looking at the git history, we actually did this for 1.1.3 and later: [97e77de910175d60cd8b374033e27b36d7962036] (before 1.1.3, XO_LIB_XAPIAN had a hard-coded default of xapian-config).

That change was correctly reverted in 1.2.0, but we failed to reinstate the equivalent for 1.3.0. I think we need a mechanism which automatically adds the suffix -X.Y for version X.Y.Z if (and only if) Y is odd, so that we didn't have to manually add and remove this at the start and end of each development release series - it's clearly all to easy to fail to do so.

Same issue applies to xapian-omega.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #695

    • Property Status newassigned
    • Property Milestone1.3.4
    • Property Summary Xapian 1.3.3 installs xapian-config-1.3, Xapian bindings requires xapian-configXapian 1.3.2 installs xapian-config-1.3, Xapian bindings defaults to xapian-config
  • Ticket #695 – Description

    initial v2  
    4646The error is:
    4747
     48{{{
    4849checking for xapian-config... no
    4950configure: error: Can't find xapian-config, although the xapian-core runtime library seems to be installed.  If you've installed xapian-core from a package, you probably need to install an extra package called something like libxapian-dev in order to be able to build code using the Xapian library.
     51}}}