[
https://issues.apache.org/jira/browse/TS-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15468893#comment-15468893
]
Jason Kenny commented on TS-4152:
---------------------------------
Ignore previous comments. I did not process this correctly. This is about not
having ncurses installed and getting a build failure. I was under the
understanding that it was and it did not link.
I looked more into this and there seems to be a bug in AX_WITH_CURSES in which
it prints that warning but does not set ax_cv_curses to no ( it stays a yes
value)
I have a fix to address this, will update once pull request is done
> 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)