An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20140102/6d0a2975/attachment.pl>
Installing RCurl -
7 messages · Joshua Ulrich, Søren Højsgaard, Hadley Wickham +1 more
What does config.log say is the problem? -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com
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
I should probably have said that I am a newbie on linux - sorry. Where can I find config.log? S?ren -----Original Message----- From: Joshua Ulrich [mailto:josh.m.ulrich at gmail.com] Sent: 2. januar 2014 20:34 To: S?ren H?jsgaard Cc: r-sig-debian at r-project.org Subject: Re: [R-sig-Debian] Installing RCurl - What does config.log say is the problem? -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com
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
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
On 2 January 2014 at 13:41, Hadley Wickham wrote:
| 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?
+1
S?ren, when we say "install libcurl4-*-dev" we mean this as shorthand saying
"besides the build environment you should already have". So please also do
sudo apt-get install r-base-dev
and then try again. Share all relevant logs with us.
Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
It was done already without problems, and I can build all my packages. I am not sure where to find config.log though. S?ren ________________________________________ Fra: Dirk Eddelbuettel [edd at debian.org] Sendt: 2. januar 2014 20:51 Til: Hadley Wickham Cc: S?ren H?jsgaard; r-sig-debian at r-project.org Emne: Re: [R-sig-Debian] Installing RCurl -
On 2 January 2014 at 13:41, Hadley Wickham wrote:
| 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?
+1
S?ren, when we say "install libcurl4-*-dev" we mean this as shorthand saying
"besides the build environment you should already have". So please also do
sudo apt-get install r-base-dev
and then try again. Share all relevant logs with us.
Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
On 2 January 2014 at 20:07, S?ren H?jsgaard wrote:
| It was done already without problems, and I can build all my packages. I am not sure where to find config.log though. cd /tmp/ tar xfz RCurl*tar.gz cd RCurl ./configure There is your log. When you do it via R CMD INSTALL ..., R cleans up after itself. Dirk | S?ren | ________________________________________ | Fra: Dirk Eddelbuettel [edd at debian.org] | Sendt: 2. januar 2014 20:51 | Til: Hadley Wickham | Cc: S?ren H?jsgaard; r-sig-debian at r-project.org | Emne: Re: [R-sig-Debian] Installing RCurl - |
| On 2 January 2014 at 13:41, Hadley Wickham wrote:
| | 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? | | +1 | | S?ren, when we say "install libcurl4-*-dev" we mean this as shorthand saying | "besides the build environment you should already have". So please also do | | sudo apt-get install r-base-dev | | and then try again. Share all relevant logs with us. | | Dirk | | -- | Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com