2008-09-20 22 views
2

J'essaye d'installer faac et je suis en train de commettre des erreurs. Voici les erreurs que je reçois en essayant de le construire:Je tente d'exécuter le script bootstrap de faac mais je rencontre des erreurs


[[email protected] 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. 

Est-ce que quelqu'un sait ce que cela signifie? J'étais incapable de trouver quoi que ce soit à ce sujet, alors j'ai pensé que je vous le demanderais. Merci de votre aide.

EDIT: Voici ma version de linux, libtool, automake et autoconf:

[[email protected] 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. 
[[email protected] 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. 
[[email protected] 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. 
[[email protected] faac]# cat /etc/redhat-release 
Red Hat Enterprise Linux WS release 4 (Nahant) 

Répondre

2

Je pense que la première chose à vérifier est que vous avez installé libtool.

Edit:

C'est ce que je reçois sur 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]>. 
+0

Je crois que je fais parce que je vérifié à l'aide de la commande whereis: [FAAC root @ test] # whereis libtool libtool:/usr/bin/libtool/usr/local/bin/libtool [root @ test FAAC] # whereis libtoolize libtoolize: /usr/bin/libtoolize/usr/local/bin/libtoolize –

0

Peut-être que votre automake ne sait pas au sujet de votre libtool pour une raison quelconque. Il semble que vous ayez deux copies de libtool installées, ce qui peut être source de confusion. Peut-être devriez-vous supprimer les deux copies, ainsi que toutes les installations automake, autoconf et les réinstaller (éventuellement à partir de la source?).

Je suppose que la première étape est de trouver les emplacements des copies actives des outils:

which libtool 
which automake 
which autoconf 
+0

J'ai un lien symbolique de libtool dans/usr/local/bin vers usr/bin. voici les résultats des commandes ci-dessus: [root @ test ~] # dont libtool /usr/local/bin/libtool [root @ test ~] # qui automake /usr/bin/automake [root @ test ~ ] # qui autoconf /usr/bin/autoconf –

1

donc votre problème est que automake/ne sais pas conf à propos libtool.

Vous devez les réinstaller tous. Soit de toutes les sources, soit de tous les paquets binaires. Si vous effectuez l'installation à partir de la source, assurez-vous qu'ils sont tous installés au même emplacement.

0

Cela ressemble à autoconf/automake ne peut pas trouver libtool.m4, et ne peut donc pas résoudre la macro AM_PROG_LIBTOOL. Recherchez ce fichier sous votre installation de libtool et copiez/liez-le sous /usr/share/aclocal/.