[Xapian-discuss] Windows build files for PHP bindings now
available for 0.9.10
Charlie Hull
charlie at juggler.net
Tue Apr 3 15:34:07 BST 2007
Olly Betts wrote:
> On Tue, Apr 03, 2007 at 03:13:55PM +0100, Charlie Hull wrote:
>> a. You need to run SWIG to rebuild the bindings, the versions included
>> in the distro don't work.
>
> Hmm, that's not ideal since you need a currently unreleased version of
> SWIG to generate the PHP bindings (or else some things don't work
> properly).
>
> What's wrong with the bindings in the 0.9.10 tarball that rerunning SWIG
> fixes?
>
> Cheers,
> Olly
>
Nothing about the PHP bindings using Visual C++ is ideal :-(
Using the packaged bindings, we get a lot of errors of the form:
error C2660: 'zend_register_internal_class_ex' : function does not take
3 arguments
when building for PHP4. Adding the -noproxy flag to the Swig call seems
to fix the problem.
I've been rebuilding using Swig 1.3.31 and everything does seem to work,
but let me know if this is unwise!
Charlie
More information about the Xapian-discuss
mailing list