Bug #59808 [Com]: Compilation error: too many arguments to function 'php_json_decode'

From: Date: Tue, 11 Oct 2011 15:19:00 +0000
Subject: Bug #59808 [Com]: Compilation error: too many arguments to function 'php_json_decode'
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8701@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=59808&edit=1 ID: 59808 Comment by: php at discardmail dot com Reported by: eborned at gmail dot com Summary: Compilation error: too many arguments to function 'php_json_decode' Status: Open Type: Bug Package: solr Operating System: Debian PHP Version: 5.2.17 Block user comment: N Private report: N New Comment: Same error on CentOS 5.3 and PHP 5.2.13: ./configure --enable-solr=yes --enable-solr-debug=no --with-curl=/usr/include/curl --with-libxml-dir=/usr/include/libxml2 make solr-1.0.1/solr_functions_helpers.c:23: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âjson_globalsâ solr-1.0.1/solr_functions_helpers.c: In function âsolr_json_to_php_nativeâ: solr-1.0.1/solr_functions_helpers.c:1123: error: too many arguments to function âphp_json_decodeâ make: *** [solr_functions_helpers.lo] Error 1 Previous Comments: ------------------------------------------------------------------------ [2011-09-06 13:15:59] badllama77 at gmail dot com Same issue ubuntu 9.04/php 5.2.6 ubuntu 10.04/php 5.2.10 /home/emyers/src/solr-1.0.1/solr_functions_helpers.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘json_globals’ /home/emyers/src/solr-1.0.1/solr_functions_helpers.c: In function ‘solr_json_to_php_native’: /home/emyers/src/solr-1.0.1/solr_functions_helpers.c:1123: error: too many arguments to function ‘php_json_decode’ ------------------------------------------------------------------------ [2011-09-05 07:51:07] james at siteace dot co dot uk I can confirm i have the same issue installing or upgrading on centOS/Plesk and PHP 5.2.10 I have installed the beta version without issue ------------------------------------------------------------------------ [2011-08-31 18:47:25] ken dot williams at meteorgames dot com Confirmed same issue with php 5.2.11 / Cent5.4 ------------------------------------------------------------------------ [2011-08-15 09:57:31] jeff at deepbass dot net Same issue. OSX/PHP 5.3.5 But the make stop right after solr_functions_helpers.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'json_globals' make: *** [solr_functions_helpers.lo] Error 1 ------------------------------------------------------------------------ [2011-08-12 08:49:00] mitchelsblake at gmail dot com I am experiencing this same problem. I am running 5.2.16. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=59808 -- Edit this bug report at https://bugs.php.net/bug.php?id=59808&edit=1

« previous php.pecl.dev (#8701) next »