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



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM