lucenemakefilecmakeosx-yosemiteclucene

Error while making CLucene for Max OS X 10.10


I am trying to build CLucene in Max OS X 10.10. I followed the instructions here. The cmake .. command ran correctly, but after that, when I try to run make with the makefile generated, I get the following error:

enter image description here

I Googled it and found reports of similar errors in some forums, and even found a similar question in Stackoverflow as well: Error when Make CLucene, but nowhere did I find a canonical solution.

What should I do to fix this?


Solution

  • There is a bug for the Mac OS X version. You need to patch 2 files (assuming that the current directory is the CLucene one):

    If you click the links you will get directly the patches. Let me know if you have problems applying the patches.