ubuntu 20.04 更新 autoconf 版本

前言

  • 由于最近打算交叉编译 python,依赖 libffi 库,而交叉编译 libffi 库,由于使用的是 github 上的 libffi,又提示 autoconf 版本太低了,所以,先更新 autoconf 的版本

  • 当前 ubuntu 20.04 上安装的 autuconf 版本号是: autoconf (GNU Autoconf) 2.69

zhangsz@zhangsz:~$ autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

下载 autoconf

zhangsz@zhangsz:~/python/tools$ tar xf /mnt/hgfs/kernel/autoconf-2.72.tar.xz -C ./
zhangsz@zhangsz:~/python/tools$ ls
autoconf-2.72
  • 进入 autoconf-2.72,直接 ./configure 进行默认配置

  • 编译 make

  • 安装: sudo make install,这里使用管理员身份安装

  • 安装后,退出当前的 shell,再次进入,发现 autoconf 的版本更新了

在这里插入图片描述

  • 在 ubuntu 20.04 上,更新了 autoconf 的版本,由 默认的 2.69 更新到 2.72

小结

  • autoconf 工具也是比较常用的,比如某个软件包下没有 configure 配置脚本,可以执行 autoconf 生成 configure 配置脚本

  • configure 配置脚本用于很多 GNU 的软件工具的配置中,比较常用

相关推荐

  1. Mac更新node版本

    2024-01-24 04:08:02       47 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-24 04:08:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-24 04:08:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-01-24 04:08:02       82 阅读
  4. Python语言-面向对象

    2024-01-24 04:08:02       91 阅读

热门阅读

  1. 采用ERNIE计算 Perplexity (PPL)

    2024-01-24 04:08:02       49 阅读
  2. C#partial关键字(分布类)

    2024-01-24 04:08:02       49 阅读
  3. Structured Streaming基础--学习笔记

    2024-01-24 04:08:02       57 阅读
  4. NVIDIA 驱动和 CUDA 版本信息速查

    2024-01-24 04:08:02       57 阅读
  5. 代码随想录二刷 | 回溯 |复原IP地址

    2024-01-24 04:08:02       60 阅读
  6. 【C++PCL】点云处理K-Means点云分割

    2024-01-24 04:08:02       59 阅读
  7. 化妆-护肤品选购

    2024-01-24 04:08:02       55 阅读