首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏全栈程序员必看

    linux autoconf 升级,autoconf问题

    autoconf问题 If you get the following error when compiling GD 2.0.34 or higher: Trying to make gd… cd . usr/local/directadmin/customapache/gd-2.0.34/config/missing –run autoheader configure.ac:28: error: Autoconf : 1 Run the following to fix it: cd /usr/src wget http://files.directadmin.com/services/custombuild/autoconf -2.61.tar.gz tar xzf autoconf-2.61.tar.gz cd autoconf-2.61 .

    96720编辑于 2022-09-05
  • 来自专栏全栈程序员必看

    Autoconf编译配置

    /configure: configure是一个脚本,一般由Autoconf工具生成,它会检验当前的系统环境,看是否满足安装软件所必需的条件:比如当前系统是否支持待安装软件,是否已经安装软件依赖等。 2、使用Autoconf过程 Autoconf工具只是autotools系列工具中的一个,运行之后可对configure.in脚本配置文件进行处理进而生成configure可执行文件。 修改【configure.ac】,利用autoconf提供的各种M4宏,配置项目需要的各种自动化探测项目 编写【自定义宏】,建议每个宏一个单独的*.m4文件; 调用aclocal收集configure.ac 中用到的各种非Autoconf的宏,包括自定义宏; 调用autoheader,扫描configure.ac(configure.in)、acconfig.h(如果存在),生成config.h.in宏定义文件 调用autoconf,利用M4解析configure.ac,生成shell脚本configure。

    1.6K50编辑于 2022-09-02
  • 来自专栏全栈程序员必看

    autoconf 报错

    报错现象:error: Autoconf version 2.64 or higher is required 解决办法: 查询当前版本: [python] view plain copy [root@ wslu-cs wslu]# rpm -qf /usr/bin/autoconf autoconf-2.63-5.1.el6.noarch 卸载当前版本: [python] view plain copy ]# wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz [root@wslu-cs wslu]# tar zxvf autoconf-2.69 .tar.gz [root@wslu-cs wslu]# cd autoconf-2.69 [root@wslu-cs wslu]# . -2.69]# /usr/bin/autoconf -V autoconf (GNU Autoconf) 2.69 Copyright (C) 2010 Free Software Foundation

    51640编辑于 2022-08-25
  • 来自专栏全栈程序员必看

    autoconf 简介

    Autoconf的内容 Autoconf 能生成用于自动配置源代码的 shell 脚本。 安装下列程序: autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate 和 ifnames autoconf是一个产生可以自动配置源代码包 autoconf 产生的配置脚本在运行时独立于autoconf ,因此使用这些脚本的用户不需要安装autoconf。 autoreconf,如果有多个autoconf产生的配置文件,autoreconf可以保存一些工作,它通过重复运行autoconf(以及在合适的地方运行autoheader)以重新产生autoconf Autoconf 安装依赖关系 Autoconf 依赖于: Bash, Coreutils, Diffutils, Grep, M4, Make, Perl, Sed.

    94010编辑于 2022-08-23
  • 来自专栏全栈程序员必看

    php autoconf 配置,automake,autoconf使用详解

    在本文中,将给大家介绍如何使用autoconf和automake两个工具来帮助我们自动地生成符合自由软件惯例的 Makefile,这样就可以象常见的 GNU程序一样,只要使用”. 二.使用的 环境 本文所提到的 程序是 基于Linux发行版本:Fedora Core release 1,它包含了我们要用到的 autoconf,automake. -*- # Process this file with autoconf to produce a configure script. .环境变量.软件必须的 参数的 shell脚本. autoconf 是 用来生成自动配置软件源代码脚本(configure)的 工具.configure脚本能独立于autoconf运行,且在 运行的 过程中 从configure.in这个列举编译软件时所需要各种参数的 模板文件中创建configure. autoconf需要GNU m4宏处理器来处理aclocal.m4,生成configure脚本. m4是

    1.1K00编辑于 2022-08-19
  • 来自专栏全栈程序员必看

    Autoconf 详解

    Autoconf生成的配置脚本在运行的时候与Autoconf是无关的,就是说配置脚本的用户并不需要拥有Autoconf。 关于Autoconf的开发历史,参见Autoconf的历史。对与Autoconf有关的常见问题的回答,参见关于Autoconf的问题。 为了使用Autoconf创建一个configure脚本,你需要编写一个Autoconf的输入文件 `configure.in'并且对它运行autoconfautoconf和autoheader 还读取安装了的Autoconf宏文件(通过读取`autoconf.m4')。 autoconf用使用Autoconf宏的m4宏处理器处理`configure.in'。

    5.1K50编辑于 2022-08-19
  • 来自专栏计算机视觉理论及其实现

    Autoconf简介

    主要组成部分有Autoconf、Automake和Libtool。Automake为了兼容各个系统的make使用。 从Makefile.am文件和Autoconf一起生成Makefile.in文件。 Autoconf语言原文:Autoconf-Language引用符号是[],强烈建议对所有包含 宏名、逗号、括号、前导空格、换行符 的参数都加上引用符号。 Autoconf宏被定义在多个文件里面。 先找跟随Autoconf一起发布的文件中的宏,再在含有发布的Autoconf宏文件的文件夹中找可选文件[acsite.m4]中的宏,然后在当前文件夹中找[aclocal.m4]的宏。 不会传递–autoconf-dir=dir 或 --localdir=dir。

    3.4K10编辑于 2022-09-03
  • 来自专栏全栈程序员必看

    autoconf环境搭建

    curl -O http://mirrors.kernel.org/gnu/autoconf/autoconf-latest.tar.gz tar -xzvf autoconf-latest.tar.gz cd autoconf-2.69 . sudo make install cd .. here you might want to restart your terminal session, to ensure the new autoconf

    52030编辑于 2022-09-06
  • 来自专栏iOSDevLog

    AutoTools: autoconf, automake, libtools

    autoconf package autoconf autoreconf autoheader autoscan autoupdate ifnames autom4te ? image.png A data flow diagram for autoconf and autoheader automake $@ refers to the full target name image.png Data flow from maintainer-written input files to the testsuite program 参考: GitHub Code GNU AUTOCONF , AUTOMAKE, AND LIBTOOL 例解 autoconf 和 automake 生成 Makefile 文件

    1.2K20发布于 2020-11-12
  • 来自专栏全栈程序员必看

    Autoconf简介「建议收藏」

    本系列文章均翻译自Autoconf官方文档:Autoconf Manual,github同步项目:question Autoconf是一个用于生成shell脚本的工具,可以自动配置软件源代码以适应多种类似 Autoconf语言 原文:Autoconf-Language 引用符号是[],强烈建议对所有包含 宏名、逗号、括号、前导空格、换行符 的参数都加上引用符号。 autoconf processes configure.ac with the M4 macro processor, using the Autoconf macros. Autoconf宏被定义在多个文件里面。 先找跟随Autoconf一起发布的文件中的宏,再在含有发布的Autoconf宏文件的文件夹中找可选文件[acsite.m4]中的宏,然后在当前文件夹中找[aclocal.m4]的宏。

    2.3K20编辑于 2022-08-19
  • 来自专栏全栈程序员必看

    GNU Autoconf Introduction

    下载地址:https://www.gnu.org/software/autoconf/manual/autoconf.pdf ---- Autoconf is a tool for producing The configuration scripts produced by Autoconf are independent of Autoconf when they are run, so their Autoconf 生成的配置脚本在运行时独立于Autoconf,因此用户不需要安装 Autoconf。 在这种程度上可以说 Autoconf 的目标是非常成功的 —— 对 Autoconf 列出的大部分抱怨都是写Autoconf 脚本难, 而不是其生成 ‘configure’ 的行为难。 Autoconf 的开发树可以通过git访问; 有关详细信息,请参阅 Autoconf 摘要,或查看实际的代码库。

    91110编辑于 2022-08-19
  • 来自专栏蓝天

    autoconf手册(一)

    Autoconf生成的配置脚本在运行的时候与Autoconf是无关的,就是说配置脚本的用户并不需要拥有Autoconf。    关于Autoconf的开发历史,参见Autoconf的历史。对与Autoconf有关的常见问题的回答,参见关于Autoconf的问题。    请把你通过运行`autoconf --version'而获得的Autoconf的版本号包括在内。 为了使用Autoconf创建一个configure脚本,你需要编写一个Autoconf的输入文件 `configure.in'并且对它运行autoconfautoconf和autoheader 还读取安装了的Autoconf宏文件(通过读取`autoconf.m4')。   

    71510发布于 2018-08-07
  • 来自专栏全栈程序员必看

    autoconf介绍1

    autoconf中使用的宏语言为M4。[configure.ac是autoconf的输入] 宏在与autoconf软件包一起分发的文件中定义。 例如,您可以在Autoconf安装目录(通常为/usr/(local/)share /autoconf)中的autoconf/general.m4文件中找到AC_INIT的定义。 Autoconf – wiki autoconf是一个古老和成熟的产品,如果使用得当,可以使用一个非常简单的接口进行复杂的交叉编译。 M4的广泛使用对那些试图理解Autoconf的人造成了相当大的挫败感。幸运的是,能够有效使用Autoconf通常不需要深入了解宏的内部工作原理。 Autoconf不会生成任何makefile构造-只会将变量代入您的Makefile.in模板中。 因此,Autoconf实际上没有理由抱怨缺少installsh脚本。

    87730编辑于 2022-09-05
  • 来自专栏全栈程序员必看

    Using Automake and Autoconf「建议收藏」

    我不是 Unix 以及 autoconf, automake 的專家,所以我歡迎有建設性的批評與指教。 make and configure 這個 make tool 能夠用來管理多個檔案的專案。 因此,GNU 寫出了 automake 以及 autoconf 來簡化處理這些過程,並且確保 Makefile 以及 configure script 能夠遵守 GNU 標準。 autoconf autoconf 會尋找叫做 configure.in 這個檔案,然後會根據他找到的巨集而生出 configure script。 autoconf 將會需要 config.h.in ,並將之處理成 config.h。 看看 autoconf 和 automake 的手冊來參閱使用到的一些巨集以及變數。我不要這些範例因為註解而變的難以閱讀。

    61020编辑于 2022-07-25
  • 来自专栏全栈程序员必看

    Centos7离线安装autoconf

    下载 http://ftp.gnu.org/gnu/autoconf/ 选择 autoconf-2.65.tar.gz版本 $ tar -xzvf autoconf-2.65.tar.gz $ cd autoconf-2.65 $ . 安装过程 首先执行1.3步骤,安装autoconf,安装autoconf插件时,又提示缺少什么M4。 因此先安装m4,重新安装autoconf时报: BEGIN failed--compilation aborted at .. 正好遇到了这个博客知道,应该是少了一个perl的模块,而不是像网上说的缺少环境: 安装上perl-data-dunmper模块之后,重新编译autoconf成功通过 参考 Centos7安装autoconf

    2.4K20编辑于 2022-09-05
  • 来自专栏技术博文

    phpize报cannot find autoconf

    PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 Cannot find autoconf Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. google了下,解决方法如下:安装autoconf sudo yum install autoconfig 解决方法: cd到php的源代码目录 比如需要追加

    832110发布于 2018-04-16
  • Autoconf:Linux自动生成Makefile的详解

    Autoconf:Linux自动生成Makefile的详解 一、什么是Autoconf? 1.1 基本概念 Autoconf是一个用于生成可移植的Shell脚本(configure脚本)的工具,这些脚本可以自动配置软件源代码以适应多种类Unix系统。 运行 make install(安装程序) 三、传统Makefile vs Autoconf生成Makefile 对比维度 传统手动Makefile Autoconf生成Makefile 可移植性 针对特定系统编写 测试充分:在不同系统上测试configure脚本 十、总结 Autoconf作为GNU构建系统的核心,为跨平台软件提供了强大的配置能力。 现代项目也可以考虑CMake、Meson等新工具,但理解Autoconf的工作原理有助于深入理解软件构建过程。

    10310编辑于 2026-02-02
  • 来自专栏RTSP/RTMP直播相关

    autoscan、aclocal、automake和autoconf区别

    如果在configure.ac中定义了一些特殊的宏,比如AC_PROG_LIBTOOL,它会调用libtoolize,否则它 会自己产生config.guess和config.sub; autoconf

    3K00发布于 2019-09-17
  • 来自专栏图像处理与模式识别研究所

    用于生成Shell脚本的工具autoconf下载。

    1、点击[automake-1.14.tar.gz] 2、点击[开始下载] 3、点击[打开] 4、点击[命令行窗口] 5、按<Enter>键 6、点击[命令行窗口] 7、按<Enter>键 8、点击[命令行窗口] 9、按<Enter>键

    1.6K30编辑于 2022-05-28
  • 升级git报:autoconf: command not found错

    执行make configure时报:autoconf: command not found错, 需要安装libtool: 执行命令安装: yum install install autoconf

    16010编辑于 2025-12-23
领券