5

I am trying to install the development version gimp2.7.2 on my Ubuntu 11.04 box.I was following these instructions for the same.I ran into an error at the step where I had to make 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

The error line is

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.

How do I recreate aclocal.m4 with macros from libtool 2.4?

asked Aug 13, 2011 at 12:19
0

3 Answers 3

8

Try running

autoreconf 
./configure
make

in the root directory of your project.

If that doesn't work, try running make maintainer-clean first and then go to step 1.

If that still doesn't work, run make maintainer-clean, then delete every generated file in the root directory of your project; including aclocal.m4, any m4 directory, any autom4te.cache directory, configure, Makefile.in, config.h, config.h.in, config.status, libtool, ltmain.sh, etc. Then go to step 1.

From user mspoerr over at our friends at Stackoverflow.

answered Aug 13, 2011 at 12:49
2
  • did that. thanks. However I am stuck at the next step. even after instal babl, the gimp configure step says. No package 'babl' found. Guess that is for another question. Commented Aug 13, 2011 at 14:56
  • yes that's the general idea of AU ;) Commented Aug 13, 2011 at 14:57
2

In Gentoo this works:

$ phpize 
$ aclocal && libtoolize --force && autoreconf
$ ./configure bbbb#again

Might work in Ubuntu too.

con-f-use
19.1k22 gold badges92 silver badges143 bronze badges
answered Oct 12, 2012 at 18:29
1
  • 2
    Are you suggesting that this might be helpful for Ubuntu users as well? If so, I recommend editing your answer to state that, and possibly also to explain why. If, on the other hand, you don't think this would help people who are running Ubuntu rather than Gentoo, then this is probably not suitable as an answer for this Ask Ubuntu question. Commented Oct 12, 2012 at 19:29
0

I faced the same problem and the solution was very simple:

Just export the anvironment variable BABL_CFLAGS with the path where is the installation of babl. In my case, I used:

export BABL_CFLAGS=/opt/babl-0.1.10

Just put your own babl path installation and it's gonna work fine for you!

Joren
5,0838 gold badges40 silver badges55 bronze badges
answered Oct 2, 2013 at 11:08

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.