Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Dear monk,

The error is as follows,

cpan> 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/Cu +rses-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-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/ 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 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 blib/lib/ /usr/bin/perl test.syms Checking capabilities of the Ncurses libraries. Set CURSES_VERBOSE environment variable to see the details of the test +s. Doing test compiles with the compile command 'cc -DSYM="_C_SYM_" -I/us +r/include/ncurses -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDE +BIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOU +RCE -D_FILE_OFFSET_BITS=64 -o _C_FILE_ _C_FILE_.c -L/usr/local/lib - +lncurses>/dev/null 2>&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_HAV +E_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LA +RGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.27\" -DXS_V +ERSION=\"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 w +ithout a cast CursesFun.c: In function 'XS_Curses_touchline': CursesFun.c:3240: error: 'WINDOW' undeclared (first use in this functi +on) CursesFun.c:3240: error: 'win' undeclared (first use in this function) CursesFun.c:3240: error: 'stdscr' undeclared (first use in this functi +on) 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

In reply to Re^2: Problem in installing Curses by nagalenoj
in thread Problem in installing Curses by nagalenoj

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (6)
    As of 2018-02-22 21:32 GMT
    Find Nodes?
      Voting Booth?
      When it is dark outside I am happiest to see ...

      Results (299 votes). Check out past polls.