[Xapian-discuss] Error on ./configure process with Xapian-bindings-0.9.6

Sebi sebi_petreanu at yahoo.com
Mon Sep 18 10:45:25 BST 2006


>However, having run configure, I think you should be able to pass the
>values to "make" like this (assuming that you have PHP installed in
>"c:\php5" and the PHP source unpacked at "c:\php-5.1.6"):

>cd php
>make PHP_INC=-Ic:/php-5.1.6 PHP_LIBS="-Lc:/php5/dev -lphp5ts" >PHP_EXTENSION_DIR=c:/php5/ext
>make PHP_INC=-Ic:/php-5.1.6 PHP_LIBS="-Lc:/php5/dev -lphp5ts" >PHP_EXTENSION_DIR=c:/php5/ext install


I tried this mehod but useless. For the make I get the following output:

$ make PHP_INC=-Ic:/php-5.1.6 PHP_LIBS="-Lc:/php5/dev -lphp5ts" PHP_EXTENSION_DIR=c:/php5/ext
make  all-recursive
make[1]: Entering directory `/c/bin/xapian/xapian-bindings-0.9.6'
make[2]: Entering directory `/c/bin/xapian/xapian-bindings-0.9.6'
make[2]: Leaving directory `/c/bin/xapian/xapian-bindings-0.9.6'
make[1]: Leaving directory `/c/bin/xapian/xapian-bindings-0.9.6'

For make install:

$ make PHP_INC=-Ic:/php-5.1.6 PHP_LIBS="-Lc:/php5/dev -lphp5ts" PHP_EXTENSION_DIR=c:/php5/ext install
make[1]: Entering directory `/c/bin/xapian/xapian-bindings-0.9.6'
make[2]: Entering directory `/c/bin/xapian/xapian-bindings-0.9.6'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/c/bin/xapian/xapian-bindings-0.9.6'
make[1]: Leaving directory `/c/bin/xapian/xapian-bindings-0.9.6'

I have the source code for the php in c:/php-5.1.6 and windows binaries php in c:/php-5.1.6. The same output like the one without the options passed.

- What should I try next?  

- How can I install php-bindings for the php-5.1.6 windows binaries? 

- Is there anyone which installed php bindings with success in the past?

- Is Cygwin a better solution? If I compile php source with Cygwin and then I make php_xapian.dll, will it (php_xapian.dll) be compatible with windows binaries version?

Again, if anyone succeded with xapian-bindings for windows, please give me some advices. Thank you.
  
 		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.


More information about the Xapian-discuss mailing list