[Xapian-discuss] Q prefix / Unique ID not being found

James Aylett james-xapian at tartarus.org
Mon Mar 21 00:17:32 GMT 2005


On Sun, Mar 20, 2005 at 09:29:06PM +0000, Olly Betts wrote:

> > (I'm having difficulties with PHP. However since the current bindings
> > don't build at all, if I can't resolve it I'll probably commit the
> > changes anyway, as I don't think the PHP issues are my fault :-)
> 
> What SWIG version are you using?  Our PHP bindings are broken by recent
> SWIG overloading changes.  I think the bug is in SWIG, but Sam (who's
> the SWIG PHP maintainer) is too busy to investigate.  So for now I'm
> using swig 1.3.22 for PHP and 1.3.24 for everything else.

I'm on 1.3.23 at the moment. There seems to be something up with the
bindings - merely loading them into PHP causes lots of "eek, function
redefined" kind of errors.

There is one "Overloaded constructor ignored" (for Document), and we
have an unprotected operator() lying around that PHP doesn't know what
to do with.

> Hmm, actually, there's a second problem which you might be hitting.  If
> the error message mentions zend, it's probably a SWIG PHP bug uncovered
> by a recent change in Debian's PHP packages.  I attached a patch to the
> relevant bug is Debian's BTS and the Debian maintainer's accepted it so
> so this should at least be fixed in Debian soon.  He's also forwarded it
> upstream so hopefully they'll apply it too...

I'm using PHP 4.2.1 built myself; I don't build any of the bindings
against Debian. That does mean I'm some way behind on PHP releases,
though. (And it was a pest to build last time :-(

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list