[Rd] Multiple sub-architecture: problem installing RCurl

From: Renaud Gaujoux <renaud_at_mancala.cbio.uct.ac.za>
Date: Fri, 08 Jun 2012 11:52:23 +0200


Hi,

for checking purposes, I setup a multiple sub-architecture R installation following this post from Simon Urbanek: https://stat.ethz.ch/pipermail/r-devel/2011-August/061755.html

It all went fine. The only change I made to Simon's procedure was to install with:

make prefix=~/bin/R/2.15 install

instead of sudo make install rhome=/usr/local/R/2.15.

I am now trying to install RCurl in the 32 bits architechture but get the following error, which I believe comes from the fact the wrong libraries (64 bits) are used instead of the 32 bit ones. I am on Ubuntu 11.04 (Natty) and thought I needed to install the 32 bits libxml2, but could not find a way to do so.

Anybody faced a similar problem?
I believe I will get into the same kind of issue with other packages that require system packages.

Thank you!

.....
libcurl version: libcurl 7.21.3
configure: creating ./config.status
config.status: creating src/Makevars
** libs
*** arch - i386
gcc -std=gnu99 -m32 -I/home/renaud/bin/R/2.15/lib64/R/include
-I/home/renaud/bin/R/2.15/lib64/R/include/i386 -DNDEBUG
-DHAVE_LIBIDN_FIELD=1 -DHAVE_CURLOPT_URL=1
-DHAVE_CURLINFO_EFFECTIVE_URL=1 -DHAVE_CURLINFO_RESPONSE_CODE=1
-DHAVE_CURLINFO_TOTAL_TIME=1 -DHAVE_CURLINFO_NAMELOOKUP_TIME=1
-DHAVE_CURLINFO_CONNECT_TIME=1 -DHAVE_CURLINFO_PRETRANSFER_TIME=1
-DHAVE_CURLINFO_SIZE_UPLOAD=1 -DHAVE_CURLINFO_SIZE_DOWNLOAD=1
-DHAVE_CURLINFO_SPEED_DOWNLOAD=1 -DHAVE_CURLINFO_SPEED_UPLOAD=1
-DHAVE_CURLINFO_HEADER_SIZE=1 -DHAVE_CURLINFO_REQUEST_SIZE=1
-DHAVE_CURLINFO_SSL_VERIFYRESULT=1 -DHAVE_CURLINFO_FILETIME=1
-DHAVE_CURLINFO_CONTENT_LENGTH_DOWNLOAD=1
-DHAVE_CURLINFO_CONTENT_LENGTH_UPLOAD=1
-DHAVE_CURLINFO_STARTTRANSFER_TIME=1 -DHAVE_CURLINFO_CONTENT_TYPE=1
-DHAVE_CURLINFO_REDIRECT_TIME=1 -DHAVE_CURLINFO_REDIRECT_COUNT=1
-DHAVE_CURLINFO_PRIVATE=1 -DHAVE_CURLINFO_HTTP_CONNECTCODE=1
-DHAVE_CURLINFO_HTTPAUTH_AVAIL=1 -DHAVE_CURLINFO_PROXYAUTH_AVAIL=1
-DHAVE_CURLINFO_OS_ERRNO=1 -DHAVE_CURLINFO_NUM_CONNECTS=1
-DHAVE_CURLINFO_SSL_ENGINES=1 -DHAVE_CURLINFO_COOKIELIST=1
-DHAVE_CURLINFO_LASTSOCKET=1 -DHAVE_CURLINFO_FTP_ENTRY_PATH=1
-DHAVE_CURLINFO_REDIRECT_URL=1 -DHAVE_CURLINFO_PRIMARY_IP=1
-DHAVE_CURLINFO_APPCONNECT_TIME=1 -DHAVE_CURLINFO_CERTINFO=1
-DHAVE_CURLINFO_CONDITION_UNMET=1 -DHAVE_CURLOPT_KEYPASSWD=1
-DHAVE_CURLOPT_DIRLISTONLY=1 -DHAVE_CURLOPT_APPEND=1
-DHAVE_CURLOPT_KRBLEVEL=1 -DHAVE_CURLOPT_USE_SSL=1
-DHAVE_CURLOPT_TIMEOUT_MS=1 -DHAVE_CURLOPT_CONNECTTIMEOUT_MS=1
-DHAVE_CURLOPT_HTTP_TRANSFER_DECODING=1
-DHAVE_CURLOPT_HTTP_CONTENT_DECODING=1 -DHAVE_CURLOPT_NEW_FILE_PERMS=1
-DHAVE_CURLOPT_NEW_DIRECTORY_PERMS=1 -DHAVE_CURLOPT_POSTREDIR=1
-DHAVE_CURLOPT_OPENSOCKETFUNCTION=1 -DHAVE_CURLOPT_OPENSOCKETDATA=1
-DHAVE_CURLOPT_COPYPOSTFIELDS=1 -DHAVE_CURLOPT_PROXY_TRANSFER_MODE=1
-DHAVE_CURLOPT_SEEKFUNCTION=1 -DHAVE_CURLOPT_SEEKDATA=1
-DHAVE_CURLOPT_CRLFILE=1 -DHAVE_CURLOPT_ISSUERCERT=1
-DHAVE_CURLOPT_ADDRESS_SCOPE=1 -DHAVE_CURLOPT_CERTINFO=1
-DHAVE_CURLOPT_USERNAME=1 -DHAVE_CURLOPT_PASSWORD=1
-DHAVE_CURLOPT_PROXYUSERNAME=1 -DHAVE_CURLOPT_PROXYPASSWORD=1
-DHAVE_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5=1 -DHAVE_CURLOPT_NOPROXY=1
-DHAVE_CURLOPT_TFTP_BLKSIZE=1 -DHAVE_CURLOPT_SOCKS5_GSSAPI_SERVICE=1
-DHAVE_CURLOPT_SOCKS5_GSSAPI_NEC=1 -DHAVE_CURLOPT_PROTOCOLS=1
-DHAVE_CURLOPT_REDIR_PROTOCOLS=1 -DHAVE_CURLOPT_SSH_AUTH_TYPES=1
-DHAVE_CURLOPT_SSH_PUBLIC_KEYFILE=1 -DHAVE_CURLOPT_SSH_PRIVATE_KEYFILE=1
-DHAVE_CURLOPT_FTP_SSL_CCC=1 -DHAVE_CURLOPT_COOKIELIST=1
-DHAVE_CURLOPT_IGNORE_CONTENT_LENGTH=1 -DHAVE_CURLOPT_FTP_SKIP_PASV_IP=1
-DHAVE_CURLOPT_FTP_FILEMETHOD=1 -DHAVE_CURLOPT_LOCALPORT=1
-DHAVE_CURLOPT_LOCALPORTRANGE=1 -DHAVE_CURLOPT_CONNECT_ONLY=1
-DHAVE_CURLOPT_CONV_FROM_NETWORK_FUNCTION=1
-DHAVE_CURLOPT_CONV_TO_NETWORK_FUNCTION=1
-DHAVE_CURLOPT_CONV_FROM_UTF8_FUNCTION=1
-DHAVE_CURLOPT_MAX_SEND_SPEED_LARGE=1
-DHAVE_CURLOPT_MAX_RECV_SPEED_LARGE=1
-DHAVE_CURLOPT_FTP_ALTERNATIVE_TO_USER=1
-DHAVE_CURLOPT_SOCKOPTFUNCTION=1 -DHAVE_CURLOPT_SOCKOPTDATA=1
-DHAVE_CURLOPT_SSL_SESSIONID_CACHE=1 -I/usr/include/libxml2
-I/usr/local/include -fpic -g -O2 -c base64.c -o base64.o
In file included from /usr/include/curl/curl.h:35:0,

                  from Rcurl.h:4,
                  from base64.c:1:

/usr/include/curl/curlrules.h:142:3: error: size of array '__curl_rule_01__' is negative
/usr/include/curl/curlrules.h:152:3: error: size of array '__curl_rule_02__' is negative
make: *** [base64.o] Error 1
ERROR: compilation failed for package 'RCurl' * removing '/home/renaud/bin/R/2.15/lib64/R/library/RCurl' * restoring previous '/home/renaud/bin/R/2.15/lib64/R/library/RCurl'

--

Renaud Gaujoux
Computational Biology - University of Cape Town South Africa

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 08 Jun 2012 - 10:06:08 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Jun 2012 - 14:12:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive