[Xapian-discuss] Building php5-xapian on Ubuntu 12.04 Server x64
Rowan @ Jetboy
rowan at jetboy.co.uk
Thu Jun 28 21:46:24 BST 2012
I followed the instructions James left at:
http://serverfault.com/questions/390729/has-anyone-managed-to-build-php5-xap
ian-on-ubuntu-12-04
and now have Xapian running on Ubuntu 12.04. Many thanks.
-----Original Message-----
From: James Aylett [mailto:james-xapian at tartarus.org]
Sent: 20 May 2012 14:12
To: Xapian Discussion
Cc: Rowan @ Jetboy
Subject: Re: [Xapian-discuss] Building php5-xapian on Ubuntu 12.04 Server
x64
On 20 May 2012, at 12:56, Olly Betts wrote:
> I would recommend using the instructions in the FAQ, which are based
> on those in the first URL, but have a couple of fixes:
>
> http://trac.xapian.org/wiki/FAQ/PHP%20Bindings%20Package
This doesn't seem to work at the moment (checked against Ubuntu 12.04 here),
because the PHP smoketest won't run in a VPATH build (checked using the
1.2.10 bindings without the debian patches or build system). I think in
php/Makefile.am the TESTS_ENVIRONMENT needs `$(srcdir)` in the `-d
include_path=php5` stanza.
As a short-term fix, if you do the following before the `debuild` line, it
seems to build okay:
sed -i 's/include_path=php5$/include_path=$(srcdir)\/php5/' php/Makefile.in
dpkg-source --commit
(give it a patch name of something like fix-php-buildtests, then just save
the file it prompts you to edit)
J
--
James Aylett
talktorex.co.uk - xapian.org - devfort.com - spacelog.org
More information about the Xapian-discuss
mailing list