我正试图在一台非常老的CentOS机器上更新Automake。构建失败的原因如下:
$ make -j 4
...
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
使用wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz安装了automake
./configure --prefix=$HOME/local对我来说工作得很好。
在这一步之后,我运行了make,它失败了:
GEN bin/automake
GEN bin/aclocal
GEN t/ax/shell-no-trail-bslash
GEN t/ax/cc-no-c-o
GEN runtest
GEN lib/Automake/Config.pm
当我为我的C程序编译运行automake --foreign --add-missing时,我会收到以下消息。
mylib/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
mylib/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
mylib/Makefile.am:1: to 'configure.ac' and run 'acloc
在扩展一个标准makefile用于(例如,清理,(卸载)安装等)时遇到问题后,我决定尝试autoconf。
我能找到的唯一文档是如何提供要编译和安装的文件,而不是要链接并安装到库位置的文件。
一个教程给了我一个例子:
# what flags you want to pass to the C compiler & linker
CFLAGS = --pedantic -Wall -std=c99 -O2
LDFLAGS =
# this lists the binaries to produce, the (non-PHONY, binary) targets in
# the p
我试图安装faac,但遇到了错误。下面是我在构建它时遇到的错误:
[root@test faac]# ./bootstrap
configure.in:11: warning: underquoted definition of MY_DEFINE
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
aclocal:configure.in:17: warning: macro `AM_PRO
我正在尝试编译和构建automake 1.16,它以以下方式失败: help2man: can't get `--help' info from automake-1.16
Try `--no-discard-stderr' if option outputs to stderr
make: *** [doc/automake-1.16.1] Error 255 我在Stackoverflow和Github上搜索并发现了类似的问题,解决方案是"yum install perl-Thread-Queue“ 但我没有root访问权限。如何在不安装"perl
我正试着在我的mac上安装一个c垃圾收集器。我已经下载了所有必要的文件(git,all等)。我按照站点的说明进行操作。当我到达命令“add-add-missing”时,我得到以下消息:
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level
在我的kali-linux机器上安装Code::Blocks期间,在我的程序目录上执行./configure命令之后,一切都是正常的,直到我尝试创建我的程序。下面是我的错误消息:
WARNING: 'aclocal-1.13' is missing on your system.
You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'.
The '
在我的OSX机器上运行RVM命令来安装Ruby时,我收到了一个错误。输出如下:
ThisComp:~ *************$ \curl -L https://get.rvm.io | bash -s stable --ruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184
我有一个脚本,生成以前未知的数字和名称的c++源文件,然后需要编译成一个库。到目前为止,我在Makefile中使用了一个简单的(shell) for循环:
compile:
for f in `ls -1 *.cpp` ; do g++ -c ...
...
目录中不会有其他c++源代码,所以我只编译那里的所有源代码。
现在,我想将我的构建系统更改为autoconf/automake,我想知道这样做的“正确”方法是什么。我找到的教程仅涵盖了您知道将生成的源代码的数量和名称的情况。
例如,有没有一种方法可以访问编译器名称和autoconf/automake为我组合
我在试着在Cygwin上测试我们的Autotools。当我打开提示时:
$ autoreconf --install --force
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf-2.69: failed to run aclocal: No such file or directory
我重新运行了Cygwin软件包管理器,并验证了安装了autoconf、automake和libtool