libtool: compile: unable to infer tagged configuration

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).

[Read More]

Could not run/locate “i386-pc-linux-gnu-gcc”

I have Gentoo Linux on my home machine and after I’ve upgraded GCC (and subsequently the whole toolchain) I wanted to compile a perl related library – crypt-rsa.

When I tried to emerge it, it failed with the following error:

Could not run/locate “i386-pc-linux-gnu-gcc”

After searching around I found this thread on the Gentoo forums which had some instructions how to handle this issue, but it didn’t help much.

In one of the posts on that thread they said to re-emerge the offending package (if you find it). I figured, since I’m trying to compile something related to Perl, perhaps Perl is the problem.

[Read More]