[Xapian-discuss] Failure compiling 1.0.19 on OSX 10.5.8

Zach Dennis zach.dennis at gmail.com
Sat Apr 17 22:15:15 BST 2010


On Sat, Apr 17, 2010 at 6:47 AM, Olly Betts <olly at survex.com> wrote:

> 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.
>

That fixed it. If this patch works universally, would you mind applying and
tagging a new release?


-- 
Zach Dennis
http://www.continuousthinking.com (personal)
http://www.mutuallyhuman.com (hire me)
http://ideafoundry.info/behavior-driven-development (first rate BDD
training)
@zachdennis (twitter)


More information about the Xapian-discuss mailing list