[Clfs-support] Perl Cannot Find C Compiler

segfault4096 at gmail.com segfault4096 at gmail.com
Mon Jun 9 10:21:14 PDT 2008


Hello,

I have a feeling I've overlooked something stupid here.  I'm compiling
Temporary Perl at Chapter 10.4 of the CLFS manual, and, when running
configure I've come to the following error.

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
skipping incompatible
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/libgcc.a when searching
for -lgcc
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
cannot find -lgcc
collect2: ld returned 1 exit status
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.

My configure paramaters:

./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper IO Fcntl
POSIX' -Dcc="gcc ${BUILD32}"

Thanks.



More information about the Clfs-support mailing list