yum -y install make automake libtool pkgconfig libaio-devel ./autogen.sh 生成 configure 脚本文件 (可选) ./configure 检查系统环境,配置编译选项 ,生成makefile make 从Makefile中读取指令编译 make install 从Makefile中读取指令,安装到指定位置 可能需要root 权限 ,因为要向系统写入文件 autoconf 和 automake 生成 Makefile cmake或者autotools 生成 makefile 有些开源项目 使用 CMake 根据 CMakeLists.txt 文件 生成makefile