[Xapian-discuss] Compilation report: php bindings

David Heath david at davidheath.org
Mon Jan 16 16:14:14 GMT 2006


Hi,

just thought I'd let you know, I finally got around to compiling the 
latest xapian snapshot to try out the php bindings 
(xapian-bindings-0.9.2_svn6529.tar.gz, xapian-core-0.9.2_svn6529.tar.gz 
       ).

As Olly said, the issue of the crash in the php examples is fixed. 
Thanks for that.

I did get some warnings when compiling (see below). This is compiled 
against the mandrake package for php 4.3.10 
(php432-devel-4.3.10-7.2.102mdk). Anyway it seemed to compile and worked 
fine.

Dave

-- In file included from xapian_wrap.cc:1039:
../config.h:41:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/multiarch-dispatch.h:23,
                  from /usr/include/php/TSRM/../main/php_config.h:2,
                  from /usr/include/php/TSRM/tsrm_config.h:1,
                  from /usr/include/php/TSRM/tsrm_config_common.h:13,
                  from /usr/include/php/TSRM/tsrm_virtual_cwd.h:26,
                  from /usr/include/php/main/php.h:393,
                  from xapian_wrap.cc:531:
/usr/include/multiarch-i386-linux/php/main/php_config.h:1917:1: warning: 
this is the location of the previous definition
In file included from xapian_wrap.cc:1039:
../config.h:44:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/multiarch-dispatch.h:23,
                  from /usr/include/php/TSRM/../main/php_config.h:2,
                  from /usr/include/php/TSRM/tsrm_config.h:1,
                  from /usr/include/php/TSRM/tsrm_config_common.h:13,
                  from /usr/include/php/TSRM/tsrm_virtual_cwd.h:26,
                  from /usr/include/php/main/php.h:393,
                  from xapian_wrap.cc:531:
/usr/include/multiarch-i386-linux/php/main/php_config.h:1920:1: warning: 
this is the location of the previous definition
In file included from xapian_wrap.cc:1039:
../config.h:47:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/multiarch-dispatch.h:23,
                  from /usr/include/php/TSRM/../main/php_config.h:2,
                  from /usr/include/php/TSRM/tsrm_config.h:1,
                  from /usr/include/php/TSRM/tsrm_config_common.h:13,
                  from /usr/include/php/TSRM/tsrm_virtual_cwd.h:26,
                  from /usr/include/php/main/php.h:393,
                  from xapian_wrap.cc:531:
/usr/include/multiarch-i386-linux/php/main/php_config.h:1923:1: warning: 
this is the location of the previous definition
In file included from xapian_wrap.cc:1039:
../config.h:50:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/multiarch-dispatch.h:23,
                  from /usr/include/php/TSRM/../main/php_config.h:2,
                  from /usr/include/php/TSRM/tsrm_config.h:1,
                  from /usr/include/php/TSRM/tsrm_config_common.h:13,
                  from /usr/include/php/TSRM/tsrm_virtual_cwd.h:26,
                  from /usr/include/php/main/php.h:393,
                  from xapian_wrap.cc:531:

David Heath
Freelance Software Developer
david at davidheath.org
http://davidheath.org/



More information about the Xapian-discuss mailing list