<?xml version="1.0" encoding="windows-1252"?>
<node id="768396" title="Re^2: Problem in installing Curses" created="2009-06-04 06:51:12" updated="2009-06-04 06:51:12">
<type id="11">
note</type>
<author id="711414">
nagalenoj</author>
<data>
<field name="doctext">
Dear monk,
&lt;p&gt;The error is as follows,&lt;/p&gt;

&lt;code&gt;
cpan&gt; force install Curses
Running install for module Curses
Running make for G/GI/GIRAFFED/Curses-1.27.tgz
Checksum for /home/nagalenoj/.cpan/sources/authors/id/G/GI/GIRAFFED/Curses-1.27.tgz ok
Curses-1.27/
Curses-1.27/gen.tar
Curses-1.27/ppport.h
Curses-1.27/MAINTENANCE
Curses-1.27/t/
Curses-1.27/t/00-load.t
Curses-1.27/HISTORY
Curses-1.27/INSTALL
Curses-1.27/Copying
Curses-1.27/testint.c
Curses-1.27/demo2
Curses-1.27/CursesBoot.c
Curses-1.27/README
Curses-1.27/testsym.c
Curses-1.27/testtyp.c
Curses-1.27/MANIFEST
Curses-1.27/Artistic
Curses-1.27/test.syms
Curses-1.27/CursesTyp.h
Curses-1.27/Curses.c
Curses-1.27/CursesCon.c
Curses-1.27/Curses.pm
Curses-1.27/CursesVar.c
Curses-1.27/Makefile.PL
Curses-1.27/CursesFun.c
Curses-1.27/cdemo.c
Curses-1.27/demo.form
Curses-1.27/list.syms
Curses-1.27/demo.menu
Curses-1.27/demo
Curses-1.27/demo.panel
Curses-1.27/gdc
Curses-1.27/hints/
Curses-1.27/hints/c-gnukfreebsd.h
Curses-1.27/hints/c-darwin.old.h
Curses-1.27/hints/c-freebsd.bsd.h
Curses-1.27/hints/c-netbsd.h
Curses-1.27/hints/c-sunos.ncurses.h
Curses-1.27/hints/c-vms.h
Curses-1.27/hints/c-os2.ncurses.h
Curses-1.27/hints/c-sco.h
Curses-1.27/hints/c-next.h
Curses-1.27/hints/c-sunos.sysv.h
Curses-1.27/hints/c-linux.ncurses.h
Curses-1.27/hints/c-cygwin.h
Curses-1.27/hints/c-openbsd.h
Curses-1.27/hints/c-isc.h
Curses-1.27/hints/c-dynixptx.h
Curses-1.27/hints/c-bsdos.h
Curses-1.27/hints/c-solaris.h
Curses-1.27/hints/c-irix.bsd.h
Curses-1.27/hints/c-hpux.h
Curses-1.27/hints/c-MSWin32.borland.h
Curses-1.27/hints/c-bsd386.h
Curses-1.27/hints/c-dgux.h
Curses-1.27/hints/c-irix.ncurses.h
Curses-1.27/hints/c-linux.bsd.h
Curses-1.27/hints/c-aix.h
Curses-1.27/hints/c-freebsd.ncurses.h
Curses-1.27/hints/c-none.h
Curses-1.27/hints/c-darwin.h
Curses-1.27/hints/c-svr4.h
Curses-1.27/hints/c-dec_osf.h
Curses-1.27/hints/c-sunos.bsd.h
Curses-1.27/hints/c-MSWin32.visualc.h
Removing previously used /home/nagalenoj/.cpan/build/Curses-1.27

  CPAN.pm: Going to build G/GI/GIRAFFED/Curses-1.27.tgz

GEN    function:  not applicable
PANELS functions: not enabled
MENUS  functions: not enabled
FORMS  functions: not enabled

Making a guess for -I and -L/-l options...
Guesses:
  includes:    '-I/usr/include/ncurses'
  libs:        '-lncurses'
  Curses type: ncurses
Making a guess for "c-config.h"...
Choosing hints file 'hints/c-linux.ncurses.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
Checking capabilities of the Ncurses libraries.
Set CURSES_VERBOSE environment variable to see the details of the tests.

Doing test compiles with the compile command 'cc -DSYM="_C_SYM_" -I/usr/include/ncurses -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 -o _C_FILE_ _C_FILE_.c  -L/usr/local/lib -lncurses&gt;/dev/null 2&gt;&amp;1'
function 'waddch' NOT found
function 'wechochar' NOT found
function 'waddchstr' NOT found
function 'waddchnstr' NOT found
function 'waddstr' NOT found
function 'waddnstr' NOT found
function 'wattroff' NOT found

--
-A big list is displayed as NOT found
--

typedef 'MEVENT' NOT found
typedef 'mmask_t' NOT found
typedef 'SCREEN' NOT found
cc -c  -I/usr/include/ncurses -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=\"1.27\" -DXS_VERSION=\"1.27\" -fPIC "-I/usr/lib/perl/5.8/CORE"   Curses.c
In file included from Curses.c:11:
c-config.h:7:21: error: ncurses.h: No such file or directory
Curses.c: In function 'c_domove':
Curses.c:120: error: expected declaration specifiers before 'WINDOW'
Curses.c: In function 'c_chtype2sv':
Curses.c:171: error: 'ERR' undeclared (first use in this function)
Curses.c:171: error: (Each undeclared identifier is reported only once
Curses.c:171: error: for each function it appears in.)
Curses.c: At top level:
Curses.c:316: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
Curses.c:320: error: expected identifier or '(' before '{' token
Curses.c: In function 'c_window2sv':
Curses.c:335: error: expected declaration specifiers before 'WINDOW'
In file included from Curses.c:390:
CursesFun.c: In function 'XS_Curses_longname':
CursesFun.c:3139: warning: initialization makes pointer from integer without a cast
CursesFun.c: In function 'XS_Curses_touchline':
CursesFun.c:3240: error: 'WINDOW' undeclared (first use in this function)
CursesFun.c:3240: error: 'win' undeclared (first use in this function)
CursesFun.c:3240: error: 'stdscr' undeclared (first use in this function)
CursesFun.c:3241: error: 'OK' undeclared (first use in this function)
CursesFun.c:3244: error: 'ERR' undeclared (first use in this function)
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
&lt;/code&gt;</field>
<field name="root_node">
768385</field>
<field name="parent_node">
768395</field>
</data>
</node>
