Subject: | No automatic c-config.h detection on FreeBSD |
(The same error was already reported and was marked as resolved in RT.
Unfortunately RT did not let me to reply to the old ticket).
The c-config file recognition fails on FreeBSD 6.1:
$ 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...
Guesses: includes '', libs '-lcurses -ltermcap' Curses type bsd
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.
If I symlink hints/c-freebsd.bsd.h as c-config.h, then compilation
fails:
...
CursesFun.c: In function `XS_Curses_longname':
CursesFun.c:3146: error: too many arguments to function `longname'
In file included from Curses.c:352:
CursesFun.c:3254:58: macro "touchline" passed 4 arguments, but takes just 3
...
With c-freebsd.ncurses.h everything is working fine.
Regards,
Slaven