Problems installing Curses

I’m trying to get Curses-1.06 installed on my server and am hitting a wall.

I did some research and found out I need to do this:

But, that didn’t work. Of course I’m not entirely sure I did everything right either.

Has anyone gotten Curses to compile on their system?