[Xapian-discuss] xabian-full build error declaration of 'int eaccess
Olly Betts
olly at survex.com
Sat Nov 26 23:14:19 GMT 2011
On Sat, Nov 26, 2011 at 05:27:10PM +0100, newsletter at donbruno.de wrote:
> i have a problem with "gem install xabian-full", it would not build.
The "xapian-full" gem is a third party creation, and we can't really
help you with issues specific to it. Please contact its maintainer if
you have problems with it.
But instead, I would recommend simply using the Ubuntu libxapian-ruby1.8
package from the PPA:
https://launchpad.net/~xapian-backports/+archive/ppa
Those packages are prebuilt, so you won't hit build problems, and are
several versions newer than the gem (1.2.3 is over a year old now).
They're also maintained by us, so we can help should you have problems.
> /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...
Cheers,
Olly
More information about the Xapian-discuss
mailing list