[Xapian-discuss] Failure compiling 1.0.19 on OSX 10.5.8

Olly Betts olly at survex.com
Sat Apr 17 11:47:36 BST 2010


On Fri, Apr 16, 2010 at 03:49:44PM -0400, Zach Dennis wrote:
> I've having trouble downloading and compiling Xapian 1.0.19 on OSX 10.5.8.
> [...]
> ./common/gnu_getopt.h:71: error: ?optarg? is already declared in this scope

Sorry about that - my getopt change in 1.0.19 breaks compilation on a number
of platforms.  I really should have tested it more widely.

I've added a patch here which should fix it:

http://trac.xapian.org/wiki/ReleaseNotes/1.0.19

Omega suffers from the same issue, and the same patch should fix it there too.

Cheers,
    Olly



More information about the Xapian-discuss mailing list