Re: Re: [ANNOUNCEMENT] jsonc-1.3.0 (beta) Released.
| From: | Jan Ehrhardt | Date: | Thu, 29 Aug 2013 12:47:07 +0000 |
| Subject: | Re: Re: [ANNOUNCEMENT] jsonc-1.3.0 (beta) Released. | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-10989@lists.php.net to get a copy of this message | ||
Jan Ehrhardt in php.pecl.dev (Thu, 29 Aug 2013 10:46:35 +0200):
>main\internal_functions.c(72) : error C2065: 'phpext_jsonc_ptr' :
>undeclared identifier
OK, that was an easy fix. Just add
#define phpext_jsonc_ptr &json_module_entry
to your php_json.h. To do it properly use #ifndef phpext_jsonc_ptr as
well.
I merged jsonc as ext/json into the PHP tree (to make solr compile),
added --with-jsonc=static to the configure line, removed the explicit
check for 'json' from couchdb's config.w32 and said: go.
All of the 85 php extensions in my normal build script compiled as they
used to. Result:
https://dl.dropboxusercontent.com/u/8954372/php-5.5.3-nts-Win32-VC11-x86-jsonc.zip
I do not use php_couchdb.dll, php_couchbase.dll and php_solr.dll myself
(yet), but if anyone wants to test it: go ahead. Speed differences
between this build and my normal build (both without pgo) are welcome.
The normal build:
https://dl.dropboxusercontent.com/u/8954372/php-5.5.3-nts-Win32-VC11-x86.zip
For the 'nixers: there is a phpinfo.htm in the build with almost all
extensions loaded. Quote:
json support => enabled
json version => 1.3.2-dev
JSON-C headers version => 0.11.99
JSON-C library version => 0.11
Jan