{"action":"created","issue":{"url":"https://api.github.com/repos/jeroenooms/curl/issues/33","labels_url":"https://api.github.com/repos/jeroenooms/curl/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/jeroenooms/curl/issues/33/comments","events_url":"https://api.github.com/repos/jeroenooms/curl/issues/33/events","html_url":"https://github.com/jeroenooms/curl/issues/33","id":96566152,"number":33,"title":"Install fails on CentOS 5.5","user":{"login":"tnat1031","id":1958639,"avatar_url":"https://avatars.githubusercontent.com/u/1958639?v=3","gravatar_id":"","url":"https://api.github.com/users/tnat1031","html_url":"https://github.com/tnat1031","followers_url":"https://api.github.com/users/tnat1031/followers","following_url":"https://api.github.com/users/tnat1031/following{/other_user}","gists_url":"https://api.github.com/users/tnat1031/gists{/gist_id}","starred_url":"https://api.github.com/users/tnat1031/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnat1031/subscriptions","organizations_url":"https://api.github.com/users/tnat1031/orgs","repos_url":"https://api.github.com/users/tnat1031/repos","events_url":"https://api.github.com/users/tnat1031/events{/privacy}","received_events_url":"https://api.github.com/users/tnat1031/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-22T13:19:40Z","updated_at":"2015-07-22T14:19:48Z","closed_at":null,"body":"Hello, \r\n\r\nI'm interested in using your rjade package, but had an issue installing the curl package on which it depends. Here's the output from my install attempt:\r\n\r\n```\r\n> install.packages(\"rjade\")\r\nalso installing the dependencies 'curl', 'V8'\r\n\r\ntrying URL 'http://cran.mtu.edu/src/contrib/curl_0.9.1.tar.gz'\r\nContent type 'application/x-gzip' length 242408 bytes (236 KB)\r\nopened URL\r\n==================================================\r\ndownloaded 236 KB\r\n\r\ntrying URL 'http://cran.mtu.edu/src/contrib/V8_0.6.tar.gz'\r\nContent type 'application/x-gzip' length 110013 bytes (107 KB)\r\nopened URL\r\n==================================================\r\ndownloaded 107 KB\r\n\r\ntrying URL 'http://cran.mtu.edu/src/contrib/rjade_0.1.tar.gz'\r\nContent type 'application/x-gzip' length 44597 bytes (43 KB)\r\nopened URL\r\n==================================================\r\ndownloaded 43 KB\r\n\r\n* installing *source* package 'curl' ...\r\n** package 'curl' successfully unpacked and MD5 sums checked\r\nFound libcurl in /usr/include/curl/curl.h\r\n** libs\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c callbacks.c -o callbacks.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c curl.c -o curl.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c download.c -o download.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c escape.c -o escape.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c fetch.c -o fetch.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c form.c -o form.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c getdate.c -o getdate.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c handle.c -o handle.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c ieproxy.c -o ieproxy.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c init.c -o init.o\r\n/broad/software/free/Linux/redhat_5_x86_64/pkgs/gcc_4.8.2/bin/gcc -std=gnu99 -I/xchip/cogs/tools/opt/R-3.1.3/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include    -fpic  -g -O2  -c options.c -o options.o\r\nIn file included from options.c:3:0:\r\noptions.h:7:27: error: 'CURLOPT_SOURCE_USERPWD' undeclared here (not in a function)\r\n #define CINIT(a,b,c) {#a, CURLOPT_##a}\r\n                           ^\r\noption_table.h:114:3: note: in expansion of macro 'CINIT'\r\n   CINIT(SOURCE_USERPWD, OBJECTPOINT, 123),\r\n   ^\r\noptions.h:7:27: error: 'CURLOPT_SOURCE_PREQUOTE' undeclared here (not in a function)\r\n #define CINIT(a,b,c) {#a, CURLOPT_##a}\r\n                           ^\r\noption_table.h:115:3: note: in expansion of macro 'CINIT'\r\n   CINIT(SOURCE_PREQUOTE, OBJECTPOINT, 127),\r\n   ^\r\noptions.h:7:27: error: 'CURLOPT_SOURCE_POSTQUOTE' undeclared here (not in a function)\r\n #define CINIT(a,b,c) {#a, CURLOPT_##a}\r\n                           ^\r\noption_table.h:116:3: note: in expansion of macro 'CINIT'\r\n   CINIT(SOURCE_POSTQUOTE, OBJECTPOINT, 128),\r\n   ^\r\noptions.h:7:27: error: 'CURLOPT_SOURCE_URL' undeclared here (not in a function)\r\n #define CINIT(a,b,c) {#a, CURLOPT_##a}\r\n                           ^\r\noption_table.h:120:3: note: in expansion of macro 'CINIT'\r\n   CINIT(SOURCE_URL, OBJECTPOINT, 132),\r\n   ^\r\noptions.h:7:27: error: 'CURLOPT_SOURCE_QUOTE' undeclared here (not in a function)\r\n #define CINIT(a,b,c) {#a, CURLOPT_##a}\r\n                           ^\r\noption_table.h:121:3: note: in expansion of macro 'CINIT'\r\n   CINIT(SOURCE_QUOTE, OBJECTPOINT, 133),\r\n   ^\r\nmake: *** [options.o] Error 1\r\nERROR: compilation failed for package 'curl'\r\n* removing '/xchip/cogs/tools/opt/R-3.1.3/lib64/R/library/curl'\r\nERROR: dependency 'curl' is not available for package 'V8'\r\n* removing '/xchip/cogs/tools/opt/R-3.1.3/lib64/R/library/V8'\r\nERROR: dependency 'V8' is not available for package 'rjade'\r\n* removing '/xchip/cogs/tools/opt/R-3.1.3/lib64/R/library/rjade'\r\n\r\nThe downloaded source packages are in\r\n\t'/tmp/RtmpmVgwR6/downloaded_packages'\r\nUpdating HTML index of packages in '.Library'\r\nMaking 'packages.html' ... done\r\nWarning messages:\r\n1: In install.packages(\"rjade\") :\r\n  installation of package 'curl' had non-zero exit status\r\n2: In install.packages(\"rjade\") :\r\n  installation of package 'V8' had non-zero exit status\r\n3: In install.packages(\"rjade\") :\r\n  installation of package 'rjade' had non-zero exit status\r\n```\r\n\r\nAlso, some info about the version of curl on the system:\r\n\r\n``` \r\n$ curl --version\r\ncurl 7.23.0 (x86_64-unknown-linux-gnu) libcurl/7.23.0 OpenSSL/0.9.8b zlib/1.2.7 libidn/0.6.5 libssh2/1.3.0\r\n```\r\n\r\nPlease let me know if there's any other info I can provide. Thanks a lot!"},"comment":{"url":"https://api.github.com/repos/jeroenooms/curl/issues/comments/123738018","html_url":"https://github.com/jeroenooms/curl/issues/33#issuecomment-123738018","issue_url":"https://api.github.com/repos/jeroenooms/curl/issues/33","id":123738018,"user":{"login":"jeroenooms","id":216319,"avatar_url":"https://avatars.githubusercontent.com/u/216319?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenooms","html_url":"https://github.com/jeroenooms","followers_url":"https://api.github.com/users/jeroenooms/followers","following_url":"https://api.github.com/users/jeroenooms/following{/other_user}","gists_url":"https://api.github.com/users/jeroenooms/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenooms/subscriptions","organizations_url":"https://api.github.com/users/jeroenooms/orgs","repos_url":"https://api.github.com/users/jeroenooms/repos","events_url":"https://api.github.com/users/jeroenooms/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenooms/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T14:19:48Z","updated_at":"2015-07-22T14:19:48Z","body":"Can you try installing with:\r\n\r\n```r\r\ninstall.packages(\"curl\", configure.vars = 'CURL_INCLUDES=/broad/software/free/Linux/redhat_5_x86_64/pkgs/curl_7.23.0/include')\r\n```\r\n"}}