[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=15478845#comment-15478845 ] Susan Hinrichs commented on TS-4152: I had problems building on rhel6 after pulling in this change. traffic_cop wouldn't build because it didn't believe that I had ncursesw. Once I reverted this commit all was fine. I see that it built on jenkins, so I assume there are some other intermediate files I need to kill beyond the autoreconf and rerunning configure? Once I get done with my current branch, I'll create a new git clone and that hopefully clears things up. > 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 > > Time Spent: 3.5h > Remaining Estimate: 0h > > 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)
[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=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)
[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=15424990#comment-15424990 ] Jason Kenny commented on TS-4152: - I will need to get a centOS box to verify the same behavior as i get with RHEL 6. The issue as I see it was that the compiler did not add some default link flags. We had to add them manually > 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)
[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)
[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=15380808#comment-15380808 ] Leif Hedstrom commented on TS-4152: --- 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)