Home > Archive > PERL Modules > March 2006 > curses module installation failed
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 |
curses module installation failed
|
|
| Florian Wolf 2006-03-16, 6:56 pm |
| 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
| |
| Kalle Olavi Niemitalo 2006-03-16, 6:56 pm |
| "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.
| |
| Florian Wolf 2006-03-17, 7:55 am |
| 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
|
|
|
|
|