[Xapian-discuss] Error compiling Perl bindings

Francis Irving francis at flourish.org
Mon Dec 5 18:51:07 GMT 2005

I'm installing Search-Xapian- (from
on top of xapian-core-0.9.2

I get the following errors:

g++ -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl/5.8/CORE"   Xapian.c
XS/WritableDatabase.xs: In function ‘void XS_Search__Xapian__WritableDatabase_new3(PerlInterpreter*, CV*)’:
XS/WritableDatabase.xs:32: error: ‘InMemory’ has not been declared
/usr/include/fcntl.h:76: error: too few arguments to function ‘int open(const char*, int, ...)’
XS/WritableDatabase.xs:32: error: at this point in file
XS/WritableDatabase.xs:32: error: no match for ‘operator=’ in ‘* RETVAL = open(<expression error>)’
/usr/local/include/xapian/database.h:261: note: candidates are: void Xapian::WritableDatabase::operator=(const Xapian::WritableDatabase&)
make: *** [Xapian.o] Error 1

Any ideas?


More information about the Xapian-discuss mailing list