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

Sebi sebi_petreanu at yahoo.com
Mon Sep 18 18:04:39 BST 2006


>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


Useless. I get errors in xapian_wrap.cc file:

$ make PHP_INC=-Ic:/php-5.1.6 PHP_LIBS="-Lc:/php5/dev -lphp5ts" PHP_EXTENSION_D
IR=c:/php5/ext
make  all-recursive
make[1]: Entering directory `/c/bin/xapian/xapian-bindings-0.9.6/php'
Making all in docs
make[2]: Entering directory `/c/bin/xapian/xapian-bindings-0.9.6/php/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/bin/xapian/xapian-bindings-0.9.6/php/docs'
make[2]: Entering directory `/c/bin/xapian/xapian-bindings-0.9.6/php'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..                                                                               -Ic:/php-5.1.6  -Wall -Wno-unused -Wno-uninitialized -I/xapian/core/include -g                                                                              -O2 -MT xapian_wrap.lo -MD -MP -MF ".deps/xapian_wrap.Tpo" -c -o xapian_wrap.lo                                                                              xapian_wrap.cc; \
then mv -f ".deps/xapian_wrap.Tpo" ".deps/xapian_wrap.Plo"; else rm -f ".deps/xa                                                                             pian_wrap.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -Ic:/php-5.1.6 -Wall -Wno-unused -Wno-uninitia                                                                             lized -I/xapian/core/include -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_                                                                             wrap.Tpo -c xapian_wrap.cc  -DDLL_EXPORT -DPIC -o .libs/xapian_wrap.o
xapian_wrap.cc:706:18: zend.h: No such file or directory
xapian_wrap.cc:707:22: zend_API.h: No such file or directory
xapian_wrap.cc:708:17: php.h: No such file or directory
xapian_wrap.cc:738: error: `E_ERROR' was not declared in this scope
xapian_wrap.cc:759: error: ISO C++ forbids declaration of `ZEND_RSRC_DTOR_FUNC'                                                                              with no type
....... and many others. 

I will install a Unix system and try to work with xapian bindings there.

Thank you for help. 



 				
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.


More information about the Xapian-discuss mailing list