尝试运行 faac 的引导脚本但遇到错误

发布于 2024-07-06 06:56:25 字数 2543 浏览 14 评论 0原文

我正在尝试安装 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_PROG_LIBTOOL' not found in library  
common/mp4v2/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined  
common/mp4v2/Makefile.am:5:   
common/mp4v2/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'  
common/mp4v2/Makefile.am:5: to `configure.in' and run `aclocal' and `autoconf' again.  
libfaac/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined  
libfaac/Makefile.am:1:   
libfaac/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'  
libfaac/Makefile.am:1: to `configure.in' and run `aclocal' and `autoconf' again.  
configure.in:17: error: possibly undefined macro: AM_PROG_LIBTOOL  
If this token and others are legitimate, please use m4_pattern_allow.  
See the Autoconf documentation.  

有谁知道这意味着什么? 我找不到任何关于此的信息,所以我想我会问你们。 感谢您的帮助。

编辑: 这是我的 linux、libtool、automake 和 autoconf 的版本:

[root@test faac]# libtool --version
ltmain.sh (GNU libtool) 2.2
Written by Gordon Matzigkeit <[email protected]>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@test faac]# autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@test faac]# automake --version
automake (GNU automake) 1.9.2
Written by Tom Tromey <[email protected]>.

Copyright 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@test faac]# cat /etc/redhat-release 
Red Hat Enterprise Linux WS release 4 (Nahant)

I'm trying to install faac and am running into errors. Here are the errors I get when trying to build it:


[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_PROG_LIBTOOL' not found in library  
common/mp4v2/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined  
common/mp4v2/Makefile.am:5:   
common/mp4v2/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'  
common/mp4v2/Makefile.am:5: to `configure.in' and run `aclocal' and `autoconf' again.  
libfaac/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined  
libfaac/Makefile.am:1:   
libfaac/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'  
libfaac/Makefile.am:1: to `configure.in' and run `aclocal' and `autoconf' again.  
configure.in:17: error: possibly undefined macro: AM_PROG_LIBTOOL  
If this token and others are legitimate, please use m4_pattern_allow.  
See the Autoconf documentation.  

Does anyone know what this means? I was unable to find anything about this so I figured I'd ask you guys. Thank you for your help.

EDIT:
Here's my versions of linux, libtool, automake and autoconf:

[root@test faac]# libtool --version
ltmain.sh (GNU libtool) 2.2
Written by Gordon Matzigkeit <[email protected]>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@test faac]# autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@test faac]# automake --version
automake (GNU automake) 1.9.2
Written by Tom Tromey <[email protected]>.

Copyright 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@test faac]# cat /etc/redhat-release 
Red Hat Enterprise Linux WS release 4 (Nahant)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

迷迭香的记忆 2024-07-13 06:56:25

我认为首先要检查的是您是否安装了 libtool。

编辑:

这是我在 Ubuntu 8.04 上得到的:

$ ./bootstrap 
configure.in:11: warning: underquoted definition of MY_DEFINE
configure.in:11:   run info '(automake)Extending aclocal'
configure.in:11:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:4: installing `./install-sh'
configure.in:4: installing `./missing'
common/mp4v2/Makefile.am: installing `./depcomp'

$ libtool --version
ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-1ubuntu1 (1.1220.2.493 2008/02/01 16:58:18)

Copyright (C) 2008  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

$ automake --version
automake (GNU automake) 1.10.1
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.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 Tom Tromey <[email protected]>
       and Alexandre Duret-Lutz <[email protected]>.

I think the first thing to check is that you have libtool installed.

Edit:

This is what I get on Ubuntu 8.04:

$ ./bootstrap 
configure.in:11: warning: underquoted definition of MY_DEFINE
configure.in:11:   run info '(automake)Extending aclocal'
configure.in:11:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:4: installing `./install-sh'
configure.in:4: installing `./missing'
common/mp4v2/Makefile.am: installing `./depcomp'

$ libtool --version
ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-1ubuntu1 (1.1220.2.493 2008/02/01 16:58:18)

Copyright (C) 2008  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

$ automake --version
automake (GNU automake) 1.10.1
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.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 Tom Tromey <[email protected]>
       and Alexandre Duret-Lutz <[email protected]>.
终陌 2024-07-13 06:56:25

所以你的问题是 automake/conf 不知道 libtool。

您需要重新安装所有这些。 要么全部来自源代码,要么全部来自二进制包。
如果从源安装,请确保它们全部安装到同一位置。

So your problem is that automake/conf don't know about libtool.

You need to reinstall all of them. Either from all from source, or all from binary packages.
If installing from source, ensure they are all installed to the same location.

长发绾君心 2024-07-13 06:56:25

也许您的 automake 由于某种原因不知道您的 libtool。 看起来您已经安装了两个 libtool 副本,这可能会造成混淆。

也许您应该删除两个副本以及所有 automake、autoconf 安装,然后重新安装它们(可能从源代码?)。

我想第一步是找出工具的活动副本的位置:

which libtool
which automake
which autoconf

Maybe your automake doesn't know about your libtool for some reason. It looks like you've got two copies of libtool installed, which might be confusing it.

Maybe you should remove both copies, plus all automake, autoconf installs, and reinstall them (possibly from source?).

I guess the first step is to find out the locations of the active copies of the tools:

which libtool
which automake
which autoconf
方圜几里 2024-07-13 06:56:25

听起来 autoconf/automake 找不到 libtool.m4,因此无法解析宏 AM_PROG_LIBTOOL。 在 libtool 安装下查找此文件,并将其复制/链接到 /usr/share/aclocal/ 下。

It sounds like autoconf/automake cannot find libtool.m4, and therefore cannot resolve the macro AM_PROG_LIBTOOL. Look for this file under your libtool installation and copy/link it under /usr/share/aclocal/.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文