[R] issue on installation of RCurl on Debian Wheezy

mbressan at arpa.veneto.it mbressan at arpa.veneto.it
Wed Dec 24 15:57:31 CET 2014


yes, exactly!

all these dependencies were missing plus some other were corrupted (but
frankly I do not know why and how)

now everything seems working fine...

thanks a lot

my best season's greetings

m

> I think you need to have curl-config installed.  I had a similar
> problem on Ubuntu and found the program in various packages:.
>
>     $ apt-file search curl-config | grep bin
>     libcurl4-gnutls-dev: /usr/bin/curl-config
>     libcurl4-nss-dev: /usr/bin/curl-config
>     libcurl4-openssl-dev: /usr/bin/curl-config
>
> I think that installing any one of them would probably fix the
> problem.  I think I used the "openssl" one.
>
> -- Mike
>
>
> On Tue, Dec 23, 2014 at 1:38 PM, maxbre <mbressan at arpa.veneto.it> wrote:
>> I must say I'm pretty new to Linux Debian and R so I might miss here
>> reporting some relevant information (just in case, sorry for that!);
>> I've
>> been looking around the web and also onto this mailing list - and indeed
>> this topic has been already covered-, but still I can't find any useful
>> solution to my problem (so I just hope someone can help me somehow)
>>
>> by trying to install RCurl I got the following error message:
>>
>> #########################
>> install.packages('RCurl')
>> Installing package into ‘/home/max/R/x86_64-pc-linux-gnu-library/3.1’
>> (as ‘lib’ is unspecified)
>> provo con l'URL
>> 'http://cran.rstudio.com/src/contrib/RCurl_1.95-4.5.tar.gz'
>> Content type 'application/x-gzip' length 878651 bytes (858 Kb)
>> URL aperto
>> ==================================================
>> downloaded 858 Kb
>>
>> * installing *source* package ‘RCurl’ ...
>> ** package ‘RCurl’ successfully unpacked and MD5 sums checked
>> checking for curl-config... no
>> Cannot find curl-config
>> ERROR: configuration failed for package ‘RCurl’
>> * removing ‘/home/max/R/x86_64-pc-linux-gnu-library/3.1/RCurl’
>> Warning in install.packages :
>>   installation of package ‘RCurl’ had non-zero exit status
>>
>> The downloaded source packages are in
>>         ‘/tmp/RtmpYJSYzn/downloaded_packages’
>>
>> ###############################
>>
>> and this is the content of my config.log
>>
>> ###############################
>>
>> This file contains any messages produced by compilers while
>> running configure, to aid debugging if configure makes a mistake.
>>
>> It was created by configure, which was
>> generated by GNU Autoconf 2.69.  Invocation command line was
>>
>>   $ ./configure
>>
>> ## --------- ##
>> ## Platform. ##
>> ## --------- ##
>>
>> hostname = max-debian
>> uname -m = x86_64
>> uname -r = 3.2.0-4-amd64
>> uname -s = Linux
>> uname -v = #1 SMP Debian 3.2.63-2+deb7u2
>>
>> /usr/bin/uname -p = unknown
>> /bin/uname -X     = unknown
>>
>> /bin/arch              = unknown
>> /usr/bin/arch -k       = unknown
>> /usr/convex/getsysinfo = unknown
>> /usr/bin/hostinfo      = unknown
>> /bin/machine           = unknown
>> /usr/bin/oslevel       = unknown
>> /bin/universe          = unknown
>>
>> PATH: /usr/local/bin
>> PATH: /usr/bin
>> PATH: /bin
>> PATH: /usr/local/games
>> PATH: /usr/games
>>
>>
>> ## ----------- ##
>> ## Core tests. ##
>> ## ----------- ##
>>
>> configure:1786: checking for curl-config
>> configure:1819: result: no
>>
>> ## ---------------- ##
>> ## Cache variables. ##
>> ## ---------------- ##
>>
>> ac_cv_env_CC_set=
>> ac_cv_env_CC_value=
>> ac_cv_env_CFLAGS_set=
>> ac_cv_env_CFLAGS_value=
>> ac_cv_env_CPPFLAGS_set=
>> ac_cv_env_CPPFLAGS_value=
>> ac_cv_env_CPP_set=
>> ac_cv_env_CPP_value=
>> ac_cv_env_LDFLAGS_set=
>> ac_cv_env_LDFLAGS_value=
>> ac_cv_env_LIBS_set=
>> ac_cv_env_LIBS_value=
>> ac_cv_env_build_alias_set=
>> ac_cv_env_build_alias_value=
>> ac_cv_env_host_alias_set=
>> ac_cv_env_host_alias_value=
>> ac_cv_env_target_alias_set=
>> ac_cv_env_target_alias_value=
>>
>> ## ----------------- ##
>> ## Output variables. ##
>> ## ----------------- ##
>>
>>
>> CC=''
>> CFLAGS=''
>> CPP=''
>> CPPFLAGS=''
>> CURL_CFLAGS=''
>> CURL_CONFIG=''
>> CURL_LIBS=''
>> DEFINES=''
>> DEFS=''
>> ECHO_C=''
>> ECHO_N='-n'
>> ECHO_T=''
>> EXEEXT=''
>> LDFLAGS=''
>> LIBOBJS=''
>> LIBS=''
>> LTLIBOBJS=''
>> OBJEXT=''
>> PACKAGE_BUGREPORT=''
>> PACKAGE_NAME=''
>> PACKAGE_STRING=''
>> PACKAGE_TARNAME=''
>> PACKAGE_URL=''
>> PACKAGE_VERSION=''
>> PATH_SEPARATOR=':'
>> SHELL='/bin/bash'
>> ac_ct_CC=''
>> bindir='${exec_prefix}/bin'
>> build_alias=''
>> datadir='${datarootdir}'
>> datarootdir='${prefix}/share'
>> docdir='${datarootdir}/doc/${PACKAGE}'
>> dvidir='${docdir}'
>> exec_prefix='NONE'
>> host_alias=''
>> htmldir='${docdir}'
>> includedir='${prefix}/include'
>> infodir='${datarootdir}/info'
>> libdir='${exec_prefix}/lib'
>> libexecdir='${exec_prefix}/libexec'
>> localedir='${datarootdir}/locale'
>> localstatedir='${prefix}/var'
>> mandir='${datarootdir}/man'
>> oldincludedir='/usr/include'
>> pdfdir='${docdir}'
>> prefix='NONE'
>> program_transform_name='s,x,x,'
>> psdir='${docdir}'
>> sbindir='${exec_prefix}/sbin'
>> sharedstatedir='${prefix}/com'
>> sysconfdir='${prefix}/etc'
>> target_alias=''
>>
>> ## ----------- ##
>> ## confdefs.h. ##
>> ## ----------- ##
>>
>> /* confdefs.h */
>> #define PACKAGE_NAME ""
>> #define PACKAGE_TARNAME ""
>> #define PACKAGE_VERSION ""
>> #define PACKAGE_STRING ""
>> #define PACKAGE_BUGREPORT ""
>> #define PACKAGE_URL ""
>>
>> configure: exit 1
>>
>> ##########################
>>
>> and finally this is my sessionInfo()
>>
>> ############################
>>
>> R version 3.1.2 (2014-10-31)
>> Platform: x86_64-pc-linux-gnu (64-bit)
>>
>> locale:
>>  [1] LC_CTYPE=it_IT.UTF-8       LC_NUMERIC=C
>> LC_TIME=it_IT.UTF-8
>>  [4] LC_COLLATE=it_IT.UTF-8     LC_MONETARY=it_IT.UTF-8
>> LC_MESSAGES=it_IT.UTF-8
>>  [7] LC_PAPER=it_IT.UTF-8       LC_NAME=C                  LC_ADDRESS=C
>> [10] LC_TELEPHONE=C             LC_MEASUREMENT=it_IT.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.1.2
>>
>>
>> #####################
>>
>>
>> can anyone possibly give me some indications on how to proceed in order
>> to
>> sort out this problem?
>> any help much appreciated
>>
>> bye
>>
>>
>>
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/issue-on-installation-of-RCurl-on-Debian-Wheezy-tp4701058.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list