ディストリはubuntuで
perlのExpectモジュールを使おうとしたら

Can't locate IO/Pty.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Expect.pm line 22.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Expect.pm line 22.

って出たからIO::Tty入れようとしてperl Makefile.PLやったら

Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...

ERROR: cannot run the configured compiler 'cc'
(see conf/compilerok.log). Please fix this by adjusting
perls Config.pm, creating a symlink to the right location
or maybe by just adding it to your PATH. You could also build
perl yourself.


って言われたんだけどどうすればいいの?