* using log directory 'd:/Rcompile/CRANpkg/RCurl.Rcheck' * checking for file 'RCurl/DESCRIPTION' ... OK * checking if this is a source package ... OK * checking whether package 'RCurl' can be installed ... ERROR Installation failed. The installation logfile: Using auto-selected zip options 'DPKG=d:/Rcompile/CRANpkg/lib/1.9/RCurl' ---------- Making package RCurl ------------ ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** adding build stamp to DESCRIPTION installing NAMESPACE file and metadata making DLL ... making curl.d from curl.c making curlInit.d from curlInit.c making enums.d from enums.c making memoryManagement.d from memoryManagement.c gcc -Wall -DHAVE_LIBIDN_FIELD=1 -Id:/Rcompile/recent/R-19~1.1/src/include -Wall -O2 -c curl.c -o curl.o In file included from curl.c:1: Rcurl.h:4:23: curl/curl.h: No such file or directory Rcurl.h:5:23: curl/easy.h: No such file or directory Rcurl.h:6:46: curl/types.h: No such file or directory In file included from curl.c:1: Rcurl.h:17: error: parse error before "CURL" Rcurl.h:17: warning: no semicolon at end of struct or union Rcurl.h:19: error: parse error before "option" Rcurl.h:19: warning: type defaults to `int' in declaration of `option' Rcurl.h:19: warning: data definition has no type or storage class Rcurl.h:22: error: parse error before '}' token Rcurl.h:27: error: parse error before "CURL" Rcurl.h:27: warning: no semicolon at end of struct or union Rcurl.h:32: error: conflicting types for `next' Rcurl.h:21: error: previous declaration of `next' Rcurl.h:34: error: parse error before '}' token Rcurl.h:36: error: parse error before "void" Rcurl.h:38: error: parse error before '*' token Rcurl.h:39: error: parse error before '*' token curl.c:13: error: parse error before '*' token curl.c:15: error: parse error before "CURLoption" curl.c:16: error: parse error before "val" curl.c:17: error: parse error before '*' token curl.c:17: warning: type defaults to `int' in declaration of `getCURLPointerRObject' curl.c:17: warning: data definition has no type or storage class curl.c:18: error: parse error before '*' token curl.c:19: error: parse error before '*' token curl.c:22: warning: `struct curl_httppost' declared inside parameter list curl.c:22: warning: its scope is only this definition or declaration, which is probably not what you want curl.c:23: warning: `struct curl_httppost' declared inside parameter list curl.c:26: error: parse error before '*' token curl.c:28: error: parse error before '*' token curl.c:30: error: parse error before '*' token curl.c: In function `R_curl_easy_init': curl.c:37: error: `CURL' undeclared (first use in this function) curl.c:37: error: (Each undeclared identifier is reported only once curl.c:37: error: for each function it appears in.) curl.c:37: error: `obj' undeclared (first use in this function) curl.c:38: warning: implicit declaration of function `curl_easy_init' curl.c:41: warning: implicit declaration of function `curl_easy_setopt' curl.c:41: error: `CURLOPT_HTTPAUTH' undeclared (first use in this function) curl.c:41: error: `CURLAUTH_ANY' undeclared (first use in this function) curl.c:43: error: `CURLOPT_ERRORBUFFER' undeclared (first use in this function) curl.c: In function `R_curl_easy_duphandle': curl.c:55: error: `CURL' undeclared (first use in this function) curl.c:55: error: `obj' undeclared (first use in this function) curl.c:58: warning: implicit declaration of function `curl_easy_duphandle' curl.c: In function `R_curl_easy_perform': curl.c:67: error: `CURL' undeclared (first use in this function) curl.c:67: error: `obj' undeclared (first use in this function) curl.c:68: error: `CURLcode' undeclared (first use in this function) curl.c:68: error: parse error before "status" curl.c:75: error: `status' undeclared (first use in this function) curl.c:75: warning: implicit declaration of function `curl_easy_perform' curl.c:77: error: `CURLE_OK' undeclared (first use in this function) curl.c: In function `R_curl_global_cleanup': curl.c:86: warning: implicit declaration of function `curl_global_cleanup' curl.c: In function `R_curl_global_init': curl.c:93: error: `CURLcode' undeclared (first use in this function) curl.c:93: error: parse error before "status" curl.c:94: error: `status' undeclared (first use in this function) curl.c:94: warning: implicit declaration of function `curl_global_init' curl.c: In function `R_curl_easy_setopt': curl.c:101: error: `CURL' undeclared (first use in this function) curl.c:101: error: `obj' undeclared (first use in this function) curl.c:102: error: `CURLcode' undeclared (first use in this function) curl.c:102: error: parse error before "status" curl.c:103: error: `CURLoption' undeclared (first use in this function) curl.c:117: error: `opt' undeclared (first use in this function) curl.c:122: error: `CURLOPT_WRITEFUNCTION' undeclared (first use in this function) curl.c:123: error: `status' undeclared (first use in this function) curl.c:124: error: `CURLOPT_FILE' undeclared (first use in this function) curl.c:125: error: `CURLOPT_DEBUGFUNCTION' undeclared (first use in this function) curl.c:127: error: `CURLOPT_DEBUGDATA' undeclared (first use in this function) curl.c:128: error: `CURLOPT_HEADERFUNCTION' undeclared (first use in this function) curl.c:130: error: `CURLOPT_WRITEHEADER' undeclared (first use in this function) curl.c:137: warning: implicit declaration of function `curl_easy_strerror' curl.c:138: warning: format argument is not a pointer (arg 7) curl.c: In function `R_post_form': curl.c:151: error: `CURLcode' undeclared (first use in this function) curl.c:151: error: parse error before "status" curl.c:152: error: `CURL' undeclared (first use in this function) curl.c:152: error: `obj' undeclared (first use in this function) curl.c:160: warning: passing arg 2 of `buildForm' from incompatible pointer type curl.c:160: warning: passing arg 3 of `buildForm' from incompatible pointer type curl.c:162: error: `CURLOPT_HTTPPOST' undeclared (first use in this function) curl.c:170: error: `status' undeclared (first use in this function) curl.c:180: error: `CURLE_OK' undeclared (first use in this function) curl.c: At top level: curl.c:186: warning: `struct curl_httppost' declared inside parameter list curl.c:187: error: conflicting types for `buildForm' curl.c:23: error: previous declaration of `buildForm' curl.c: In function `buildForm': curl.c:195: warning: passing arg 3 of `addFormElement' from incompatible pointer type curl.c:195: warning: passing arg 4 of `addFormElement' from incompatible pointer type curl.c: At top level: curl.c:200: warning: `struct curl_httppost' declared inside parameter list curl.c:201: error: conflicting types for `addFormElement' curl.c:22: error: previous declaration of `addFormElement' curl.c: In function `addFormElement': curl.c:202: warning: implicit declaration of function `curl_formadd' curl.c:203: error: `CURLFORM_PTRNAME' undeclared (first use in this function) curl.c:204: error: `CURLFORM_NAMELENGTH' undeclared (first use in this function) curl.c:205: error: `CURLFORM_PTRCONTENTS' undeclared (first use in this function) curl.c:206: error: `CURLFORM_END' undeclared (first use in this function) curl.c: In function `R_curl_version': curl.c:217: warning: implicit declaration of function `curl_version' curl.c:217: warning: passing arg 1 of `Rf_mkString' makes pointer from integer without a cast curl.c: In function `R_curl_version_info': curl.c:223: error: `curl_version_info_data' undeclared (first use in this function) curl.c:224: warning: implicit declaration of function `curl_version_info' curl.c:224: warning: assignment makes pointer from integer without a cast curl.c: At top level: curl.c:246: error: parse error before '*' token curl.c: In function `Rcurl_set_header': curl.c:252: error: `headers' undeclared (first use in this function) curl.c:261: error: `isProtected' undeclared (first use in this function) curl.c:262: warning: implicit declaration of function `curl_slist_append' curl.c:262: warning: assignment makes pointer from integer without a cast curl.c:264: error: `CURLOPT_LASTENTRY' undeclared (first use in this function) curl.c:264: error: `obj' undeclared (first use in this function) curl.c: In function `R_curl_easy_getinfo': curl.c:280: error: `CURL' undeclared (first use in this function) curl.c:280: error: `obj' undeclared (first use in this function) curl.c: In function `R_curl_escape': curl.c:307: warning: implicit declaration of function `curl_escape' curl.c:307: warning: implicit declaration of function `curl_unescape' curl.c:307: warning: assignment makes pointer from integer without a cast curl.c:310: warning: implicit declaration of function `curl_free' curl.c: At top level: curl.c:323: error: parse error before '*' token curl.c: In function `getCurlInfoElement': curl.c:330: error: `id' undeclared (first use in this function) curl.c:330: error: `CURLINFO_TYPEMASK' undeclared (first use in this function) curl.c:331: error: `CURLINFO_STRING' undeclared (first use in this function) curl.c:332: warning: implicit declaration of function `curl_easy_getinfo' curl.c:332: error: `obj' undeclared (first use in this function) curl.c:336: error: `CURLINFO_DOUBLE' undeclared (first use in this function) curl.c:340: error: `CURLINFO_LONG' undeclared (first use in this function) curl.c: At top level: curl.c:377: error: parse error before '*' token curl.c: In function `getCurlError': curl.c:379: error: `throw' undeclared (first use in this function) curl.c: At top level: curl.c:389: error: parse error before "CURLoption" curl.c: In function `getCurlPointerForData': curl.c:394: error: `el' undeclared (first use in this function) curl.c:396: error: `CURLOPT_HTTPHEADER' undeclared (first use in this function) curl.c:398: error: `curl' undeclared (first use in this function) curl.c:398: error: `isProtected' undeclared (first use in this function) curl.c: At top level: curl.c:468: error: parse error before '*' token curl.c: In function `R_curl_debug_callback': curl.c:474: error: `fun' undeclared (first use in this function) curl.c:476: error: `len' undeclared (first use in this function) curl.c:477: error: `msg' undeclared (first use in this function) curl.c:481: error: `type' undeclared (first use in this function) curl.c:483: error: `curl' undeclared (first use in this function) curl.c: At top level: curl.c:493: error: parse error before "val" curl.c: In function `makeCURLcodeRObject': curl.c:498: error: `val' undeclared (first use in this function) curl.c: At top level: curl.c:502: error: parse error before '*' token curl.c:504: warning: return type defaults to `int' curl.c: In function `getCURLPointerRObject': curl.c:505: error: `CURL' undeclared (first use in this function) curl.c:505: error: `handle' undeclared (first use in this function) curl.c:506: error: parse error before ')' token curl.c: In function `R_finalizeCurlHandle': curl.c:518: error: `CURL' undeclared (first use in this function) curl.c:518: error: `curl' undeclared (first use in this function) curl.c:523: warning: implicit declaration of function `curl_easy_cleanup' curl.c: At top level: curl.c:528: error: parse error before '*' token curl.c: In function `makeCURLPointerRObject': curl.c:531: error: `obj' undeclared (first use in this function) curl.c: At top level: curl.c:597: error: parse error before '*' token curl.c: In function `RCurlVersionInfoToR': curl.c:604: error: `d' undeclared (first use in this function) make[3]: *** [curl.o] Error 1 make[2]: *** [srcDynlib] Error 2 make[1]: *** [all] Error 2 make: *** [pkg-RCurl] Error 2 *** Installation of RCurl failed ***