<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'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'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"><<a href="mailto:thomas@residuum.org" target="_blank">thomas@residuum.org</a>></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>
> on osx im getting:<br>
><br>
> ld: library not found for -ljson-c<br>
><br>
> ideas? i didn't get this prior to recent pull of you 0.15<br>
><br>
> m<br>
><br>
><br>
> On Tue, Nov 12, 2013 at 5:00 PM, Thomas Mayer <<a href="mailto:thomas@residuum.org">thomas@residuum.org</a>> wrote:<br>
><br>
>> Hello,<br>
>><br>
>> I am happy to announce version 0.15.0 of PuREST JSON, code name: The API<br>
>> they are a-changing.<br>
>><br>
>> PuREST JSON is a library for working with RESTful HTTP webservices, and<br>
>> JSON data.<br>
>><br>
>> Authentication and authorization for webservices are available with<br>
>> basic HTTP auth, cookie authentication, and OAuth. As an example for<br>
>> OAuth authenticated webservices, a Twitter client is included.<br>
>><br>
>> Changes in the new version:<br>
>> - Cancellation is now faster<br>
>> - Switch to json-c 0.11<br>
>> - Refactoring of code<br>
>> - Breaking changes:<br>
>> -- [oauth] and [rest]:<br>
>> * [write( method is now called [file(<br>
>> * [url( method is now called [init(<br>
>> * init errors only output to console<br>
>> * changes to status outlet:<br>
>> ** on success output bang<br>
>> ** on HTTP error output numerical HTTP status<br>
>> ** on cURL error output list: error code and message<br>
>> -- [rest-json] has been removed<br>
>> -- [json-decode]:<br>
>> * string values will not be checked for numbers or boolean<br>
>><br>
>> If your build tool or platform does not have json-c 0.11 available, use<br>
>> the branch json-c-0.10 for compilation.<br>
>><br>
>> Github repository:<br>
>> <a href="https://github.com/residuum/PuRestJson" target="_blank">https://github.com/residuum/PuRestJson</a><br>
>><br>
>> Source code packages:<br>
>> <a href="https://github.com/residuum/PuRestJson/releases" target="_blank">https://github.com/residuum/PuRestJson/releases</a><br>
>><br>
>> Binaries for Windows and Debian i386 and amd64:<br>
>> <a href="http://ix.residuum.org/pd/purest_json.html" target="_blank">http://ix.residuum.org/pd/purest_json.html</a><br>
>><br>
>> Build instructions for all platforms:<br>
>> <a href="https://github.com/residuum/PuRestJson/wiki/Compilation" target="_blank">https://github.com/residuum/PuRestJson/wiki/Compilation</a><br>
>><br>
>> Have fun,<br>
>> Thomas<br>
>> --<br>
>> "Chaney was aware that anything, however small, can get the eye of the<br>
>> media if it's repulsive enough." (Robert Anton Wilson - The Universe<br>
>> Next Door)<br>
>> <a href="http://www.residuum.org/" target="_blank">http://www.residuum.org/</a><br>
>><br>
>> _______________________________________________<br>
>> Pd-announce mailing list<br>
>> <a href="mailto:Pd-announce@iem.at">Pd-announce@iem.at</a><br>
>> <a href="http://lists.puredata.info/listinfo/pd-announce" target="_blank">http://lists.puredata.info/listinfo/pd-announce</a><br>
>><br>
>> _______________________________________________<br>
>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -><br>
>> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
<br>
<br>
--<br>
</div></div>"We left all that stuff out. If there'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, 'Hey, reboot it.'" (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 -> <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>