[jira] [Commented] (TS-1782) CENTOS 5.8 x64 autoreconf fail
[ https://issues.apache.org/jira/browse/TS-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616091#comment-13616091 ] Leif Hedstrom commented on TS-1782: --- Ah yeah, on a fresh git repo, you have to run "autoreconf -i", as per the build instructions (see INSTALL). > CENTOS 5.8 x64 autoreconf fail > --- > > Key: TS-1782 > URL: https://issues.apache.org/jira/browse/TS-1782 > Project: Traffic Server > Issue Type: Bug > Components: Build >Reporter: helaku >Assignee: James Peach > Fix For: 3.3.2 > > > {code} > [root@nbs35 trafficserver]# autoconf -i > configure.ac:43: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:50: error: possibly undefined macro: AC_DISABLE_STATIC > configure.ac:75: error: possibly undefined macro: dnl > configure.ac:154: error: possibly undefined macro: AC_MSG_RESULT > configure.ac:198: error: possibly undefined macro: AM_CONDITIONAL > configure.ac:516: error: possibly undefined macro: AC_MSG_NOTICE > configure.ac:548: error: possibly undefined macro: AM_PROG_AS > configure.ac:552: error: possibly undefined macro: AC_PROG_LIBTOOL > [root@nbs35 trafficserver]# cat /etc/redhat-release > CentOS release 5.8 (Final) > 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 > GNU/Linux > [root@nbs35 trafficserver]# git show > commit 4e53792f2740de507b6fd51f0d34f6bf4f780852 > Author: Igor Gali[7m<87> > Date: Wed Mar 27 00:47:21 2013 +0100 > TS-1781: Make clang happy and esi compile > diff --git a/plugins/experimental/esi/lib/EsiProcessor.cc > b/plugins/experimental/esi/lib/EsiProcessor.cc > index ed4868b..96a647e 100644 > --- a/plugins/experimental/esi/lib/EsiProcessor.cc > +++ b/plugins/experimental/esi/lib/EsiProcessor.cc > @@ -422,7 +422,7 @@ EsiProcessor::flush(string &data, int &overall_len) { >const Attribute &url = (*node_iter).attr_list.front(); > >string raw_url(url.value, url.value_len); >attemptUrls.push_back(_expression.expand(raw_url)); > -if (!_getIncludeStatus(*node_iter) == STATUS_ERROR) { > +if (_getIncludeStatus(*node_iter) != STATUS_DATA_AVAILABLE) { >attempt_succeeded = false; >_errorLog("[%s] attempt section errored; due to url [%s]", > __FUNCTION__, raw_url.c_str()); >break; > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-1782) CENTOS 5.8 x64 autoreconf fail
[ https://issues.apache.org/jira/browse/TS-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616089#comment-13616089 ] Leif Hedstrom commented on TS-1782: --- I booted up my CentOS5 VM, and I can not reproduce this at all. > CENTOS 5.8 x64 autoreconf fail > --- > > Key: TS-1782 > URL: https://issues.apache.org/jira/browse/TS-1782 > Project: Traffic Server > Issue Type: Bug > Components: Build >Reporter: helaku >Assignee: James Peach > Fix For: 3.3.2 > > > {code} > [root@nbs35 trafficserver]# autoconf -i > configure.ac:43: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:50: error: possibly undefined macro: AC_DISABLE_STATIC > configure.ac:75: error: possibly undefined macro: dnl > configure.ac:154: error: possibly undefined macro: AC_MSG_RESULT > configure.ac:198: error: possibly undefined macro: AM_CONDITIONAL > configure.ac:516: error: possibly undefined macro: AC_MSG_NOTICE > configure.ac:548: error: possibly undefined macro: AM_PROG_AS > configure.ac:552: error: possibly undefined macro: AC_PROG_LIBTOOL > [root@nbs35 trafficserver]# cat /etc/redhat-release > CentOS release 5.8 (Final) > 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 > GNU/Linux > [root@nbs35 trafficserver]# git show > commit 4e53792f2740de507b6fd51f0d34f6bf4f780852 > Author: Igor Gali[7m<87> > Date: Wed Mar 27 00:47:21 2013 +0100 > TS-1781: Make clang happy and esi compile > diff --git a/plugins/experimental/esi/lib/EsiProcessor.cc > b/plugins/experimental/esi/lib/EsiProcessor.cc > index ed4868b..96a647e 100644 > --- a/plugins/experimental/esi/lib/EsiProcessor.cc > +++ b/plugins/experimental/esi/lib/EsiProcessor.cc > @@ -422,7 +422,7 @@ EsiProcessor::flush(string &data, int &overall_len) { >const Attribute &url = (*node_iter).attr_list.front(); > >string raw_url(url.value, url.value_len); >attemptUrls.push_back(_expression.expand(raw_url)); > -if (!_getIncludeStatus(*node_iter) == STATUS_ERROR) { > +if (_getIncludeStatus(*node_iter) != STATUS_DATA_AVAILABLE) { >attempt_succeeded = false; >_errorLog("[%s] attempt section errored; due to url [%s]", > __FUNCTION__, raw_url.c_str()); >break; > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-1782) CENTOS 5.8 x64 autoreconf fail
[ https://issues.apache.org/jira/browse/TS-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616088#comment-13616088 ] helaku commented on TS-1782: Thank's {code}autoreconf -if {code} is ok > CENTOS 5.8 x64 autoreconf fail > --- > > Key: TS-1782 > URL: https://issues.apache.org/jira/browse/TS-1782 > Project: Traffic Server > Issue Type: Bug > Components: Build >Reporter: helaku >Assignee: James Peach > Fix For: 3.3.2 > > > {code} > [root@nbs35 trafficserver]# autoconf -i > configure.ac:43: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:50: error: possibly undefined macro: AC_DISABLE_STATIC > configure.ac:75: error: possibly undefined macro: dnl > configure.ac:154: error: possibly undefined macro: AC_MSG_RESULT > configure.ac:198: error: possibly undefined macro: AM_CONDITIONAL > configure.ac:516: error: possibly undefined macro: AC_MSG_NOTICE > configure.ac:548: error: possibly undefined macro: AM_PROG_AS > configure.ac:552: error: possibly undefined macro: AC_PROG_LIBTOOL > [root@nbs35 trafficserver]# cat /etc/redhat-release > CentOS release 5.8 (Final) > 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 > GNU/Linux > [root@nbs35 trafficserver]# git show > commit 4e53792f2740de507b6fd51f0d34f6bf4f780852 > Author: Igor Gali[7m<87> > Date: Wed Mar 27 00:47:21 2013 +0100 > TS-1781: Make clang happy and esi compile > diff --git a/plugins/experimental/esi/lib/EsiProcessor.cc > b/plugins/experimental/esi/lib/EsiProcessor.cc > index ed4868b..96a647e 100644 > --- a/plugins/experimental/esi/lib/EsiProcessor.cc > +++ b/plugins/experimental/esi/lib/EsiProcessor.cc > @@ -422,7 +422,7 @@ EsiProcessor::flush(string &data, int &overall_len) { >const Attribute &url = (*node_iter).attr_list.front(); > >string raw_url(url.value, url.value_len); >attemptUrls.push_back(_expression.expand(raw_url)); > -if (!_getIncludeStatus(*node_iter) == STATUS_ERROR) { > +if (_getIncludeStatus(*node_iter) != STATUS_DATA_AVAILABLE) { >attempt_succeeded = false; >_errorLog("[%s] attempt section errored; due to url [%s]", > __FUNCTION__, raw_url.c_str()); >break; > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-1782) CENTOS 5.8 x64 autoreconf fail
[ https://issues.apache.org/jira/browse/TS-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616086#comment-13616086 ] Leif Hedstrom commented on TS-1782: --- can you try {code} autoreconf -if {code} > CENTOS 5.8 x64 autoreconf fail > --- > > Key: TS-1782 > URL: https://issues.apache.org/jira/browse/TS-1782 > Project: Traffic Server > Issue Type: Bug > Components: Build >Reporter: helaku >Assignee: James Peach > Fix For: 3.3.2 > > > {code} > [root@nbs35 trafficserver]# autoconf -i > configure.ac:43: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:50: error: possibly undefined macro: AC_DISABLE_STATIC > configure.ac:75: error: possibly undefined macro: dnl > configure.ac:154: error: possibly undefined macro: AC_MSG_RESULT > configure.ac:198: error: possibly undefined macro: AM_CONDITIONAL > configure.ac:516: error: possibly undefined macro: AC_MSG_NOTICE > configure.ac:548: error: possibly undefined macro: AM_PROG_AS > configure.ac:552: error: possibly undefined macro: AC_PROG_LIBTOOL > [root@nbs35 trafficserver]# cat /etc/redhat-release > CentOS release 5.8 (Final) > 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 > GNU/Linux > [root@nbs35 trafficserver]# git show > commit 4e53792f2740de507b6fd51f0d34f6bf4f780852 > Author: Igor Gali[7m<87> > Date: Wed Mar 27 00:47:21 2013 +0100 > TS-1781: Make clang happy and esi compile > diff --git a/plugins/experimental/esi/lib/EsiProcessor.cc > b/plugins/experimental/esi/lib/EsiProcessor.cc > index ed4868b..96a647e 100644 > --- a/plugins/experimental/esi/lib/EsiProcessor.cc > +++ b/plugins/experimental/esi/lib/EsiProcessor.cc > @@ -422,7 +422,7 @@ EsiProcessor::flush(string &data, int &overall_len) { >const Attribute &url = (*node_iter).attr_list.front(); > >string raw_url(url.value, url.value_len); >attemptUrls.push_back(_expression.expand(raw_url)); > -if (!_getIncludeStatus(*node_iter) == STATUS_ERROR) { > +if (_getIncludeStatus(*node_iter) != STATUS_DATA_AVAILABLE) { >attempt_succeeded = false; >_errorLog("[%s] attempt section errored; due to url [%s]", > __FUNCTION__, raw_url.c_str()); >break; > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-1782) CENTOS 5.8 x64 autoreconf fail
[ https://issues.apache.org/jira/browse/TS-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616079#comment-13616079 ] helaku commented on TS-1782: {code} [root@nbs35 ~]# for i in make automake libtool pkgconfig gcc-c++ openssl-devel tcl-devel expat-devel pcre-devel libcap libcap-devel; do rpm -q $i; done make-3.81-3.el5 automake-1.9.6-2.3.el5 libtool-1.5.22-7.el5_4 pkgconfig-0.21-2.el5 gcc-c++-4.1.2-52.el5_8.1 openssl-devel-0.9.8e-22.el5_8.4 openssl-devel-0.9.8e-22.el5_8.4 tcl-devel-8.4.13-4.el5 tcl-devel-8.4.13-4.el5 expat-devel-1.95.8-11.el5_8 expat-devel-1.95.8-11.el5_8 pcre-devel-6.6-6.el5_6.1 pcre-devel-6.6-6.el5_6.1 libcap-1.10-26 libcap-1.10-26 libcap-devel-1.10-26 libcap-devel-1.10-26 {code} > CENTOS 5.8 x64 autoreconf fail > --- > > Key: TS-1782 > URL: https://issues.apache.org/jira/browse/TS-1782 > Project: Traffic Server > Issue Type: Bug > Components: Build >Reporter: helaku >Assignee: James Peach > Fix For: 3.3.2 > > > {code} > [root@nbs35 trafficserver]# autoconf -i > configure.ac:43: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:50: error: possibly undefined macro: AC_DISABLE_STATIC > configure.ac:75: error: possibly undefined macro: dnl > configure.ac:154: error: possibly undefined macro: AC_MSG_RESULT > configure.ac:198: error: possibly undefined macro: AM_CONDITIONAL > configure.ac:516: error: possibly undefined macro: AC_MSG_NOTICE > configure.ac:548: error: possibly undefined macro: AM_PROG_AS > configure.ac:552: error: possibly undefined macro: AC_PROG_LIBTOOL > [root@nbs35 trafficserver]# cat /etc/redhat-release > CentOS release 5.8 (Final) > 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 > GNU/Linux > [root@nbs35 trafficserver]# git show > commit 4e53792f2740de507b6fd51f0d34f6bf4f780852 > Author: Igor Gali[7m<87> > Date: Wed Mar 27 00:47:21 2013 +0100 > TS-1781: Make clang happy and esi compile > diff --git a/plugins/experimental/esi/lib/EsiProcessor.cc > b/plugins/experimental/esi/lib/EsiProcessor.cc > index ed4868b..96a647e 100644 > --- a/plugins/experimental/esi/lib/EsiProcessor.cc > +++ b/plugins/experimental/esi/lib/EsiProcessor.cc > @@ -422,7 +422,7 @@ EsiProcessor::flush(string &data, int &overall_len) { >const Attribute &url = (*node_iter).attr_list.front(); > >string raw_url(url.value, url.value_len); >attemptUrls.push_back(_expression.expand(raw_url)); > -if (!_getIncludeStatus(*node_iter) == STATUS_ERROR) { > +if (_getIncludeStatus(*node_iter) != STATUS_DATA_AVAILABLE) { >attempt_succeeded = false; >_errorLog("[%s] attempt section errored; due to url [%s]", > __FUNCTION__, raw_url.c_str()); >break; > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-1782) CENTOS 5.8 x64 autoreconf fail
[ https://issues.apache.org/jira/browse/TS-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616067#comment-13616067 ] Leif Hedstrom commented on TS-1782: --- Have you installed all the prerequisites ? {code} sudo yum install make automake libtool pkgconfig gcc-c++ openssl-devel tcl-devel expat-devel pcre-devel sudo yum install libcap libcap-devel {code} Please update, so we can take action on this bug. > CENTOS 5.8 x64 autoreconf fail > --- > > Key: TS-1782 > URL: https://issues.apache.org/jira/browse/TS-1782 > Project: Traffic Server > Issue Type: Bug > Components: Build >Reporter: helaku >Assignee: James Peach > Fix For: 3.3.2 > > > {code} > [root@nbs35 trafficserver]# autoconf -i > configure.ac:43: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:50: error: possibly undefined macro: AC_DISABLE_STATIC > configure.ac:75: error: possibly undefined macro: dnl > configure.ac:154: error: possibly undefined macro: AC_MSG_RESULT > configure.ac:198: error: possibly undefined macro: AM_CONDITIONAL > configure.ac:516: error: possibly undefined macro: AC_MSG_NOTICE > configure.ac:548: error: possibly undefined macro: AM_PROG_AS > configure.ac:552: error: possibly undefined macro: AC_PROG_LIBTOOL > [root@nbs35 trafficserver]# cat /etc/redhat-release > CentOS release 5.8 (Final) > 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 > GNU/Linux > [root@nbs35 trafficserver]# git show > commit 4e53792f2740de507b6fd51f0d34f6bf4f780852 > Author: Igor Gali[7m<87> > Date: Wed Mar 27 00:47:21 2013 +0100 > TS-1781: Make clang happy and esi compile > diff --git a/plugins/experimental/esi/lib/EsiProcessor.cc > b/plugins/experimental/esi/lib/EsiProcessor.cc > index ed4868b..96a647e 100644 > --- a/plugins/experimental/esi/lib/EsiProcessor.cc > +++ b/plugins/experimental/esi/lib/EsiProcessor.cc > @@ -422,7 +422,7 @@ EsiProcessor::flush(string &data, int &overall_len) { >const Attribute &url = (*node_iter).attr_list.front(); > >string raw_url(url.value, url.value_len); >attemptUrls.push_back(_expression.expand(raw_url)); > -if (!_getIncludeStatus(*node_iter) == STATUS_ERROR) { > +if (_getIncludeStatus(*node_iter) != STATUS_DATA_AVAILABLE) { >attempt_succeeded = false; >_errorLog("[%s] attempt section errored; due to url [%s]", > __FUNCTION__, raw_url.c_str()); >break; > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira