[sword-devel] Building Clucene along with SWORD lib

Manfred Bergmann manfred.bergmann at me.com
Sun Jul 25 13:58:18 MST 2010

Am 25.07.2010 um 21:15 schrieb Dmitrijs Ledkovs:

> On 25 July 2010 21:13, Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com> wrote:
>> On 25 July 2010 17:32, Manfred Bergmann <manfred.bergmann at me.com> wrote:
>>> Hi.
>>> I'm no automake or make specialist.
>>> Does anyone know a simple way to put Clucene sources into some folder of SWORD so that both are built/linked together?
> Guessing from @me.com I assume you are on mac =)

Yep, I'm on Mac. :)

> install macports http://www.macports.org/
> and then
> $ sudo port install clucene
> will do the trick =) of fetching and compiling clucene and all dependencies.

Well, I can build SWORD against clucene either via Fink or Macports or even compile it manually.
But I need to distribute a universal binary SWORD lib including clucene build via makefile.
I could manually compile clucene three times and build an ub in an install folder but that's some effort.
I've also experimented with the monolothic clucene which produces a monolithic clucene object file. This is very easy to produce, basically just a manual g++ call with some options.
But how can I then integrate this .o file so that SWORD will use it at link stage?


More information about the sword-devel mailing list