[Xapian-discuss] Compiling PHP bindings with MingW/Windows

Any One fuzzylogictree at hotmail.com
Thu Nov 23 20:52:15 GMT 2006


Hi everyone,

I'm not really into these discussionlists systems, and hope this message is 
received in good order.

I've been trying for quite some while to get Xapian running on my Windows 
(2000) machine. I succesfully compiled Omega and Xapian-Core by using:

- MingW
- MSYS

Started MSYS by the batch file, got the "console", and ran the ./configure, 
make install, make procedure as described in some manuals. After waiting a 
bit, I think everything compiled properly. I have about 20 exe files now. I 
hope the above might help some other one someday. I'm pretty new to 
compiling things using MingW.

The only problem right now is the PHP bindings, which I really need. I have 
tried a lot, but just cannot get it to compile correctly. And the 
documentation is me a bit too vague on this subject. the ./configure --help 
as well. And I cannot find good information sources on the web either.

I first tried:

configure

Which will do a lot and then eventually end with :

config.status: executing depfiles commands

*** Not found the tools to build any bindings!
*** To point configure at tools not on PATH, see: ./configure --help
*** You may need to install -dev or -devel packages to build bindings

Then I started googling around a bit, and I *think* I need some extra 
parameters, like specifying the php path? I'm not sure.


Make will give this:

AnyOne at ATHLON64 /r/searchengine/xapian-bindings-0.9.9
$ make
make  all-recursive
make[1]: Entering directory `/r/searchengine/xapian-bindings-0.9.9'
make[2]: Entering directory `/r/searchengine/xapian-bindings-0.9.9'
make[2]: Leaving directory `/r/searchengine/xapian-bindings-0.9.9'
make[1]: Leaving directory `/r/searchengine/xapian-bindings-0.9.9'

AnyOne at ATHLON64 /r/searchengine/xapian-bindings-0.9.9
$ make install
make[1]: Entering directory `/r/searchengine/xapian-bindings-0.9.9'
make[2]: Entering directory `/r/searchengine/xapian-bindings-0.9.9'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/r/searchengine/xapian-bindings-0.9.9'
make[1]: Leaving directory `/r/searchengine/xapian-bindings-0.9.9'

I'm quite clueless. I've seen so much information scattered around here and 
there, about PHP-dev distro's, lib files, that I have no idea where to start 
anymore.

Can someone please shed some light on this?

Many thanks,

Almar





More information about the Xapian-discuss mailing list