Subject: | Fails on FreeBSD, easy fix |
If Makefile.PL tested for this condition and created the link below if needed it be solved:
This server is FreeBSD 5.3-RELEASE (we;ve seen it on numerouse FreeBSD servers)
I'll cpecifically look into and report back how it works on 4 and 6
redspot# tar xzf Curses-1.13.tgz
redspot# cd Curses-1.13
redspot#
redspot# perl Makefile.PL
GEN function: not applicable
PANELS functions: not enabled
MENUS functions: not enabled
FORMS functions: not enabled
Making a guess for $inc and/or $libs...
Making a guess for "c-config.h"...
I'm sorry, but I couldn't find a hints file that was configured for
your OS (named hints/c-freebsd.h). You will need to create and configure a
"c-config.h" file for yourself. Please see the "INSTALL" directions
for pointers on how to do this.
redspot#
redspot# ln -s hints/c-freebsd.ncurses.h c-config.h
redspot# perl Makefile.PL
GEN function: not applicable
PANELS functions: not enabled
MENUS functions: not enabled
FORMS functions: not enabled
Making a guess for $inc and/or $libs...
Checking if your kit is complete...
Looks good
Writing Makefile for Curses
redspot#
then it installs :)
hints/c-freebsd.ncurses.h is the one you want to use apparently as hints/c-freebsd.bsd.h
fails every time (even though /usr/include/ncurses.h is just a symlink to /usr/include/
curses.h)
I beleive this is all the port of it is doing but it'd be nicer to use CPAN on every server
regardless of OS