Remi Collet in php.pecl.dev (Thu, 29 Aug 2013 08:07:28 +0200):
>Le 29/08/2013 00:27, Jan Ehrhardt a écrit :
>> Given the current discussion I tried to build it under Windows (5.5 x86
>> NTS). Static failed, but shared worked.
>
>Yes I'm aware of an buld issue.
>As a PECL extension it can be build using bundled or system libjson-c

AFAIK, there is no system libjson-c on Windows.

>If you merge it in the php tree (for static build), if will only build
>with system libjson-c (for now).

I always merge all my extensions into the PHP-tree, using directory
junctions (symlinks). The building of jsonc as static fails in the
initial phases. Configure.js had no problem finding json_a.lib, but
building later on stops with this message:

main\internal_functions.c(72) : error C2065: 'phpext_jsonc_ptr' :
undeclared identifier
main\internal_functions.c(72) : error C2099: initializer is not a
constant
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 11.0\VC\BIN\cl.exe"' : return code '0x2'

It did not make any difference if I merged it as 'json' or as 'jsonc'
into the PHP tree.

Jan

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to