You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Jason Kenny (JIRA)" <ji...@apache.org> on 2016/08/17 17:31:20 UTC

[jira] [Commented] (TS-4152) Build failure when curses is not available

    [ https://issues.apache.org/jira/browse/TS-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15424976#comment-15424976 ] 

Jason Kenny commented on TS-4152:
---------------------------------

I think if you add 

CURSES_LIB="-ltermcap -lcursesw"\

to the configure call it will work



> Build failure when curses is not available
> ------------------------------------------
>
>                 Key: TS-4152
>                 URL: https://issues.apache.org/jira/browse/TS-4152
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: James Peach
>            Assignee: Jason Kenny
>              Labels: newbie
>             Fix For: 7.0.0
>
>
> On Centos6 w/ devtoolset-3:
> {code}
> checking for NcursesW wide-character library... yes
> checking for working ncursesw/curses.h... no
> checking for working ncursesw.h... no
> checking for working ncurses.h... no
> configure: WARNING: could not find a working ncursesw/curses.h, ncursesw.h or ncurses.h
> ...
> Making all in traffic_top
> make[2]: Entering directory `/home/vagrant/trafficserver-6.1.0/cmd/traffic_top'
>   CXX      traffic_top.o
> traffic_top.cc:51:2: error: #error "SysV or X/Open-compatible Curses header file required"
>  #error "SysV or X/Open-compatible Curses header file required"
> {code}
> The build is not supposed to try to build {{traffic_top}} if ncurses is not available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)