LIttle problem when installing xapian-bindings-1.4.22
Olly Betts
olly at survex.com
Tue May 23 20:36:03 BST 2023
On Tue, May 23, 2023 at 03:06:50AM +0000, nebulaaksum wrote:
> You said, " Generally xapian-bindings with a newer xapian-core (within
> the same stable release series) should work."
> But it is the newer xapian-core-1.4.22 which is installed in my system
> already that is having Xapian library version 1.4.18, So the
> xapian-bindings-1.4.22 is saying the core an older library.
I suspect you have the Ubuntu libxapian-dev package installed (which is
version 1.4.18 in the version you're using) and that's what
xapian-bindings's configure is finding and trying to use (by default it
looks in $PATH to find the xapian-config script which xapian-core
installs).
If you've built and installed xapian-core 1.4.22 from source, by default
it will install in prefix /usr/local in which case you can tell
xapian-bindings to use that:
./configure XAPIAN_CONFIG=/usr/local/bin/xapian-config
If you specified --prefix when you ran configure for xapian-core, then
adjust the path here appropriately.
> The thing is I wanted to install GTK 4.0 and others and this is one of
> the chains of dependencies I am led into to install GTK.
>
> What do you advise me more ?
Unless I had a good reason to be building GTK 4.0 from source, I'd
just install the packaged version from the Ubuntu repos:
sudo apt install libgtk-4-dev
You may not get the very latest version, but it's a lot less work.
Cheers,
Olly
More information about the Xapian-discuss
mailing list