[Xapian-devel] Compiling PHP Bindings

info at bannershift.com info at bannershift.com
Tue Jun 7 15:29:32 BST 2005


Hi all.

I have problem compiling xapian php bindings.

I am using debian sarge.

I have installed php4-dev before compilation.
I am getting the following errors:

boomer:~/xapian/xapian-bindings-0.9.0# make
make  all-recursive
make[1]: Entering directory `/root/xapian/xapian-bindings-0.9.0'
Making all in php4
make[2]: Entering directory `/root/xapian/xapian-bindings-0.9.0/php4'
make  all-recursive
make[3]: Entering directory `/root/xapian/xapian-bindings-0.9.0/php4'
Making all in docs
make[4]: Entering directory `/root/xapian/xapian-bindings-0.9.0/php4/docs'
Making all in examples
make[5]: Entering directory
`/root/xapian/xapian-bindings-0.9.0/php4/docs/examples'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/root/xapian/xapian-bindings-0.9.0/php4/docs/examples'
make[5]: Entering directory `/root/xapian/xapian-bindings-0.9.0/php4/docs'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/root/xapian/xapian-bindings-0.9.0/php4/docs'
make[4]: Leaving directory `/root/xapian/xapian-bindings-0.9.0/php4/docs'
make[4]: Entering directory `/root/xapian/xapian-bindings-0.9.0/php4'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend
-I/usr/include/php4/TSRM  -Wall -Wno-unused -Wno-uninitialized -g -O2
-I/usr/local/include -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/xapian_wrap.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/php4 -I/usr/include/php4/main
-I/usr/include/php4/Zend -I/usr/include/php4/TSRM -Wall -Wno-unused
-Wno-uninitialized -g -O2 -I/usr/local/include -MT xapian_wrap.lo -MD -MP -MF
.deps/xapian_wrap.Tpo -c xapian_wrap.cc  -fPIC -DPIC -o .libs/xapian_wrap.o
xapian_wrap.cc: In function `void _wrap_PostingIterator_get_description(int,
   zval*, zval*, int)':
xapian_wrap.cc:2552: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
make[4]: *** [xapian_wrap.lo] Error 1
make[4]: Leaving directory `/root/xapian/xapian-bindings-0.9.0/php4'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/xapian/xapian-bindings-0.9.0/php4'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/xapian/xapian-bindings-0.9.0/php4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xapian/xapian-bindings-0.9.0'
make: *** [all] Error 2


The configure script was executed with the folowing parameters:
./configure --without-python --without-tcl --without-java --without-guile
--without-csharp




More information about the Xapian-devel mailing list