<div dir="ltr"><div><div><div>got it. ok compiled fine with one warning:<br>1 warning generated.<br>json-encode.c:318:17: warning: format string is not a string literal<br>      (potentially insecure) [-Wformat-security]<br>
                fprintf(file, json_string);<br><br></div>all objects create but oauth i get:<br> oauth<br>... couldn&#39;t create<br>/Users/megrimm/Desktop/PuRestJson-json-c-0.10/oauth.pd_darwin: dlopen(/Users/megrimm/Desktop/PuRestJson-json-c-0.10/oauth.pd_darwin, 10): Symbol not found: _oauth_sign_url2<br>
  Referenced from: /Users/megrimm/Desktop/PuRestJson-json-c-0.10/oauth.pd_darwin<br>  Expected in: dynamic lookup<br><br></div>yeah... i didnt realize the json-c 10/11 prob. I&#39;m actually compiling with macports NOT fink but i think both are 0.10<br>
<br></div>m<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 2:38 PM, Thomas Mayer <span dir="ltr">&lt;<a href="mailto:thomas@residuum.org" target="_blank">thomas@residuum.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
your build system (Fink?) probably does not have json-c 0.11, but the<br>
old version 0.10. In that case, use the branch json-c-0.10 for building:<br>
<br>
<a href="https://github.com/residuum/PuRestJson/tree/json-c-0.10" target="_blank">https://github.com/residuum/PuRestJson/tree/json-c-0.10</a><br>
<br>
The head of this branch is in the same state as master without the<br>
switch to json-c 0.11, and is updated on every release.<br>
<br>
Hth,<br>
Thomas<br>
<div><div class="h5"><br>
<br>
On 03.12.2013 02:41, me.grimm wrote:<br>
&gt; on osx im getting:<br>
&gt;<br>
&gt; ld: library not found for -ljson-c<br>
&gt;<br>
&gt; ideas? i didn&#39;t get this prior to recent pull of you 0.15<br>
&gt;<br>
&gt; m<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Nov 12, 2013 at 5:00 PM, Thomas Mayer &lt;<a href="mailto:thomas@residuum.org">thomas@residuum.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; I am happy to announce version 0.15.0 of PuREST JSON, code name: The API<br>
&gt;&gt; they are a-changing.<br>
&gt;&gt;<br>
&gt;&gt; PuREST JSON is a library for working with RESTful HTTP webservices, and<br>
&gt;&gt; JSON data.<br>
&gt;&gt;<br>
&gt;&gt; Authentication and authorization for webservices are available with<br>
&gt;&gt; basic HTTP auth, cookie authentication, and OAuth. As an example for<br>
&gt;&gt; OAuth authenticated webservices, a Twitter client is included.<br>
&gt;&gt;<br>
&gt;&gt; Changes in the new version:<br>
&gt;&gt; - Cancellation is now faster<br>
&gt;&gt; - Switch to json-c 0.11<br>
&gt;&gt; - Refactoring of code<br>
&gt;&gt; - Breaking changes:<br>
&gt;&gt;   -- [oauth] and [rest]:<br>
&gt;&gt;      * [write( method is now called [file(<br>
&gt;&gt;      * [url( method is now called [init(<br>
&gt;&gt;      * init errors only output to console<br>
&gt;&gt;      * changes to status outlet:<br>
&gt;&gt;        ** on success output bang<br>
&gt;&gt;        ** on HTTP error output numerical HTTP status<br>
&gt;&gt;        ** on cURL error output list: error code and message<br>
&gt;&gt;   -- [rest-json] has been removed<br>
&gt;&gt;   -- [json-decode]:<br>
&gt;&gt;      * string values will not be checked for numbers or boolean<br>
&gt;&gt;<br>
&gt;&gt; If your build tool or platform does not have json-c 0.11 available, use<br>
&gt;&gt; the branch json-c-0.10 for compilation.<br>
&gt;&gt;<br>
&gt;&gt; Github repository:<br>
&gt;&gt; <a href="https://github.com/residuum/PuRestJson" target="_blank">https://github.com/residuum/PuRestJson</a><br>
&gt;&gt;<br>
&gt;&gt; Source code packages:<br>
&gt;&gt; <a href="https://github.com/residuum/PuRestJson/releases" target="_blank">https://github.com/residuum/PuRestJson/releases</a><br>
&gt;&gt;<br>
&gt;&gt; Binaries for Windows and Debian i386 and amd64:<br>
&gt;&gt; <a href="http://ix.residuum.org/pd/purest_json.html" target="_blank">http://ix.residuum.org/pd/purest_json.html</a><br>
&gt;&gt;<br>
&gt;&gt; Build instructions for all platforms:<br>
&gt;&gt; <a href="https://github.com/residuum/PuRestJson/wiki/Compilation" target="_blank">https://github.com/residuum/PuRestJson/wiki/Compilation</a><br>
&gt;&gt;<br>
&gt;&gt; Have fun,<br>
&gt;&gt; Thomas<br>
&gt;&gt; --<br>
&gt;&gt; &quot;Chaney was aware that anything, however small, can get the eye of the<br>
&gt;&gt; media if it&#39;s repulsive enough.&quot; (Robert Anton Wilson - The Universe<br>
&gt;&gt; Next Door)<br>
&gt;&gt; <a href="http://www.residuum.org/" target="_blank">http://www.residuum.org/</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Pd-announce mailing list<br>
&gt;&gt; <a href="mailto:Pd-announce@iem.at">Pd-announce@iem.at</a><br>
&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-announce" target="_blank">http://lists.puredata.info/listinfo/pd-announce</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
<br>
<br>
--<br>
</div></div>&quot;We left all that stuff out. If there&#39;s an error, we have this<br>
routine called panic, and when it is called, the machine crashes,<br>
and you holler down the hall, &#39;Hey, reboot it.&#39;&quot; (Dennis Ritchie)<br>
<a href="http://www.residuum.org/" target="_blank">http://www.residuum.org/</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>____________________<br>m.e.grimm | m.f.a | ed.m.<br><a href="mailto:megrimm@gmail.com" target="_blank">megrimm@gmail.com</a><br>_________________________________
</div>