[Xapian-discuss] Debian and Ubuntu packages of 1.2.0

Olly Betts olly at survex.com
Tue May 24 16:32:45 BST 2011


On Tue, May 24, 2011 at 03:24:40AM +0100, Olly Betts wrote:
> it's not hard to build your own binary package for the PHP bindings:
> 
> 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 -us -uc -e PHP_VERSIONS=5

Sorry, the order of the arguments matters, so that should be:

debuild -e PHP_VERSIONS=5 -us -uc 

> cd ..
> sudo dpkg -i php5-xapian_*.deb

Cheers,
    Olly



More information about the Xapian-discuss mailing list