{"issue":{"created_at":"2011-11-11T19:22:19Z","state":"closed","updated_at":"2011-11-19T18:01:51Z","user":{"gravatar_id":"6e4016ca648f0feb4d80079e639c0271","id":34300,"url":"https://api.github.com/users/eolamey","login":"eolamey","avatar_url":"https://secure.gravatar.com/avatar/6e4016ca648f0feb4d80079e639c0271?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"Hi,\r\n\r\nI am building curb RPM packages for CentOS 5 and version 0.7.16 doesn't compile anymore:\r\n\r\ngcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\\\"curb_config.h\\\"    -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -g -Wall  -o curb.o -c curb.c\r\ncurb.c: In function ‘Init_curb_core’:\r\ncurb.c:366: error: ‘CURLOPT_SEEKFUNCTION’ undeclared (first use in this function)\r\ncurb.c:366: error: (Each undeclared identifier is reported only once\r\ncurb.c:366: error: for each function it appears in.)\r\ncurb.c:367: error: ‘CURLOPT_SEEKDATA’ undeclared (first use in this function)\r\ncurb.c:368: error: ‘CURLOPT_SOCKOPTFUNCTION’ undeclared (first use in this function)\r\ncurb.c:369: error: ‘CURLOPT_SOCKOPTDATA’ undeclared (first use in this function)\r\ncurb.c:370: error: ‘CURLOPT_OPENSOCKETFUNCTION’ undeclared (first use in this function)\r\ncurb.c:371: error: ‘CURLOPT_OPENSOCKETDATA’ undeclared (first use in this function)\r\nmake: *** [curb.o] Error 1\r\n\r\nIt appears that CURLOPT_SEEKFUNCTION appeared in curl 7.18 and CentOS 5 only has curl 7.15.","assignee":null,"id":2212557,"number":93,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Documentation: curb requires curl >= 7.18","closed_at":"2011-11-19T18:01:51Z","html_url":"https://github.com/taf2/curb/issues/93","milestone":null,"url":"https://api.github.com/repos/taf2/curb/issues/93"},"action":"created","comment":{"created_at":"2011-11-19T18:01:51Z","updated_at":"2011-11-19T18:01:51Z","user":{"gravatar_id":"6e4016ca648f0feb4d80079e639c0271","id":34300,"url":"https://api.github.com/users/eolamey","login":"eolamey","avatar_url":"https://secure.gravatar.com/avatar/6e4016ca648f0feb4d80079e639c0271?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Yes, thank you, curb now compiles fine on RHEL/CentOS 5! Next version's RPM packages will be available here: http://pakk.96b.it/repositories/el5/","id":2800016,"url":"https://api.github.com/repos/taf2/curb/issues/comments/2800016"}}