perl modules under Sunsolaris 10

Hi all,

I'm trying to install TermReadKey-2.30 module under Solaris10,

and look what I have:

cp ReadKey.pm blib/lib/Term/ReadKey.pm

AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)

/usr/bin/perl -I/usr/perl5/5.8.4/lib genchars.pl

Writing termio/termios section of cchars.h... Done.

Checking for sgtty...

Sgtty NOT found.

Writing sgtty section of cchars.h... Done.

/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -noprototypes -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c

cc -c-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff-DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"ReadKey.c

sh: cc: not found

please can someone helps me

thanks in advanced

*** Error code 1

[934 byte] By [monsterSolatisa] at [2007-11-27 1:43:52]
# 1
Its not finding a C compiler.Check /usr/sfw/bin is in your path.You might also need to set an environment variable CC=gcc
robert.cohena at 2007-7-12 1:02:19 > top of Java-index,General,Installation...
# 2
Hi, I found only this : /usr/sfw/bin/gccand in the environement I don't have CC=gcc, how I can add it ?thank you very much
monsterSolatisa at 2007-7-12 1:02:19 > top of Java-index,General,Installation...
# 3
CC=/usr/sfw/bin/gccexport CCassuming your using a sh or bash as your shell.
robert.cohena at 2007-7-12 1:02:19 > top of Java-index,General,Installation...
# 4

I add the gcc to the envorinement

but I have always this error:

cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" ReadKey.c

sh: cc: not found

thank you

monsterSolatisa at 2007-7-12 1:02:19 > top of Java-index,General,Installation...
# 5
Hmm, its not honouring the environment variable.You might need to manually edit the Makefile.pl
robert.cohena at 2007-7-12 1:02:19 > top of Java-index,General,Installation...