When ever I try and install Curses
Perl -MCPAN -e "install Cures" its fails. I can't seem to figure out why.
This is on a brand new install of fedora core 1.
Here is the output Long....
---------------
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 11 Mar 2004 22:50:06 GMT
Running install for module Curses
Running make for W/WP/WPS/Curses-1.06.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/W/WP/WPS/Curses-1.06.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Curses-1.06/
Curses-1.06/hints/
Curses-1.06/hints/c-MSWin32.visualc.h
Curses-1.06/hints/c-sunos.bsd.h
Curses-1.06/hints/c-dec_osf.h
Curses-1.06/hints/c-svr4.h
Curses-1.06/hints/c-darwin.h
Curses-1.06/hints/c-none.h
Curses-1.06/hints/c-freebsd.ncurses.h
Curses-1.06/hints/c-aix.h
Curses-1.06/hints/c-linux.bsd.h
Curses-1.06/hints/c-irix.ncurses.h
Curses-1.06/hints/c-dgux.h
Curses-1.06/hints/c-bsd386.h
Curses-1.06/hints/c-MSWin32.borland.h
Curses-1.06/hints/c-hpux.h
Curses-1.06/hints/c-irix.bsd.h
Curses-1.06/hints/c-solaris.h
Curses-1.06/hints/c-bsdos.h
Curses-1.06/hints/c-dynixptx.h
Curses-1.06/hints/c-isc.h
Curses-1.06/hints/c-openbsd.h
Curses-1.06/hints/c-cygwin.h
Curses-1.06/hints/c-linux.ncurses.h
Curses-1.06/hints/c-sunos.sysv.h
Curses-1.06/hints/c-next.h
Curses-1.06/hints/c-sco.h
Curses-1.06/hints/c-os2.ncurses.h
Curses-1.06/hints/c-vms.h
Curses-1.06/hints/c-sunos.ncurses.h
Curses-1.06/hints/c-netbsd.h
Curses-1.06/hints/c-freebsd.bsd.h
Curses-1.06/gdc
Curses-1.06/demo.panel
Curses-1.06/gen/
Curses-1.06/gen/make.list.syms
Curses-1.06/gen/make.CursesBoot.c
Curses-1.06/gen/make.CursesFun.c
Curses-1.06/gen/make.Curses.pm
Curses-1.06/gen/make.CursesVar.c
Curses-1.06/gen/list.typ
Curses-1.06/gen/make.CursesCon.c
Curses-1.06/gen/list.fun
Curses-1.06/gen/increase-version
Curses-1.06/gen/make.CursesTyp.h
Curses-1.06/gen/list.con
Curses-1.06/gen/list.var
Curses-1.06/gen/README
Curses-1.06/gen/Gen.pm
Curses-1.06/demo
Curses-1.06/demo.menu
Curses-1.06/list.syms
Curses-1.06/demo.form
Curses-1.06/cdemo.c
Curses-1.06/CursesFun.c
Curses-1.06/Makefile.PL
Curses-1.06/CursesVar.c
Curses-1.06/Curses.pm
Curses-1.06/CursesCon.c
Curses-1.06/Curses.c
Curses-1.06/CursesTyp.h
Curses-1.06/test.syms
Curses-1.06/Artistic
Curses-1.06/MANIFEST
Curses-1.06/testtyp.c
Curses-1.06/testsym.c
Curses-1.06/README
Curses-1.06/CursesBoot.c
Curses-1.06/demo2
Curses-1.06/testint.c
Curses-1.06/Copying
Curses-1.06/INSTALL
Removing previously used /root/.cpan/build/Curses-1.06
CPAN.pm: Going to build W/WP/WPS/Curses-1.06.tar.gz
GEN support: not applicable
PANELS support: not enabled
MENUS support: not enabled
FORMS support: not enabled
Making a guess for $inc and/or $libs...
Making a guess for "c-config.h"...
Checking if your kit is complete...
Looks good
Writing Makefile for Curses
cp Curses.pm blib/lib/Curses.pm
/usr/bin/perl test.syms
function 'waddch' found
function 'wechochar' found
function 'waddchstr' found
function 'waddchnstr' found
function 'waddstr' found
function 'waddnstr' found
function 'wattroff' found
function 'wattron' found
function 'wattrset' found
function 'wstandend' found
function 'wstandout' found
function 'wattr_get' found
function 'wattr_off' found
function 'wattr_on' found
function 'wattr_set' found
function 'wchgat' found
function 'COLOR_PAIR' found
function 'PAIR_NUMBER' found
function 'beep' found
function 'flash' found
function 'wbkgd' found
function 'wbkgdset' found
function 'getbkgd' found
function 'wborder' found
function 'box' found
function 'whline' found
function 'wvline' found
function 'werase' found
function 'wclear' found
function 'wclrtobot' found
function 'wclrtoeol' found
function 'start_color' found
function 'init_pair' found
function 'init_color' found
function 'has_colors' found
function 'can_change_color' found
function 'color_content' found
function 'pair_content' found
function 'wdelch' found
function 'wdeleteln' found
function 'winsdelln' found
function 'winsertln' found
function 'wgetch' found
function 'ungetch' found
function 'has_key' found
function 'KEY_F' found
function 'wgetstr' found
function 'wgetnstr' found
function 'getyx' found
function 'getparyx' found
function 'getbegyx' found
function 'getmaxyx' found
function 'winch' found
function 'winchstr' found
function 'winchnstr' found
function 'initscr' found
function 'endwin' found
function 'isendwin' found
function 'newterm' found
function 'set_term' found
function 'delscreen' found
function 'cbreak' found
function 'cbreak' returns int
function 'nocbreak' found
function 'nocbreak' returns int
function 'echo' found
function 'echo' returns int
function 'noecho' found
function 'noecho' returns int
function 'halfdelay' found
function 'intrflush' found
function 'keypad' found
function 'meta' found
function 'nodelay' found
function 'notimeout' found
function 'raw' found
function 'raw' returns int
function 'noraw' found
function 'noraw' returns int
function 'qiflush' found
function 'noqiflush' found
function 'wtimeout' found
function 'typeahead' found
function 'winsch' found
function 'winsstr' found
function 'winsnstr' found
function 'winstr' found
function 'winnstr' found
function 'def_prog_mode' found
function 'def_shell_mode' found
function 'reset_prog_mode' found
function 'reset_shell_mode' found
function 'resetty' found
function 'savetty' found
function 'getsyx' found
function 'getsyx' returns void
function 'setsyx' found
function 'setsyx' returns void
function 'curs_set' found
function 'napms' found
function 'wmove' found
function 'clearok' found
function 'idlok' found
function 'idlok' returns int
function 'idcok' found
function 'immedok' found
function 'leaveok' found
function 'wsetscrreg' found
function 'scrollok' found
function 'nl' found
function 'nl' returns int
function 'nonl' found
function 'nonl' returns int
function 'overlay' found
function 'overwrite' found
function 'copywin' found
function 'newpad' found
function 'subpad' found
function 'prefresh' found
function 'pnoutrefresh' found
function 'pechochar' found
function 'wrefresh' found
function 'wnoutrefresh' found
function 'doupdate' found
function 'redrawwin' found
function 'wredrawln' found
function 'scr_dump' found
function 'scr_restore' found
function 'scr_init' found
function 'scr_set' found
function 'scroll' found
function 'wscrl' found
function 'slk_init' found
function 'slk_set' found
function 'slk_refresh' found
function 'slk_noutrefresh' found
function 'slk_label' found
function 'slk_clear' found
function 'slk_restore' found
function 'slk_touch' found
function 'slk_attron' found
function 'slk_attrset' found
function 'slk_attr' found
function 'slk_attroff' found
function 'slk_color' found
function 'baudrate' found
function 'erasechar' found
function 'has_ic' found
function 'has_il' found
function 'killchar' found
function 'termattrs' found
function 'termname' found
function 'touchwin' found
function 'untouchwin' found
function 'wtouchln' found
function 'is_linetouched' found
function 'is_wintouched' found
function 'unctrl' found
function 'keyname' found
function 'filter' found
function 'filter' returns void
function 'use_env' found
function 'putwin' found
function 'getwin' found
function 'delay_output' found
function 'flushinp' found
function 'newwin' found
function 'delwin' found
function 'mvwin' found
function 'subwin' found
function 'derwin' found
function 'mvderwin' found
function 'dupwin' found
function 'wsyncup' found
function 'syncok' found
function 'wcursyncup' found
function 'wsyncdown' found
function 'getmouse' found
function 'ungetmouse' found
function 'mousemask' found
function 'wenclose' found
function 'wmouse_trafo' found
function 'mouseinterval' found
function 'BUTTON_RELEASE' found
function 'BUTTON_PRESS' found
function 'BUTTON_CLICK' found
function 'BUTTON_DOUBLE_CLICK' found
function 'BUTTON_TRIPLE_CLICK' found
function 'BUTTON_RESERVED_EVENT' found
function 'use_default_colors' found
function 'assume_default_colors' found
function 'define_key' found
function 'keybound' found
function 'keyok' found
function 'resizeterm' found
function 'wresize' found
function 'getmaxy' found
function 'getmaxx' found
function 'flusok' NOT found
function 'getcap' NOT found
function 'touchoverlap' NOT found
function 'new_panel' NOT found
function 'bottom_panel' NOT found
function 'top_panel' NOT found
function 'show_panel' NOT found
function 'update_panels' NOT found
function 'hide_panel' NOT found
function 'panel_window' NOT found
function 'replace_panel' NOT found
function 'move_panel' NOT found
function 'panel_hidden' NOT found
function 'panel_above' NOT found
function 'panel_below' NOT found
function 'set_panel_userptr' NOT found
function 'panel_userptr' NOT found
function 'del_panel' NOT found
function 'set_menu_fore' NOT found
function 'menu_fore' NOT found
function 'set_menu_back' NOT found
function 'menu_back' NOT found
function 'set_menu_grey' NOT found
function 'menu_grey' NOT found
function 'set_menu_pad' NOT found
function 'menu_pad' NOT found
function 'pos_menu_cursor' NOT found
function 'menu_driver' NOT found
function 'set_menu_format' NOT found
function 'menu_format' NOT found
function 'set_menu_items' NOT found
function 'menu_items' NOT found
function 'item_count' NOT found
function 'set_menu_mark' NOT found
function 'menu_mark' NOT found
function 'new_menu' NOT found
function 'free_menu' NOT found
function 'menu_opts' NOT found
function 'set_menu_opts' NOT found
function 'menu_opts_on' NOT found
function 'menu_opts_off' NOT found
function 'set_menu_pattern' NOT found
function 'menu_pattern' NOT found
function 'post_menu' NOT found
function 'unpost_menu' NOT found
function 'set_menu_userptr' NOT found
function 'menu_userptr' NOT found
function 'set_menu_win' NOT found
function 'menu_win' NOT found
function 'set_menu_sub' NOT found
function 'menu_sub' NOT found
function 'scale_menu' NOT found
function 'set_current_item' NOT found
function 'current_item' NOT found
function 'set_top_row' NOT found
function 'top_row' NOT found
function 'item_index' NOT found
function 'item_name' NOT found
function 'item_description' NOT found
function 'new_item' NOT found
function 'free_item' NOT found
function 'set_item_opts' NOT found
function 'item_opts_on' NOT found
function 'item_opts_off' NOT found
function 'item_opts' NOT found
function 'item_userptr' NOT found
function 'set_item_userptr' NOT found
function 'set_item_value' NOT found
function 'item_value' NOT found
function 'item_visible' NOT found
function 'menu_request_name' NOT found
function 'menu_request_by_name' NOT found
function 'set_menu_spacing' NOT found
function 'menu_spacing' NOT found
function 'pos_form_cursor' NOT found
function 'data_ahead' NOT found
function 'data_behind' NOT found
function 'form_driver' NOT found
function 'set_form_fields' NOT found
function 'form_fields' NOT found
function 'field_count' NOT found
function 'move_field' NOT found
function 'new_form' NOT found
function 'free_form' NOT found
function 'set_new_page' NOT found
function 'new_page' NOT found
function 'set_form_opts' NOT found
function 'form_opts_on' NOT found
function 'form_opts_off' NOT found
function 'form_opts' NOT found
function 'set_current_field' NOT found
function 'current_field' NOT found
function 'set_form_page' NOT found
function 'form_page' NOT found
function 'field_index' NOT found
function 'post_form' NOT found
function 'unpost_form' NOT found
function 'set_form_userptr' NOT found
function 'form_userptr' NOT found
function 'set_form_win' NOT found
function 'form_win' NOT found
function 'set_form_sub' NOT found
function 'form_sub' NOT found
function 'scale_form' NOT found
function 'set_field_fore' NOT found
function 'field_fore' NOT found
function 'set_field_back' NOT found
function 'field_back' NOT found
function 'set_field_pad' NOT found
function 'field_pad' NOT found
function 'set_field_buffer' NOT found
function 'field_buffer' NOT found
function 'set_field_status' NOT found
function 'field_status' NOT found
function 'set_max_field' NOT found
function 'field_info' NOT found
function 'dynamic_field_info' NOT found
function 'set_field_just' NOT found
function 'field_just' NOT found
function 'new_field' NOT found
function 'dup_field' NOT found
function 'link_field' NOT found
function 'free_field' NOT found
function 'set_field_opts' NOT found
function 'field_opts_on' NOT found
function 'field_opts_off' NOT found
function 'field_opts' NOT found
function 'set_field_userptr' NOT found
function 'field_userptr' NOT found
function 'field_arg' NOT found
function 'form_request_name' NOT found
function 'form_request_by_name' NOT found
variable 'LINES' found
variable 'COLS' found
variable 'stdscr' found
variable 'curscr' found
variable 'COLORS' found
variable 'COLOR_PAIRS' found
typedef 'attr_t' found
typedef 'bool' found
typedef 'chtype' found
typedef 'MEVENT' found
typedef 'mmask_t' found
typedef 'SCREEN' found
gcc -c -I/usr/include/ncurses -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe
-march=i386 -mcpu=i686 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC
"-I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE" Curses.c
In file included from
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/perl.h:1805,
from Curses.c:14:
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/handy.h:85:1: warning:
"bool" redefined
In file included from c-config.h:9,
from Curses.c:11:
/usr/include/ncurses/curses.h:137:1: warning: this is the location of the
previous definition
Curses.c: In function `c_sv2window':
Curses.c:275: warning: passing arg 1 of `Perl_sv_isa' from incompatible
pointer type
Curses.c:275: warning: passing arg 2 of `Perl_sv_isa' from incompatible
pointer type
Curses.c:275: error: too few arguments to function `Perl_sv_isa'
In file included from Curses.c:344:
CursesFun.c: In function `XS_Curses_newterm':
CursesFun.c:1279: warning: initialization from incompatible pointer type
CursesFun.c:1280: warning: initialization from incompatible pointer type
CursesFun.c: In function `XS_Curses_putwin':
CursesFun.c:3453: warning: initialization from incompatible pointer type
CursesFun.c: In function `XS_Curses_getwin':
CursesFun.c:3472: warning: initialization from incompatible pointer type
make: *** [Curses.o] Error 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
Paul Kraus
-----------------------
PEL Supply Company
Network Administrator
-----------------------
800 321-1264 Toll Free
216 267-5775 Voice
216 267-6176 Fax
www.pelsupply.com
-----------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>