Ignacio Hernandez-Ros wrote:
Does the developers list works?
Yes. I just sent a test mail and it arrived promptly.
I tried to compile MonetDB with php 5.0.4 and I get compilation errors.
We have only tried compiling agains PHP version 4 so far. Is it possible for you to use PHP 4?
I wish to use MonetDB to execute xquery against XBRL taxonomies. You can see www.xbrl.org http://www.xbrl.org/ if you wish.
In file included from ../../../../common/monet_utils.h:5,
from ../../../../common/stream.h:17,
from ../../C/Mapi.h:6,
from ../../../../../../src/mapi/clients/php/Cimpl/php_monetdb.c:52:
../../../../../monetdb_config.h:637:1: warning: "_POSIX_C_SOURCE" redefined
This doesn look quite right, but my guess is that it doesn't matter too much. For what it's worth, I get this also.
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/stdio.h:37,
from /usr/include/php/Zend/zend.h:37,
from /usr/include/php/main/php.h:34,
from ../../../../../../src/mapi/clients/php/Cimpl/php_monetdb.c:44:
/usr/include/features.h:131:1: warning: this is the location of the previous definition
../../../../../../src/mapi/clients/php/Cimpl/php_monetdb.c:109: warning: missing initializer
../../../../../../src/mapi/clients/php/Cimpl/php_monetdb.c:109: warning: (near initialization for `monetdb_functions[22].num_args')
../../../../../../src/mapi/clients/php/Cimpl/php_monetdb.c:178: `OnUpdateInt' undeclared here (not in a function)
This is the real error. In PHP 4, OnUpdateInt is declared in Zend/zend_ini.h, in the same block which also declares OnUpdateString. Note that in your output there is no indication that OnUpdateString is not defined. zend_ini.h is include by php_ini.h which is included by php_monetdb.c. -- Sjoerd Mullender