[Xapian-discuss] PHP Bindings with Cygwin : start of an HOWTO & status report

Thomas Deniau thomas at deniau.org
Fri Feb 17 15:12:20 GMT 2006


Olly Betts <olly at survex.com> a écrit :

> This should have been handled by 0.9.3 out of the box, except that the
> case in configure only checked for mingw and pw32, not cygwin.  I've
> just added cygwin, but I'm totally not sure if that's the right thing to
> do as it may not work for a "true" cygwin build - your hybrid approach
> is rather non-standard I suspect.

That's what I'm saying - you can't handle my case automatically since 
php-config
does not report the right paths (php-config knows about the php built when it
was build, not about a binary version of php installed previously). So we have
to add the flags by hand. Or to alter php-config with our special flags.

> Incidentally, if you do need to specify extra libs for PHP, then
> PHP_LIBS is a better option that xapian_la_LDFLAGS.

:-)

>> And that's where I'm stuck : the PHP bindings are generated by SWIG
>> and SWIG isn't compatible with ZTS PHP yet (ZTS adds an argument to
>> [...]
> But this seems to be another instance of the same class of problem,
> presumably in some SWIG code added since then.
>
> Is SWIG CVS HEAD any better?


Nope - I'm trading complete error logs for tarballs of HEAD (I can't 
access the
CVS server because of a nasty proxy) with Kevin Ruland via private 
e-mails, and
hopefully he will be able to fix it.

-- 
Thomas Deniau



More information about the Xapian-discuss mailing list