安装相关依赖
操作步骤
- 执行以下命令安装依赖。
yum install -y binutils gcc glibc-headers scons gcc-c++ gcc-gfortran numpy python swig libgomp blas blas-devel atlas atlas-devel libXaw-devel wget make* vim clang-10.0.1-4.oe1.aarch64
- 执行以下命令添加头文件链接。
ln -s /usr/lib64/clang/10.0.1/include/mm_malloc.h /usr/include/mm_malloc.h
- 执行以下命令安装图形化界面依赖。
yum -y install xorg-x11-xauth xorg-x11-server-utils xorg-x11-server-Xnest libXtst
- 执行以下命令打开X11-forwarding。
vim /etc/ssh/sshd_config
将X11-Forwarding 这一行参数设为“yes”。
- 执行以下命令重启sshd服务。
systemctl restart sshd.service
父主题: 配置编译环境