[R-sig-Debian] Installing RCurl -

Hadley Wickham h.wickham at gmail.com
Thu Jan 2 20:41:10 CET 2014


This line seems suspicious:

checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.

Have you installed the R development package?

Hadley

On Thu, Jan 2, 2014 at 1:32 PM, Søren Højsgaard <sorenh at math.aau.dk> wrote:
> Dear all,
>
> I am trying to install RCurl (because I want to install devtools) and to do so I've been informed that I must install one of the packages
>   libcurl4-openssl-dev
>   libcurl4-nss-dev
>
> No matter which one I install I get the following error from R:
>
> * installing *source* package ‘RCurl’ ...
> ** package ‘RCurl’ successfully unpacked and MD5 sums checked
> checking for curl-config... /usr/bin/curl-config
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error: C compiler cannot create executables
> See `config.log' for more details.
> ERROR: configuration failed for package ‘RCurl’
> * removing ‘/home/sorenh/R/x86_64-pc-linux-gnu-library/3.0/RCurl’
>
> Any help would be most welcome.
>
> Best regards
> Søre
>
>
>> sessionInfo()
> R version 3.0.2 (2013-09-25)
> Platform: x86_64-pc-linux-gnu (64-bit)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
> [1] tools_3.0.2
>
>
>
>
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>



-- 
http://had.co.nz/



More information about the R-SIG-Debian mailing list