[Xapian-discuss] building xapian-bindings 1.0.6 against php 5.2.6

aservertech aservertech6000 at gmail.com
Wed May 7 03:40:04 BST 2008

I'm trying to build xapian-bindings (php only) 1.0.6 against php 5.2.6 (using
debian etch with a backported php). I am able to successfully build xapian-core
and xapian-omega, but xapian-bindings fails during "make" with the following

mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/php-5.2.6/include/php
-I/usr/local/php-5.2.6/include/php/main -I/usr/local/php-5.2.6/include/php/TSRM
-I/usr/local/php-5.2.6/include/php/Zend -I/usr/local/php-5.2.6/include/php/ext
-I/usr/local/php-5.2.6/include/php/ext/date/lib -fno-strict-aliasing -Wall
-Wno-unused -Wno-uninitialized -fvisibility=hidden
-I/usr/local/xapian-core-1.0.6/include -g -O2 -MT xapian_wrap.lo -MD -MP -MF
.deps/xapian_wrap.Tpo -c php5/xapian_wrap.cc  -fPIC -DPIC -o .libs/xapian_wrap.o
php5/xapian_wrap.cc: In function 'void _wrap_quartz_open__SWIG_0(int, zval*,
zval**, zval*, int)':
php5/xapian_wrap.cc:16562: error: no matching function for call to 'open(const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
php5/xapian_wrap.cc:1063: note: candidates are: Xapian::Database
php5/xapian_wrap.cc:1066: note:                 Xapian::WritableDatabase
Xapian::Quartz::open(const std::string&, int, int)

Any ideas? I can provide additional information as needed.

More information about the Xapian-discuss mailing list