The sphinx package source contains a libsphinxclient C library as a separate build process. Either having the option to build libsphinxclient (only?) or having it as a separate ebuild would be great. Other things want to build against it. Reproducible: Always Steps to Reproduce: 1. build sphinx 2. no lib 3. Actual Results: no lib Expected Results: want a lib build The bad news is that there is an upstream bug as of today with the released version that causes libsphinxclient not to build on Gentoo. But, there is a patch in their bug system and in their trunk. http://www.sphx.org/bugs/view.php?id=468
The problem you mentioned is fixed in sphinx 1.10-beta, but unfortunately there is a new problem: http://www.sphinxsearch.com/bugs/view.php?id=550 This looks to be a FreeBSD'ism.
supposed fix for 1.10_beta: http://code.google.com/p/sphinxsearch/source/detail?r=2423# (only unfold trunk/api/libsphinxclient/sphinxclient.c) see also bug #308747
Created attachment 253181 [details, diff] sphinx-0.9.9-r2.patch This patch builds the client library for version 0.9.9 - it builds api/libsphinxclient - it fixes the build (static sock_close) - it makes sure the library is not pre-stripped (STRIP=:)
my patch needs an eautoreconf in api/libsphinxclient too, or it will fail to configure on at least Darwin.
*** Bug 308747 has been marked as a duplicate of this bug. ***
I've just added sphinx-0.9.9-r2 and sphinx-1.10_beta-r1 which now both build and install the libsphinxclient library. The other issues reported by Fabian are also fixed.