There are 4 calls being made by CPAN:
$ perl Makefile.PL $ make $ make test $ make install
The first error you get is because make is failing to compile the C code in Curses.c into Curses.o by the look of it. make test and make install naturally fail as you have no binary due to the earlier failure.
To diagnose the exact issue(s) download the latest tar.gz from CPAN, untar it and go through the motions. See A guide to installing Modules if you are unfamiliar with the process. Then post the exact compilation errors here and the monks may be able to help you. You will need to specify what version of gcc you are using, Perl version and all the compiler output$ gcc -v; perl -v; perl Makefile.PL; make should do the trick if you do that in the Curses-1.06/ dir that the distro (probably) untars into.
<code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>