Discuz! BBS

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 780|回复: 0

automake 小技巧

[复制链接]

255

主题

364

帖子

2438

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2438
发表于 2023-7-28 19:54:35 | 显示全部楼层 |阅读模式
https://www.cnblogs.com/Rainingday/p/12616235.html
https://www.fengnayun.com/news/content/226695.html
https://www.python100.com/html/21XPAPS7017R.html
生成aclocal.m4文件:
aclocal
生成configure文件:
autoconf
生成config.h.in:
autoheader
生成Makefile.in:
automake --add-missing
然后就可以配置-编译-安装了。
如果报:configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
使用  autoreconf -vif

注意如果出现undefined macro: AC_PROG_LIBTOOL,则表示m4找不到,见
https://blog.csdn.net/dawudayudaxue/article/details/119805205
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|DiscuzX

GMT+8, 2025-4-16 14:43 , Processed in 0.014643 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表