R 语言安装问题集锦

 

R安装问题
R CMD INSTALL -l /data1/jhh/envirment/R/R_lib /data1/jhh/software/qvalue_2.10.0.tar.gz


问题1 :
configure: error: --with-x=yes (default) and X11 headers/libs are not available

解决方法:
apt-get install libxt-dev


运行过程中又遇到了。。。

问题2 : configure: error: libcurl >= 7.22.0 library and headers are required with support for https

解决方法:
下载curl进行安装,出现了问题,curl 没有https

###################

apt-get install libssl-dev

apt-get install git g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libjemalloc-dev cython python3-dev python-setuptools

##################

#编译安装nghttp2
git clone https://github.com/tatsuhiro-t/nghttp2.git
cd nghttp2
autoreconf -i
automake
autoconf
./configure
## ./configure --with-nghttp2 --prefix=
make
sudo make install

问题二 : curl 正常了,需要添加path

wget http://curl.haxx.se/download/curl-7.46.0.tar.bz2
tar -xvjf curl-7.46.0.tar.bz2
cd curl-7.46.0
./configure --with-nghttp2=/usr/local --with-ssl
sudo make && make install
echo '/data1/jhh/envirment/R/R-3.4.3/curl-7.47.1/lib' > /etc/ld.so.conf.d/local.conf
ldconfig


转载于:https://www.cnblogs.com/jinhh/p/8251030.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值