[sword-devel] RIP CLucene on Mac Silicon

DM Smith dmsmith at crosswire.org
Thu Jun 5 14:50:25 EDT 2025


I’ll see about giving Xapian a go.

I used your cmake contribution to compile. First time using cmake. Is it easy to modify that for Xapian?

— DM

> On Jun 5, 2025, at 1:07 PM, Greg Hellings <greg.hellings at gmail.com> wrote:
> 
> CLucene had been ready dead for a long time. I've maintained some patches on github in a branch I tagged with 2.3.3.5 a while back that allowed it to cross compile to Windows with GCC once updates to the compiler broke it years ago.
> 
> Sadly, everything that replaces it seems to be very slow by comparison. But CLucene itself should be tossed on the heap of history at this point.
> 
> Sword has support for Xapian, I believe, which is a much more recent and up to date library that should support Macs. Have you tried with that? 
> 
> --Greg
> 
> On Thu, Jun 5, 2025, 8:10 AM DM Smith <dmsmith at crosswire.org <mailto:dmsmith at crosswire.org>> wrote:
>> This morning I tried to build SWORD lib on my MacBook. It took some trial and error to get it to build, but it was without CLucene.
>> 
>> For those that are interested, homebrew is the typical way to install Un*x packages on a Mac. After adding many packages necessary for build to work at all, I worked on missing optional dependancies: ICU and CLucene.
>> 
>> Adding icu4c was trivial.
>> 
>> But CLucene gave the following fatal error:
>> brew install clucene
>> ==> Downloading https://formulae.brew.sh/api/formula.jws.json
>> ==> Downloading https://formulae.brew.sh/api/cask.jws.json
>> Error: clucene has been disabled because it is not maintained upstream! It was disabled on 2024-12-16.
>> 
>> The source hasn’t changed since 2011. :(
>> 
>> I then tried building from source. Perhaps I don’t know what I’m doing, but I got errors that indicated that it won’t compile on Apple Silicon. I was able to modify source to finally get it to compile, but I don’t think this is the way to go.
>> 
>> In Him,
>> 	DM
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org>
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250605/0a6d4fd4/attachment.htm>


More information about the sword-devel mailing list