It seems you need a later curl -- 7.15 is rather old (and I think incomplete as a version number) and 7.19.5 is current.

It is helpful to tell us what version of packages (here RCurl) you are trying to use, as well as your precise OS.

On Thu, 4 Jun 2009, heyi xiao wrote:









Hello all,

I had both curl and curl-devel
(both 7.15) installed on my x86_64/CentOS machine. However, I still got problem
when I do

R CMD INSTALL RCurl

??

Error message below,
since library and/or include path is missing. I tried

R CMD INSTALL RCurl
--configure-args='--libdir=/usr/lib64/??
--includedir=/usr/include/'

That should be part of the default paths.

Same result. Any
hint/suggestion would be appreciated.

...

No CURLOPT_NOPROXY
enumeration value.

No
CURLINFO_CONDITION_UNMET enumeration value.

No
CURLINFO_REDIRECT_URL enumeration value.

No CURLINFO_CERTINFO
enumeration value.

No
CURLINFO_PRIMARY_IP enumeration value.

No
CURLINFO_APPCONNECT_TIME enumeration value.

No CURLOPT_KEYPASSWD
enumeration value.

No
CURLOPT_DIRLISTONLY enumeration value.

No CURLOPT_APPEND
enumeration value.

No CURLOPT_KRBLEVEL
enumeration value.

...

Version has
CURLOPT_PROTOCOLS

Version has
CURLOPT_REDIR_PROTOCOLS

configure: creating
./config.status

config.status:
creating src/Makevars

** libs

gcc -std=gnu99
-I/usr/local/lib64/R/include??
-DHAVE_LIBIDN_FIELD=1 -DHAVE_CURLOPT_URL=1 -DHAVE_CURLOPT_PROTOCOLS=1
-DHAVE_CURLOPT_REDIR_PROTOCOLS=1 -I/usr/local/include?????? -fpic??
-g -O2 -c enums.c -o enums.o

In file included
from CurlOptEnums.h:10,

???????????????????????????????? from enums.c:79:

CURLOptTable.h:145:
error: ??CURLOPT_SOCKOPTFUNCTION?? undeclared here (not in a function)

CURLOptTable.h:146:
error: ??CURLOPT_SOCKOPTDATA?? undeclared here (not in a function)

CURLOptTable.h:147:
error: ??CURLOPT_SSL_SESSIONID_CACHE?? undeclared here (not in a function)

CURLOptTable.h:148:
error: ??CURLOPT_SSH_AUTH_TYPES?? undeclared here (not in a function)

CURLOptTable.h:149:
error: ??CURLOPT_SSH_PUBLIC_KEYFILE?? undeclared here (not in a function)

CURLOptTable.h:150:
error: ??CURLOPT_SSH_PRIVATE_KEYFILE?? undeclared here (not in a function)

CURLOptTable.h:151:
error: ??CURLOPT_FTP_SSL_CCC?? undeclared here (not in a function)

make: *** [enums.o]
Error 1

ERROR: compilation
failed for package ??RCurl??

* Removing
??/usr/local/lib64/R/library/RCurl??





        [[alternative HTML version deleted]]



--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to