I want to build a toolchain from gnuarm.org from sources. I don't want to use binary version because i'm running x64 linux. Can you point me to some kind of tutorial?
You need to install libx11-dev to compile Insight.
sudo apt-get install libx11-dev
Besides that, your own answer works just fine.
Edit: Oh, and you might miss termcap as well, get it here: GNU Termcap
Edit2: Configure seems to be tight-ass about ignoring return values "'xxx', declared with attribute warn_unused_result", so you might need to modify the options or about 12 instances to catch return values to get clean build.