libtool: compile: unable to infer tagged configuration

March 5, 2007

I got the following annoying little error after I tried to upgrade to a newer mod_python on my Gentoo Linux box:

 libtool: compile: unable to infer tagged configuration

It seems that the main problem was due to the fact that I’ve switched to GCC 4.1.1 and when compiling mod_python, the compilation uses libtool that is brought and compiled with Apache (located under /usr/share/apr-0/build/) which should have been recompiled after I’ve upgraded to the new GCC (I was too lazy to continue running the “emerge -e system” command so I stopped it after GCC was recompiled).

To solve it, simple recompile Apache and emerge upgrade mod_python.

  • http://www.paulbain.co.uk Paul

    Surely an emerge libtool would have been a better idea?

  • http://eran.sandler.co.il Eran

    Paul, I don’t remember if I tried re-emerging libtool, but it might have worked.

    Next time I’ll try that :-)

  • Alabattai

    Yeah, rebuilding libtool is the solution.

  • mjasso

    hi, i\m very new to linux/unix, i\m trying to build apache2.2 from pkgsrc and get the same error describe in here,
    libtool: compile: unable to infer tagged configuration

    while trying to rebuild apr i get the same error, can someone point me in the right direction it will be appreciated!

Switch to our mobile site

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org