[Xapian-discuss] FIXMEs in Search::Xapian
Tim Brody
tdb2 at ecs.soton.ac.uk
Mon Sep 27 11:18:24 BST 2010
On Fri, 2010-09-10 at 20:50 +0100, Olly Betts wrote:
> On Fri, Sep 10, 2010 at 05:12:10PM +0100, Tim Brody wrote:
> > Could you add this to HACKING:
> > autoreconf --force; automake --add-missing && autoreconf --force
> > && ./configure --with-perl --enable-maintainer-mode
> >
> > Which are the steps necessary to build the perl bindings from an SVN
> > checkout. Might save someone else a few hours of head-scratching :-)
>
> If you run the top level bootstrap script in a checked out tree, then you just
> need to run configure --with-perl (just adding it when you run the top-level
> configure is simplest - other modules will ignore it with a warning).
>
> HACKING already documents using bootstrap.
>
> I'll add a note about perl not being auto-enabled currently.
>From a clean copy of SVN:
./bootstrap
./configure --with-perl
make
make dist
... /bin/bash: ./doxy2swig.py: Permission denied
chmod a+x xapian-bindings/python/doxy2swig.py
make dist
... make[2]: *** No rule to make target `php/xapian_wrap.cc', needed by
`distdir'. Stop.
cd xapian-bindings
./configure --with-php
swig -I../xapian-core/include -Iphp/ -c++ -php -o php/xapian_wrap.cc
xapian.i
... make[1]: *** No rule to make target `php5/xapian_wrap.cc', needed by
`distdir'. Stop.
Any hints?
> > How do you build a distributable tarball from the SWIG bindings?
> > (Or .rpm)
>
> make dist
>
> Or you can use the ones here if you want trunk as in SVN:
>
> http://oligarchy.co.uk/xapian/trunk/
Those don't appear to include Perl in xapian-bindings.
/Tim.
More information about the Xapian-discuss
mailing list