刚刚开始学习Linux没几天,只知道一些基本的指令,要在almalinux上安装Grace并且运行。
依赖项那些都用yum或dnf安装了,grace安装之后运行不了,一输入grace就是这样,如图。

一运行就会出现这样。(实在是没办法了)
想请大家分析一下原因。我从新开的系统只用过以下的命令行!
sudo passwd root
sudo yum install -y epel-release
sudo yum install -y python-pip
sudo yum clean all
sudo yum update -y
sudo yum install -y gcc
sudo yum install -y libjpeg
sudo yum install -y libpng
yum install -y fftw
yum install -y netcdf
yum install -y evince
dnf install motif
mkdir ~/grace/
wget https://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/grace-5.1.22.tar.gz -O ~/grace/grace.tar.gz
cd ~/grace/
tar -zxvf grace.tar.gz
cd ./grace-5.1.22/
./configure
make
make install
make links
grace
我试着先下载epel拓展 然后依次用yum安装Grace的依赖项(PDFlib用evince来代替了)
./configure的时候似乎有挺多no的
但是make和make install的时候都没有出现问题
checking whether realloc is buggy... no
checking for Tllib >= 1.3.1... no
checking for library containing xdrstdio_create... no
--> No XDR library found; grconvert will not be built
checking for netCDF API version >= 3.... no
--> support for netCDF is disabled
checking for FFTW library >= 2.1.3... no
--> using legacy unoptimized FFT codechecking for zlib >= 1..3... no
checking for IJG JPEG software >= 61... no
--> JPEG backend is disabledchecking for libpng >= .9.6... no
--> PNG backend is disabledchecking for PDFlib >= 5.0.0...no
是版本太低了还是说没有挂载到指定目录啊