当我这样做时出现以下错误./configure -with-x=no
checking whether zlib support suffices... configure: error: zlib library and headers are required
我遵循的安装步骤
sudo chown -R root:root R-3.6.1/
sudo yum group install "Development tools"
sudo yum groupinstall "Development tools"
sudo yum install readline-devel
sudo yum install xz xz-devel
sudo yum install pcre pcre-devel
sudo yum install libcurl-devel
sudo yum install texlive
sudo yum install java-1.8.0-openjdk
sudo yum install *gfortran*
sudo yum install zlib*
sudo yum install bzip2-*
./configure -with-x=no
此处出现错误
sudo make
sudo make install
答案1
必须安装zlib
开发包
sudo yum install zlib-devel