2

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 <gord@gnu.ai.mit.edu>, 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 <tromey@redhat.com>.

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)
4

4 に答える 4

2

最初に確認するのは、libtoolがインストールされていることだと思います。

編集:

これは私がUbuntu8.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 <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
于 2008-09-20T08:07:48.200 に答える
1

だからあなたの問題は、automake/confがlibtoolについて知らないということです。

それらをすべて再インストールする必要があります。ソースからのすべて、またはバイナリパッケージからのすべて。ソースからインストールする場合は、それらがすべて同じ場所にインストールされていることを確認してください。

于 2008-09-26T10:34:23.240 に答える
0

たぶんあなたのautomakeは何らかの理由であなたのlibtoolについて知りません。libtoolのコピーが2つインストールされているようですが、混乱する可能性があります。

たぶん、両方のコピーに加えて、すべてのautomake、autoconfのインストールを削除し、それらを再インストールする必要があります(おそらくソースから?)。

最初のステップは、ツールのアクティブなコピーの場所を見つけることだと思います。

which libtool
which automake
which autoconf
于 2008-09-20T08:23:47.660 に答える
0

autoconf/automake が見つからlibtool.m4ないため、マクロを解決できないようAM_PROG_LIBTOOLです。libtool インストールの下でこのファイルを探し、下にコピー/リンクし/usr/share/aclocal/ます。

于 2008-10-09T19:11:39.887 に答える