
Ich versuche, die Entwicklungsversion gimp2.7.2 auf meiner Ubuntu 11.04-Box zu installieren. Ich folgtediese Anweisungenfür das Gleiche. Bei dem Schritt, bei dem ich babl erstellen musste, ist mir ein Fehler unterlaufen.
sudo make
make all-recursive
make[1]: Entering directory `/home/abc/gimp2.7/gimp-2.7.2/babl'
Making all in babl
make[2]: Entering directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl'
Making all in base
make[3]: Entering directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl/base'
CC babl-base.lo
libtool: Version mismatch error. This is libtool 2.4 Debian-2.4-2, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4 Debian-2.4-2
libtool: and run autoconf again.
make[3]: *** [babl-base.lo] Error 63
make[3]: Leaving directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abc/gimp2.7/gimp-2.7.2/babl'
make: *** [all] Error 2
Die Fehlerzeile ist
libtool: Version mismatch error. This is libtool 2.4 Debian-2.4-2,but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4 Debian-2.4-2
libtool: and run autoconf again.
Wie erstelle ich aclocal.m4 mit Makros aus Libtool 2.4 neu?
Antwort1
Versuchen Sie zu laufen
autoreconf
./configure
make
im Stammverzeichnis Ihres Projekts.
Wenn das nicht funktioniert, versuchen Sie es make maintainer-clean
zunächst mit Ausführen und fahren Sie dann mit Schritt 1 fort.
Wenn das immer noch nicht funktioniert, führen Sie aus make maintainer-clean
und löschen Sie dann alle generierten Dateien im Stammverzeichnis Ihres Projekts, einschließlich aclocal.m4
, alle m4
Verzeichnisse, alle autom4te.cache
Verzeichnisse, configure
, Makefile.in
, config.h
, config.h.in
, config.status
, libtool
, ltmain.sh
, usw. Fahren Sie dann mit Schritt 1 fort.
Vom BenutzerAbonnierenbei unseren Freunden vonPaketüberfluss.
Antwort2
In Gentoo funktioniert dies:
$ phpize
$ aclocal && libtoolize --force && autoreconf
$ ./configure bbbb#again
Könnte auch unter Ubuntu funktionieren.
Antwort3
Ich stand vor dem gleichen Problem und die Lösung war ganz einfach:
Exportieren Sie einfach die Umgebungsvariable BABL_CFLAGS
mit dem Pfad, in dem sich die Installation von befindetbabl. In meinem Fall habe ich verwendet:
export BABL_CFLAGS=/opt/babl-0.1.10
Setzen Sie einfach Ihre eigenenbablPfadinstallation und es wird bei Ihnen einwandfrei funktionieren!