Skip Menu |

This queue is for tickets about the Curses CPAN distribution.

Report information
The Basics
Id: 21403
Status: resolved
Priority: 0/
Queue: Curses

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.14
Fixed in: (no value)



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
From: GIRAFFED [...] cpan.org
The failure to guess is a bug, to be fixed in 1.15. The failure to compile when you configure for BSD curses could be because you actually have ncurses and not BSD curses installed. Or it might be a different version of BSD curses than the one that the c-freebsd.bsd.h hints file is for. The default guess as designed is BSD curses, with c-freebsd.bsd.h hints file, but maybe that choice is outdated. Someone who knows FreeBSD will have to sort this out.
Bug is fixed in 1.15. The design issue alluded to (the configuration guess isn't always a good one) still needs work.