







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/'

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]]


