Home > Archive > PERL Beginners > April 2007 > Installing Dialog Module
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Installing Dialog Module
|
|
| Rodrigo Tavares 2007-04-28, 6:58 pm |
| Hello,
I try to install module dialog, but the errors
messages come to screen. I don't now what's happening.
see the logs :
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp
-typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap
typemap Dialog.xs > Dialog.xsc && mv Dialog.xsc
Dialog.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.03\"
-DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib/perl/5.8/CORE"
Dialog.c
Dialog.xs:15:1: warning: "instr" redefined
In file included from
/usr/lib/perl/5.8/CORE/perl.h:756,
from Dialog.xs:7:
/usr/lib/perl/5.8/CORE/embed.h:2375:1: warning: this
is the location of the previous definition
Dialog.xs: In function ‘constant’:
Dialog.xs:37: error: ‘ATTRIBUTE_COUNT’ undeclared
(first use in this function)
Dialog.xs:37: error: (Each undeclared identifier is
reported only once
Dialog.xs:37: error: for each function it appears in.)
Dialog.xs:46: error: ‘HAVE_NCURSES’ undeclared (first
use in this function)
Dialog.xs: In function ‘XS_Dialog_Init’:
Dialog.xs:137: error: too few arguments to function
‘init_dialog’
Dialog.xs: In function ‘XS_Dialog_Menu’:
Dialog.xs:317: error: ‘na’ undeclared (first use in
this function)
Dialog.xs:325: warning: passing argument 7 of
‘dialog_menu’ from incompatible pointer type
Dialog.xs:325: error: too many arguments to function
‘dialog_menu’
Dialog.xs: In function ‘XS_Dialog_CheckList’:
Dialog.xs:349: error: ‘na’ undeclared (first use in
this function)
Dialog.xs:357: warning: passing argument 7 of
‘dialog_checklist’ from incompatible pointer type
Dialog.xs:357: warning: passing argument 8 of
‘dialog_checklist’ makes integer from pointer without
a cast
Dialog.xs: In function ‘XS_Dialog_RadioList’:
Dialog.xs:389: error: ‘na’ undeclared (first use in
this function)
Dialog.xs: In function ‘XS_Dialog_InputBox’:
Dialog.xs:416: error: too few arguments to function
‘dialog_inputbox’
make: ** [Dialog.o] Erro 1
Best regards,
Rodrigo Faria
________________________________________
__________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
| |
| Tom Phoenix 2007-04-28, 6:58 pm |
| On 4/28/07, Rodrigo Tavares <digolinopage@yahoo.com.br> wrote:
> I try to install module dialog, but the errors
> messages come to screen. I don't now what's happening.
Would that be Dialog version 0.03?
http://search.cpan.org/~uncle/Dialog-0.03/
Version numbers below 1.0 are pre-releases, by convention, and may not
be finished. Have you read that module's README file?
http://search.cpan.org/src/UNCLE/Dialog-0.03/README
It doesn't look like a module that's finished. I'm not sure what
you're trying to do, but there may be a better module available on
CPAN. Good luck with it!
--Tom Phoenix
Stonehenge Perl Training
|
|
|
|
|