{"issue":{"state":"closed","created_at":"2010-11-11T19:41:58Z","updated_at":"2011-11-21T23:23:22Z","comments":3,"user":{"gravatar_id":"fe1ab39a7ca01ec7862dfd4f48465551","id":7748,"url":"https://api.github.com/users/camilo","login":"camilo","avatar_url":"https://secure.gravatar.com/avatar/fe1ab39a7ca01ec7862dfd4f48465551?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"When installing the gem I get:\r\n\r\ngcc -I. -I. -I/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/1.8/i686-linux -I. -D_FILE_OFFSET_BITS=64  -fPIC -g -O2    -Wall  -c session_ext.c\r\nsession_ext.c: In function ‘Init_session_ext’:\r\nsession_ext.c:531: error: ‘CURLPROXY_HTTP_1_0’ undeclared (first use in this function)\r\n\r\nAm I using a too old version of libcurl?\r\n\r\ncurl --version\r\ncurl 7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1\r\nProtocols: tftp ftp telnet dict ldap ldaps http file https ftps \r\nFeatures: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz ","assignee":{"gravatar_id":"ba6b790851c1a7526be27325bb58834b","id":4746,"url":"https://api.github.com/users/toland","login":"toland","avatar_url":"https://secure.gravatar.com/avatar/ba6b790851c1a7526be27325bb58834b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":413588,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":25,"title":"Compiling extensions","html_url":"https://github.com/toland/patron/issues/25","closed_at":"2011-11-21T23:23:22Z","url":"https://api.github.com/repos/toland/patron/issues/25","milestone":null},"action":"created","comment":{"created_at":"2011-11-21T23:23:22Z","updated_at":"2011-11-21T23:23:22Z","user":{"gravatar_id":"ba6b790851c1a7526be27325bb58834b","id":4746,"url":"https://api.github.com/users/toland","login":"toland","avatar_url":"https://secure.gravatar.com/avatar/ba6b790851c1a7526be27325bb58834b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I am cleaning out the issue queue and ran into this one. After contemplating for a while I have decided not to add an #ifdef for this case. libcurl is constantly adding constants, and 7.18 is an extremely old version of curl. AFAICT Patron will work with version 7.19 and above, and I am willing to establish that as the minimum version of curl required. The problem is that trying to work out which constants need to be #ifdefed to work with old versions of curl would be huge and the resulting code would be significantly cluttered up. If someone can point out a place where 7.18 is common and make a good argument that Patron should support 7.18 then I am willing to reconsider.","id":2823072,"url":"https://api.github.com/repos/toland/patron/issues/comments/2823072"}}