perl question

Duane Attaway dattaway at dattaway.org
Fri Jan 16 05:25:30 CST 2004


On Thu, 15 Jan 2004, Peter Amisano wrote:

> I have perl 5.8.0 installed in Xandros.  I am trying to install the
> HTML::Parser module.  However, every time I try to run make I get the
> following error:
> 
> cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3   -DVERSION="3.35"
> -DXS_VERSION="3.35" -fPIC "-I/usr/lib/perl/5.8.0/CORE" 
> -DMARKED_SECTION Parser.c
> /bin/sh: line 1: cc: command not found
> make: *** [Parser.o] Error 127

Sounds like perl wants to compile some C code.  The traditional unix
compiler is cc.  Well, most of us have gcc.  Usually, cc is a symbolic
link to gcc and it should be in your path.  You should find these in the 
user binary directory: /usr/bin

/usr/bin/cc
/usr/bin/gcc

My cc is not a symbolic link, but shares the same md5sum as gcc.  You can 
copy gcc to cc...




More information about the Kclug mailing list