---
title: 编译abinit时make报错
description: "编译abinit时make报错，报错信息为：“abinit-8.10.3/config/gnu/missing: line 81: automake-1.16: command not found”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0083.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0083.html
indexId: 3d1a9f39f82b808b48cd468fab9c546312e6f529cc50ba71f53774d92881903074
---
# 编译abinit时make报错

#### 问题现象描述

编译abinit时make报错，报错信息为：“abinit-8.10.3/config/gnu/missing: line 81: automake-1.16: command not found”。


#### 关键过程、根本原因分析

此错误是因为生成Makefile时制定了aclocal和automake版本为1.16。


#### 结论、解决方案及效果

查看系统的automake版本在Makefile中替换成系统版本。

1. 执行以下命令，修改“abinit-8.10.3/build/Makefile”文件。
  vi abinit-8.10.3/build/Makefile

2. 按“i”进入编辑模式，修改Makefile为系统版本，注意粗体部分。

```
AUTOMAKE = ${SHELL} /storage/softwares/TaiShan/abinit/abinit-8.10.3/config/gnu/missing automake-
1.16
```


3. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
