Hinnerk van Bruinehsen writes: > On 15.05.2012 11:11, Alex Schuster wrote: >> Stroller writes: >> >>> I boot from a SystemRescueCD and follow the Gentoo quick install guide. >>> >>> This has never failed me. >> >> For me it did, half a year ago, several packages failed to build due to >> strange libtool errors. It took me some days until I found the solution: >> unset path. >> >> Libtool uses this variable without unsetting it before, and SystemRescueCD >> defines it as environment variable, which is still available in the >> chroot. This messed things up a lot. [...] > Did you do env-update && . /etc/profile after entering chroot? > I always thought that setting the right environment variables was the > purpose of that.
Sure. But this only _sets_ some environment variables - it does not unset any other variables you already have defined. The error is in libtool - it uses a variable without unsetting it first. Wonko