[Xapian-tickets] [Xapian] #405: xapian-config doesn't work with Solaris /bin/sh

Xapian nobody at xapian.org
Tue Sep 22 17:48:16 BST 2009


#405: xapian-config doesn't work with Solaris /bin/sh
--------------------------+-------------------------------------------------
 Reporter:  dmichelsen    |       Owner:  olly    
     Type:  defect        |      Status:  assigned
 Priority:  normal        |   Milestone:  1.1.3   
Component:  Build system  |     Version:  1.0.11  
 Severity:  normal        |    Keywords:          
Blockedby:                |    Platform:  Solaris 
 Blocking:                |  
--------------------------+-------------------------------------------------

Comment(by dmichelsen):

 > We recommend installing the .la file, but if you don't xapian-config
 --ltlibs falls back to just giving -lxapian (preceded by a -L option if
 necessary) which works for dynamic linking on many platforms.  If you
 wanted static linking to work, or your platform doesn't pull in dependent
 libraries automatically for dynamic libraries, then ... well, it's your
 policy to not install .la files, so you get to fix the resultant breakage!

 I get the following output after removing the .la-file:
 {{{
 build8xt% xapian-config  --cxxflags
 -I/opt/csw/include
 build8xt% xapian-config  --libs
 Usage: grep -hblcnsviw pattern file . . .
 Usage: grep -hblcnsviw pattern file . . .
 -L/opt/csw/lib -lxapian
 build8xt% xapian-config  --ltlibs
 Usage: grep -hblcnsviw pattern file . . .
 /opt/csw/bin/xapian-config: Can't find libxapian.la to link against.
 build8xt% xapian-config  --swigflags
 -I/opt/csw/include
 }}}

 I'll retry compiling the bindings with this after fixing xapian-config.

-- 
Ticket URL: <http://trac.xapian.org/ticket/405#comment:3>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list