perl Makefile.PL出错

perl Makefile.PL出错

:~/.cpan/build/IO-Tty-1.07# 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). Suggestions:
1) The complier 'cc' is not in your PATH. Add it
   to the PATH and try again. OR
2) The compiler isn't installed on your system. Install it. OR
3) You only have a different compiler installed (e.g. 'gcc').
   Either fix the compiler config in the perl Config.pm
   or install a perl that was built with the right compiler
   (you could build perl yourself with the available compiler).
我是不是还有什么东西没装呢?
提示很清楚,he complier 'cc' is not in your PATH. Add it
   to the PATH and try again. OR

2) The compiler isn't installed on your system. Install it. OR

。。。
gcc开发环境


慢了
谢谢两位。
装了i   gcc-4.1-base
还以为装了gcc了呢。


QUOTE:
原帖由 adminsinx 于 2008-12-24 13:45 发表
谢谢两位。
装了i   gcc-4.1-base
还以为装了gcc了呢。

用 dpkg 的话可以用 dpkg -L gcc-4.1-base 看看这个包里面都是啥。rpm 也有类似功能。