|
Posted by Faria on April 13, 2007, 7:38 am
Please log in for more thread options
> > I made a login in repository CPAN.
> > After i run command : install Dialog
>
> > It could be a bug ?
>
> No, it's not a bug.
>
> > Checking if your kit is complete...
> > Looks good
> > Note (probably harmless): No library found for -ldialog
>
> Not so harmless. This module appears to be a "wrapper" for libdialog, whi=
ch
> isn't present on your system. Also...
>
> > Dialog.xs:16:20: error: dialog.h: Arquivo ou diret=F3rio n=E3o encontra=
do
>
> The dialog.h header wasn't found either. I assume that dialog.h would have
> included curses.h in turn, as that's where most of these undeclared funct=
ions
> would have been found.
>
> sherm--
>
> --
> Web Hosting by West Virginians, for West Virginians:http://wv-www.net
> Cocoa programming in Perl:http://camelbones.sourceforge.net
Hello Sherm,
I'm using Debian. I found this files in my filesystem:
/usr/include/dialog.h
/usr/include/InterViews/dialog.h
/usr/include/IV-2_6/InterViews/dialog.h
/usr/include/IV-3_1/InterViews/dialog.h
/usr/include/cdk/dialog.h
/usr/src/linux-source-2.6.18/scripts/kconfig/lxdialog/dialog.h
Nothing about ncurses and dialog.h isn't found.
I try to make again, the error messages was changed.
perl: warning: Falling back to the standard locale ("C").
cp Dialog/Const.pm blib/lib/Dialog/Const.pm
AutoSplitting blib/lib/Dialog/Const.pm (blib/lib/auto/Dialog/Const)
cp Dialog/TButton.pm blib/lib/Dialog/TButton.pm
cp Dialog/TInputLine.pm blib/lib/Dialog/TInputLine.pm
cp Dialog.pod blib/lib/Dialog.pod
cp Dialog.pm blib/lib/Dialog.pm
AutoSplitting blib/lib/Dialog.pm (blib/lib/auto/Dialog)
cp Dialog/TLabel.pm blib/lib/Dialog/TLabel.pm
/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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE =3D "pt_BR:pt:en",
LC_ALL =3D (unset),
LANG =3D "pt_BR"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("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=3D64 -O2 -DVERSION=3D\"0.03\" -DXS_VERSION=3D\"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] Error 1
Best regards,
Faria
|