[
https://issues.apache.org/jira/browse/TS-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380808#comment-15380808
]
Leif Hedstrom edited comment on TS-4152 at 7/16/16 3:05 PM:
------------------------------------------------------------
Hmmm, how does this reproduce? If I build without ncurses-devel installed, I
simply don't get traffic_top.
Edit: Oh I see, the check is only for lib curl. AX_WITH_CURSES will set e.g.
HAVE_CURSES, but we'd have to add some check to configure.ac.
was (Author: zwoop):
Hmmm, how does this reproduce? If I build without ncurses-devel installed, I
simply don't get traffic_top.
> 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)