Greetings all,
Having searched for hints as to how to install Curses.pm under 10.2.x
and come up empty-handed I think it's worth detailing a working
procedure. The naive approach ("just do it") fails miserably, as do a
couple of near relatives. The key is realising that (1) Curses.pm is
really old, so gcc 3 may well be asking for trouble, and (2) the Darwin
specific hints aren't very helpful for the current version of Darwin.
The solution I found was to set gcc 2 via
% sudo gcc_select 2
and to copy the hints file appropriate to freebsd: in the expanded
Curses-1.06 directory just use...
% cp hints/c-freebsd.ncurses.h c-config.h
and "perl Makefile.PL; make ; sudo make install" as usual (there are no
tests). Post installation you should find that modules such as
Curses::Widgets, Curses::Forms and Curses::UI work fine.
Cheers,
Paul