Re: Re: [ANNOUNCEMENT] jsonc-1.3.0 (beta) Released.

From: Date: Thu, 29 Aug 2013 08:46:35 +0000
Subject: Re: Re: [ANNOUNCEMENT] jsonc-1.3.0 (beta) Released.
References: 1 2 3 4 5 6  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-10988@lists.php.net to get a copy of this message
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

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