Professional Web Applications Themes

Dialog - PERL Modules

Hello, I made a login in repository CPAN. After i run command : install Dialog It could be a bug ? The make gave errors. See below: install Dialog Running install for module Dialog Running make for U/UN/UNCLE/Dialog-0.03.tar.gz LWP not available Fetching with Net::FTP: ftp://cpan.pop-mg.com.br/pub/CPAN/authors/id/U/UN/UNCLE/Dialog-0.03.tar.gz LWP not available Fetching with Net::FTP: ftp://cpan.pop-mg.com.br/pub/CPAN/authors/id/U/UN/UNCLE/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/U/UN/UNCLE/ Dialog-0.03.tar.gz ok Dialog-0.03/ Dialog-0.03/typemap Dialog-0.03/Dialog/ Dialog-0.03/Dialog/Const.pm Dialog-0.03/Dialog/TInputLine.pm Dialog-0.03/Dialog/TButton.pm Dialog-0.03/Dialog/TLabel.pm Dialog-0.03/Dialog.pod Dialog-0.03/MANIFEST Dialog-0.03/Makefile.PL Dialog-0.03/Changes Dialog-0.03/Dialog.xs Dialog-0.03/test.pl Dialog-0.03/Dialog.pm Dialog-0.03/README CPAN.pm: Going to build U/UN/UNCLE/Dialog-0.03.tar.gz Checking if your kit is complete... Looks good Note (probably harmless): No library found for -ldialog Writing Makefile for Dialog cp Dialog/TButton.pm blib/lib/Dialog/TButton.pm ...

  1. #1

    Default Dialog

    Hello,

    I made a login in repository CPAN.
    After i run command : install Dialog

    It could be a bug ?

    The make gave errors. See below:

    install Dialog
    Running install for module Dialog
    Running make for U/UN/UNCLE/Dialog-0.03.tar.gz
    LWP not available
    Fetching with Net::FTP:
    ftp://cpan.pop-mg.com.br/pub/CPAN/authors/id/U/UN/UNCLE/Dialog-0.03.tar.gz
    LWP not available
    Fetching with Net::FTP:
    ftp://cpan.pop-mg.com.br/pub/CPAN/authors/id/U/UN/UNCLE/CHECKSUMS
    Checksum for /root/.cpan/sources/authors/id/U/UN/UNCLE/
    Dialog-0.03.tar.gz ok
    Dialog-0.03/
    Dialog-0.03/typemap
    Dialog-0.03/Dialog/
    Dialog-0.03/Dialog/Const.pm
    Dialog-0.03/Dialog/TInputLine.pm
    Dialog-0.03/Dialog/TButton.pm
    Dialog-0.03/Dialog/TLabel.pm
    Dialog-0.03/Dialog.pod
    Dialog-0.03/MANIFEST
    Dialog-0.03/Makefile.PL
    Dialog-0.03/Changes
    Dialog-0.03/Dialog.xs
    Dialog-0.03/test.pl
    Dialog-0.03/Dialog.pm
    Dialog-0.03/README

    CPAN.pm: Going to build U/UN/UNCLE/Dialog-0.03.tar.gz

    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -ldialog
    Writing Makefile for Dialog
    cp Dialog/TButton.pm blib/lib/Dialog/TButton.pm
    cp Dialog/Const.pm blib/lib/Dialog/Const.pm
    AutoSplitting blib/lib/Dialog/Const.pm (blib/lib/auto/Dialog/Const)
    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
    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:16:20: error: dialog.h: Arquivo ou diretório não encontrado
    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:49: error: 'MAX_LEN' undeclared (first use in this function)
    Dialog.xs:55: error: 'border_attr' undeclared (first use in this
    function)
    Dialog.xs:57: error: 'button_active_attr' undeclared (first use in
    this function)
    Dialog.xs:59: error: 'button_inactive_attr' undeclared (first use in
    this function)
    Dialog.xs:61: error: 'button_key_active_attr' undeclared (first use in
    this function)
    Dialog.xs:63: error: 'button_key_inactive_attr' undeclared (first use
    in this function)
    Dialog.xs:65: error: 'button_label_active_attr' undeclared (first use
    in this function)
    Dialog.xs:67: error: 'button_label_inactive_attr' undeclared (first
    use in this function)
    Dialog.xs:70: error: 'check_attr' undeclared (first use in this
    function)
    Dialog.xs:72: error: 'check_selected_attr' undeclared (first use in
    this function)
    Dialog.xs:75: error: 'darrow_attr' undeclared (first use in this
    function)
    Dialog.xs:77: error: 'dialog_attr' undeclared (first use in this
    function)
    Dialog.xs:80: error: 'inputbox_attr' undeclared (first use in this
    function)
    Dialog.xs:82: error: 'inputbox_border_attr' undeclared (first use in
    this function)
    Dialog.xs:84: error: 'item_attr' undeclared (first use in this
    function)
    Dialog.xs:86: error: 'item_selected_attr' undeclared (first use in
    this function)
    Dialog.xs:89: error: 'menubox_attr' undeclared (first use in this
    function)
    Dialog.xs:91: error: 'menubox_border_attr' undeclared (first use in
    this function)
    Dialog.xs:94: error: 'position_indicator_attr' undeclared (first use
    in this function)
    Dialog.xs:97: error: 'screen_attr' undeclared (first use in this
    function)
    Dialog.xs:99: error: 'searchbox_attr' undeclared (first use in this
    function)
    Dialog.xs:101: error: 'searchbox_border_attr' undeclared (first use in
    this function)
    Dialog.xs:103: error: 'searchbox_title_attr' undeclared (first use in
    this function)
    Dialog.xs:105: error: 'shadow_attr' undeclared (first use in this
    function)
    Dialog.xs:108: error: 'tag_attr' undeclared (first use in this
    function)
    Dialog.xs:110: error: 'tag_key_attr' undeclared (first use in this
    function)
    Dialog.xs:112: error: 'tag_key_selected_attr' undeclared (first use in
    this function)
    Dialog.xs:114: error: 'tag_selected_attr' undeclared (first use in
    this function)
    Dialog.xs:116: error: 'title_attr' undeclared (first use in this
    function)
    Dialog.xs:119: error: 'uarrow_attr' undeclared (first use in this
    function)
    Dialog.c: In function 'XS_Dialog_draw_shadow':
    Dialog.c:196: error: 'WINDOW' undeclared (first use in this function)
    Dialog.c:196: error: 'win' undeclared (first use in this function)
    Dialog.c:199: error: 'stdscr' undeclared (first use in this function)
    Dialog.c:201: error: expected expression before ')' token
    Dialog.c: In function 'XS_Dialog_draw_box':
    Dialog.c:222: error: 'chtype' undeclared (first use in this function)
    Dialog.c:222: error: expected ';' before 'box'
    Dialog.c:223: error: expected ';' before 'border'
    Dialog.c:224: error: 'WINDOW' undeclared (first use in this function)
    Dialog.c:224: error: 'win' undeclared (first use in this function)
    Dialog.c:227: error: 'stdscr' undeclared (first use in this function)
    Dialog.c:229: error: expected expression before ')' token
    Dialog.xs:167: error: 'box' undeclared (first use in this function)
    Dialog.xs:167: error: 'border' undeclared (first use in this function)
    Dialog.c: In function 'XS_Dialog_line_edit':
    Dialog.c:250: error: 'WINDOW' undeclared (first use in this function)
    Dialog.c:250: error: 'win' undeclared (first use in this function)
    Dialog.c:258: error: 'stdscr' undeclared (first use in this function)
    Dialog.c:260: error: expected expression before ')' token
    Dialog.xs:180: error: 'MAX_LEN' undeclared (first use in this
    function)
    Dialog.xs:183: error: 'dialog_attr' undeclared (first use in this
    function)
    Dialog.c: In function 'XS_Dialog_stdscr':
    Dialog.c:284: error: 'WINDOW' undeclared (first use in this function)
    Dialog.c:284: error: 'RETVAL' undeclared (first use in this function)
    Dialog.xs:193: error: 'stdscr' undeclared (first use in this function)
    Dialog.c: In function 'XS_Dialog_attrset':
    Dialog.c:349: error: 'chtype' undeclared (first use in this function)
    Dialog.c:349: error: expected ';' before 'attr'
    Dialog.c:351: error: 'attr' undeclared (first use in this function)
    Dialog.xs: In function 'XS_Dialog_gotoyx':
    Dialog.xs:234: error: 'stdscr' undeclared (first use in this function)
    Dialog.xs: In function 'XS_Dialog_Menu':
    Dialog.xs:317: error: 'na' undeclared (first use in this function)
    Dialog.xs: In function 'XS_Dialog_CheckList':
    Dialog.xs:349: error: 'na' undeclared (first use in this function)
    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:414: error: 'MAX_LEN' undeclared (first use in this
    function)
    make: ** [Dialog.o] Erro 1
    /usr/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible

    best regards,

    Faria

    Faria Guest

  2. #2

    Default Re: Dialog

    "Faria" <com> writes:
     

    No, it's not a bug.
     

    Not so harmless. This module appears to be a "wrapper" for libdialog, which
    isn't present on your system. Also...
     

    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 functions
    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
    Sherm Guest

  3. #3

    Default Re: Dialog

    On 12 abr, 17:05, Sherm Pendley <org> wrote: 

    >
    > No, it's not a bug.

    >
    > Not so harmless. This module appears to be a "wrapper" for libdialog, which
    > isn't present on your system. Also...

    >
    > 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 functions
    > 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[/ref]

    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 = "pt_BR:pt:en",
    LC_ALL = (unset),
    LANG = "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=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] Error 1

    Best regards,

    Faria

    Faria Guest

Similar Threads

  1. Navigation without dialog ?
    By Jon Bessant in forum Adobe Acrobat Macintosh
    Replies: 0
    Last Post: July 13th, 07:31 PM
  2. Hyperlink Dialog
    By FhvnEd in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: February 25th, 07:48 PM
  3. progress dialog
    By wes in forum Mac Programming
    Replies: 1
    Last Post: September 16th, 04:04 AM
  4. File Dialog Box
    By Doua in forum Microsoft Access
    Replies: 1
    Last Post: July 16th, 08:36 PM
  5. Dialog Box
    By Stoney Bishop in forum Windows XP/2000/ME
    Replies: 5
    Last Post: July 11th, 03:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139