On Fri, 9 Nov 2007, Juan Lang wrote: [...]
I'm afraid I can't provide very direct assistance, but your configure log indicates something pretty basic is screwed up:
configure:2404: checking for C compiler default output file name configure:2431: gcc conftest.c >&5 /usr/bin/ld: can't locate file for: -lcrt1.o collect2: ld returned 1 exit status
You're probably missing the libc6-dev and/or libgcc1 packages (the package names may be slightly different on your distribution).