LIttle problem when installing xapian-bindings-1.4.22

nebulaaksum nebulaaksum at protonmail.com
Wed May 24 03:18:50 BST 2023



Dear Olly,  
I have more question. After successfully installing xapian-bindings-1.4.22.  I continued to install xapian-omega-1.4.22.  But it did not even pass the configuration step.
 I intend to install xapian-omega-1.4.22 at /usr/local/xapian-omega-1.4.22.  I  do my building from a separate build directory lest I clutter my system.  

 sudo ../configure XAPian_CONFIG=/usr/local/xapian-core-1.4.22 \ --prefix=/usr/local/xapian-omega-1.4.22 
 and this is what I got:
Output:
checking /usr/local/xapian-core-1.4.22/bin/xapian-config --prefix=/usr/local/xapian-omega-1.4.22 works... configure: error: '/usr/local/xapian-core-1.4.22/bin/xapian-config --prefix=/usr/local/xapian-omega-1.4.22 --ltlibs --cxxflags' doesn't work, aborting
I have tried to google this and no has this exact problem posted.  The other thing, the installation steps given in the package does not work with my computer at all.Eg:  ./configure my system says, it does not know.  I only use root to do configuration, compiling, and installing.  
I tried to do a little bit research why there is this new command .../configure, instead of  ./configure, but could not find any link. I am just learning by doing, but nothing to read where this ../configure came from.

 I think this packages belong to you ?
1. Xapian-core-1.4.22
2. xapian-bindings-1.4.22
3. xapian-omega-1.4.22

  I do not understand why it is complaining this ltlibs CXXFLAGS as not working ?

 Again, your help will be appreciated. 

 Have a great night!

Mike


Sent with Proton Mail secure email.

------- Original Message -------
On Tuesday, May 23rd, 2023 at 9:11 PM, Olly Betts <olly at survex.com> wrote:


> 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