[R] Installing RCurl on Linux
michael watson (IAH-C)
michael.watson at bbsrc.ac.uk
Mon Jan 10 15:50:55 CET 2005
Hi
I'm not having much luck today! Running Suse Linux 8.2, R 2.0.0, trying
to install RCurl_0.5-1.tar.gz.
Perhaps there's an issue with my C compiler, but I got some errors:
IAHC-LINUX03:/usr/users/mwatson # R CMD INSTALL RCurl_0.5-1.tar.gz
* Installing *source* package 'RCurl' ...
checking for curl-config... /usr/bin/curl-config
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
No libidn field in version structure.
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -I/usr/lib/R/include -Wall -I/usr/include -I/usr/local/include
-I/opt/gnome/include -D__NO_MATH_INLINES -mieee-fp -fPIC -c curl.c -o
curl.o
curl.c: In function `R_curl_easy_init':
curl.c:43: error: `CURLOPT_HTTPAUTH' undeclared (first use in this
function)
curl.c:43: error: (Each undeclared identifier is reported only once
curl.c:43: error: for each function it appears in.)
curl.c:43: error: `CURLAUTH_ANY' undeclared (first use in this function)
curl.c: In function `R_curl_easy_setopt':
curl.c:153: warning: implicit declaration of function
`curl_easy_strerror'
curl.c:154: warning: format argument is not a pointer (arg 7)
curl.c: In function `RCurlVersionInfoToR':
curl.c:683: error: structure has no member named `ares'
curl.c:683: error: structure has no member named `ares'
curl.c:684: error: structure has no member named `ares_num'
make: *** [curl.o] Error 1
ERROR: compilation failed for package 'RCurl'
Any ideas? Thanks
Mick
More information about the R-help
mailing list