LIttle problem when installing xapian-bindings-1.4.22

Olly Betts olly at survex.com
Wed May 24 02:11:59 BST 2023


On Tue, May 23, 2023 at 08:39:25PM +0000, nebulaaksum wrote:
> Oh Olly, you are so kind. Thank you so much.  I think you pinned out
> my problem. I have installed the xapian-core-1.4.22 at
> /usr/local/xapian-core-1.4.22 to avoid cluttering. I will try to do
> what you have  given me. if that does not work, I will try to remove
> the older xapian-core-1.4.18 library wherever it is if  I can locate
> it.

If it's the packaged one, you just need to uninstall that package:

sudo apt remove libxapian-dev

(That won't affect any applications you have installed which are using it
- the runtime libraries are in a different package.)

On Tue, May 23, 2023 at 08:56:41PM +0000, nebulaaksum wrote:
>  Hi Olly,  I tried that, it gave me this message.
> checking for xapian-config... /usr/local/bin/xapian-config --/usr/local/xapian-bindings-1.4.22
> checking /usr/local/bin/xapian-config --/usr/local/xapian-bindings-1.4.22 works... configure: error: '/usr/local/bin/xapian-config --/usr/local/xapian-bindings-1.4.22' not found, aborting

You seem to be specifying XAPIAN_CONFIG wrongly - it should be the full
filename of the xapian-config script, nothing more.

If I understand where you've installed it then:

./configure XAPIAN_CONFIG=/usr/local/xapian-bindings-1.4.22/bin/xapian-config

Cheers,
    Olly



More information about the Xapian-discuss mailing list