curses module installation failed

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default curses module installation failed

    Hi,

    I am trying to install the curses module for perl 5.8.7 on hp-ux 11.23 ia64.
    Unfortunately I get a lot of errors during the make progress. Here's an
    extract of 'make':


    .....
    typedef 'chtype' NOT found
    typedef 'MEVENT' NOT found
    typedef 'mmask_t' NOT found
    typedef 'SCREEN' NOT found
    cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
    +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -fast +DSitanium2
    Ofltacc=strict -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" +Z
    "-I/opt/perl_32/lib/5.8.7/IA64.ARCHREV_0-thread-multi/CORE" Curses.c
    (Bundled) cc: warning 922: "-Ae" is unsupported in the bundled compiler,
    ignored.
    (Bundled) cc: warning 922: "-fast" is unsupported in the bundled compiler,
    ignored.
    (Bundled) cc: warning 922: "+Ofltacc=strict" is unsupported in the bundled
    compiler, ignored.
    Error 419: "c-config.h", line 7 # 'include' is used as a type, but has not
    been defined as a type.
    include <curses.h>
    ^^^^^^^
    Error 172: "c-config.h", line 7 # Undeclared variable 'curses'.
    include <curses.h>
    ^^^^^^
    Error 308: "c-config.h", line 7 # Templates not allowed in ANSI C.
    include <curses.h>
    ^^^^^^^^^^
    Error 318: "c-config.h", line 7 # A template name was expected instead of
    '<type inserted by
    compiler>'. Did you forget to define the template?
    include <curses.h>
    ^^^^^^^^^^
    Error 20: "c-config.h", line 9 # ';' expected before 'C_PANELSUPPORT'.
    ifdef C_PANELSUPPORT
    ^^^^^^^^^^^^^^
    Error 20: "c-config.h", line 10 # '(' expected before 'include'.
    include <panel.h>
    ^^^^^^^
    Error 585: "c-config.h", line 13 # Expected an operator before 'ifdef'.
    ifdef C_MENUSUPPORT
    ^^^^^
    Error 24: "c-config.h", line 13 # '(' expected instead of 'C_MENUSUPPORT'.
    ifdef C_MENUSUPPORT
    ^^^^^^^^^^^^^
    Error 585: "c-config.h", line 17 # Expected an operator before 'ifdef'.
    ifdef C_FORMSUPPORT
    ^^^^^
    Error 24: "c-config.h", line 17 # '(' expected instead of 'C_FORMSUPPORT'.
    ifdef C_FORMSUPPORT
    ^^^^^^^^^^^^^
    Error 585: "c-config.h", line 21 # Expected an operator before 'define'.
    define C_LONGNAME
    ^^^^^^
    Error 585: "c-config.h", line 21 # Expected an operator before 'C_LONGNAME'.
    define C_LONGNAME
    ^^^^^^^^^^
    Error 699: "c-config.h", line 21 # Error limit reached; halting compilation.
    define C_LONGNAME
    ^^^^^^^^^^
    *** Error exit code 2


    I don't know where's the problem?! Please can you help me.

    Another idea I have is to install an 'complete' version of perl, which
    includes the most recently modules for programming an user interface. Is
    there an depot file for hp-ux 11.23 ia64 available? And where can I download
    this file? Any other ideas to solve this issue?

    Thank you very much...


    Best Regards,
    Florian Wolf


    Florian Wolf Guest

  2. Similar Questions and Discussions

    1. Installation worked then failed
      I have had problems with playing any video content at all on my computer lately. A message pops up saying that my security settings prohibit the...
    2. Flash 9 Installation failed
      This may be long but support from Adobe has been non-existent. I tried to upgrade my Flash version 7 to version 9. I got the prompt to install...
    3. Installation Failed?
      I installed straight up for the Developer installation and chose the Standard Built In Cold Fusion Web Server as directed. Nothing starts. When I...
    4. export module failed
      hi all, im trying to export a model from 3d studio max 6. I know my plugin works because i can create a few primitives and export them fine. ...
    5. #26358 [Opn]: Sablotron Module failed
      ID: 26358 User updated by: v_santhanam at amrita dot edu Reported By: v_santhanam at amrita dot edu Status: Open...
  3. #2

    Default Re: curses module installation failed

    "Florian Wolf" <florian.wolf@hirschvogel.de> writes:
    > Error 419: "c-config.h", line 7 # 'include' is used as a type, but has not
    > been defined as a type.
    > include <curses.h>
    > ^^^^^^^
    Do you know C? This error looks as if the # character were
    missing from the beginning of line 7 in c-config.h. Please show
    the contents of that file.
    Kalle Olavi Niemitalo Guest

  4. #3

    Default Re: curses module installation failed

    Here are the contents of c-config.h:

    /* Hint file for the HP-UX platform.
    *
    * If this configuration doesn't work, look at the file "c-none.h"
    * for how to set the configuration options.
    */

    #include <curses.h>

    #ifdef C_PANELSUPPORT
    #include <panel.h>
    #endif

    #ifdef C_MENUSUPPORT
    #include <menu.h>
    #endif

    #ifdef C_FORMSUPPORT
    #include <form.h>
    #endif

    #define C_LONGNAME
    #define C_LONG0ARGS
    #undef C_LONG2ARGS

    #define C_TOUCHLINE
    #define C_TOUCH3ARGS
    #undef C_TOUCH4ARGS


    Best Regards,
    Florian Wolf


    Florian Wolf Guest

Posting Permissions

  • You may not post new threads
  • You may 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