omegahat / RCurl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with v1.95-4.2 (current Windows binary)

jankowtf opened this issue · comments

Hi Duncan,

I ran into an issue in combination with devtools that must have popped up starting with RCurl v.1.95-4.2: r-lib/devtools#532

As there's no Windows binary for v1.95-4.3 yet, I tried to install from source, but failed due to libcurl being missing. Could you tell me which version of libcurl I would need for Windows 8.1 (64 bit) and where exactly this needs to go in order to compile the package from source?

Thanks!


Failed installation:

> install.packages("RCurl", type="source")
trying URL 'http://cran.rstudio.com/src/contrib/RCurl_1.95-4.3.tar.gz'
Content type 'application/x-gzip' length 879143 bytes (858 Kb)
opened URL
downloaded 858 Kb

* installing *source* package 'RCurl' ...
** package 'RCurl' successfully unpacked and MD5 sums checked
Please set LIB_CURL
cygwin warning:
  MS-DOS style path detected: Q:/home
  Preferred POSIX equivalent is: /cygdrive/q/home
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cp: cannot stat `/x64/ssl/bin/*.dll': No such file or directory
cp: cannot stat `/x64/bin/libcurl-4.dll': No such file or directory
cp: cannot stat `/x64/bin/libz.dll': No such file or directory
Warning: running command 'sh ./configure.win' had status 1
ERROR: configuration failed for package 'RCurl'
* removing 'Q:/home/apps/rapptools/apps/r/R-3.1.1/library/RCurl'
Warning in install.packages :
  running command '"Q:/home/apps/RAPPTO~1/apps/r/R-31~1.1/bin/x64/R" CMD INSTALL -l "Q:\home\apps\rapptools\apps\r\R-3.1.1\library" C:\Users\RAPPST~1\AppData\Local\Temp\Rtmp0MmGz8/downloaded_packages/RCurl_1.95-4.3.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘RCurl’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\rappster_admin\AppData\Local\Temp\Rtmp0MmGz8\downloaded_packages’