[Xapian-discuss] xabian-full build error declaration of 'int eaccess
Olly Betts
olly at survex.com
Sat Nov 26 23:31:00 GMT 2011
On Sat, Nov 26, 2011 at 11:14:19PM +0000, Olly Betts wrote:
> On Sat, Nov 26, 2011 at 05:27:10PM +0100, newsletter at donbruno.de wrote:
> > /usr/include/unistd.h:298: error: declaration of 'int eaccess(const char*, int) throw ()' throws different exceptions
> > /opt/bitnami/ruby/lib/ruby/1.8/i686-linux/missing.h:50: error: from previous declaration 'int eaccess(const char*, int)'
>
> I have no idea what's wrong here. It sounds like a clash between ruby
> and the C library. Xapian's ruby bindings don't even mention eaccess...
Actually I do know what the issue is here (I have seen it before, but
over 4 years ago so it didn't ring a bell right away).
The bug is in ruby1.8 - you'll need to rebuild it against your current
libc (or install a newer pre-built package):
http://bugs.debian.org/420325
Cheers,
Olly
More information about the Xapian-discuss
mailing list