Re: Compile problem: Curses::Widgets
- From: "Ekki Plicht (DF4OR)" <df4or@xxxxxx>
- Date: Tue, 25 Sep 2007 21:00:14 +0200
HaroldWho wrote:
On Mon, 24 Sep 2007 21:24:48 +0200, Ekki Plicht (DF4OR) wrote
in comp.lang.perl.modules:
HaroldWho wrote:
[...]
I have an app that uses Curses::Widgets, and it fails with the message:
"Curses function 'chgat' called with too many arguments at
/usr/lib/perl5/site_perl/5.8.8/Curses/Widgets/ButtonSet.pm line 305."
What version of ncurses are you using? Here it's 5.6.20061217, find out
with $ ncurses5-config --version
Maybe your installed version is too old? Here the chgat call looks as
follows:
$ man curs_attr
[...]
int chgat(int n, attr_t attr, short color,
const void *opts)
My version is 5.6.20070217. Not too old, but perhaps too new :-)
So, I'm still at a loss. I guess I'll have to dummy up some simple scripts
for Curses and Curses::Widgets to see what makes the failure happen.
Well, what does your manpage say (man curs_attr)? Or the source? It's easy
to find the reason for that error, you just have to look. The solve the
problem might be another issue.
Rgds,
Ekki
.
- Follow-Ups:
- Re: Compile problem: Curses::Widgets
- From: HaroldWho
- Re: Compile problem: Curses::Widgets
- References:
- Compile problem: Curses::Widgets
- From: HaroldWho
- Re: Compile problem: Curses::Widgets
- From: Ekki Plicht (DF4OR)
- Re: Compile problem: Curses::Widgets
- From: HaroldWho
- Compile problem: Curses::Widgets
- Prev by Date: Re: Compile problem: Curses::Widgets
- Next by Date: get all a module's dependencies?
- Previous by thread: Re: Compile problem: Curses::Widgets
- Next by thread: Re: Compile problem: Curses::Widgets
- Index(es):