The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with Easyapache

Discussion in 'EasyApache' started by lvlind, Jun 16, 2010.

  1. lvlind

    lvlind Active Member

    Joined:
    Jun 7, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vinnica, Ukraine
    It is first installation of CPanel on the server, WHM/CPanel has been installed fine, but Can't start Easyapache, getting error:
    Can't locate Curses.pm in @INC (@INC contains: /scripts/../lib /var/cpanel/easy/apache/custom_opt_mods /usr/local/cpanel /var/cpanel/perl/easy /scripts /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.10.0/Curses/UI/Common.pm line 20.
    BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.0/Curses/UI/Common.pm line 20.
    Compilation failed in require at (eval 2572) line 3.
    ...propagated at /usr/share/perl/5.10/base.pm line 92.
    BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.0/Curses/UI.pm line 2.
    Compilation failed in require at /var/cpanel/perl/easy/Cpanel/Easy/Apache/UI/CLI/Config.pm line 5.
    BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Apache/UI/CLI/Config.pm line 5.
    Compilation failed in require at /var/cpanel/perl/easy/Cpanel/Easy/Apache/UI/CLI.pm line 404.


    Have tried to install Curses, getting

    cc -c -I/usr/include/ncurses -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.28\" -DXS_VERSION=\"1.28\" -fPIC "-I/usr/lib/perl/5.10/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>
    Curses.c:337: warning: cast to pointer from integer of different size
    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
    GIRAFFED/Curses-1.28.tgz
    /usr/bin/make OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Failed during this command:
    GIRAFFED/Curses-1.28.tgz : make NO

    Looking for some help, please
     
    #1 lvlind, Jun 16, 2010
    Last edited: Jun 16, 2010
  2. lvlind

    lvlind Active Member

    Joined:
    Jun 7, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vinnica, Ukraine
    Solution has been found

    There were no package "ncurses-dev", so I've installed it:
    apt-get install ncurses-dev
    And everything is working like a charm. :rolleyes:
     
Loading...

Share This Page