
Ubuntu 11.04 상자에 개발 버전 gimp2.7.2를 설치하려고 합니다.이 지침babl을 해야하는 단계에서 에러가 발생했습니다.
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
오류 라인은
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.
libtool 2.4의 매크로를 사용하여 aclocal.m4를 어떻게 다시 생성합니까?
답변1
달리기를 해보세요
autoreconf
./configure
make
프로젝트의 루트 디렉터리에 있습니다.
그래도 문제가 해결되지 않으면 make maintainer-clean
먼저 실행해 본 후 1단계로 이동하세요.
그래도 작동하지 않으면 를 실행한 make maintainer-clean
다음 프로젝트의 루트 디렉터리에 생성된 모든 파일을 삭제하세요. aclocal.m4
, 모든 m4
디렉터리, 모든 autom4te.cache
디렉터리, configure
, Makefile.in
, config.h
, config.h.in
, config.status
, libtool
, 등을 포함합니다 ltmain.sh
. 그런 다음 1단계로 이동합니다.
답변2
젠투에서는 다음과 같이 작동합니다:
$ phpize
$ aclocal && libtoolize --force && autoreconf
$ ./configure bbbb#again
우분투에서도 작동할 수 있습니다.
답변3
나는 같은 문제에 직면했고 해결책은 매우 간단했습니다.
BABL_CFLAGS
설치 경로와 함께 환경 변수를 내보내십시오.옹알이. 내 경우에는 다음을 사용했습니다.
export BABL_CFLAGS=/opt/babl-0.1.10
그냥 직접 넣어보세요옹알이경로를 설치하면 제대로 작동할 것입니다!