Displaying 3 results from an estimated 3 matches for "xapian_".
Did you mean:
xapian
2011 Jun 27
1
Debian and Ubuntu packages of 1.2.0
I tried your procedure, that's to say:
sudo apt-get build-dep xapian-bindings
sudo apt-get install php5-dev php5-cli
apt-get source xapian-bindings
cd xapian-bindings-1.2.*
rm debian/control
env PHP_VERSIONS=5 debian/rules maint
debuild -e PHP_VERSIONS=5 -us -uc
cd ..
sudo dpkg -i php5-xapian_*.deb
Though, it is failing with this error message:
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor):
-g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags...
2004 Sep 15
1
Objects in PHP4
...er for Document::add_term:
convert_to_string_ex(args[1-argbase]);
argbase is 1, as is expected for a method on an object I think.
I can't see what's going on, and it's way past my bedtime so I'm giving
up for now.
Incidentally, I've noticed we can probably easily add a "xapian_" prefix
to all the PHP wrappers by running the glue file through sed!
Cheers,
Olly
2007 May 07
2
Xapian::xapian_version_string(), etc
...ally you'd use preprocessor checks for compile time
selection of things.
You can also use preprocessor checks to decide which function name to
call if you really need to check the library version actually in use.
These functions were added in 0.9.3, and deprecated in favour of names
with "xapian_" removed in 0.9.6, so this code will work for any Xapian
version from 0.9.3 onwards:
#if XAPIAN_MAJOR_VERSION == 0 && XAPIAN_MINOR_VERSION == 9 && XAPIAN_REVISION < 6
string version_string = Xapian::xapian_version_string();
#else
string version_string = Xapian::vers...