----- Original Message ----- > HI!all > I get error at build 3.1.2 from > http://people.apache.org/~zwoop/rel-candidates/ > > 2.6.32-71.el6.x86_64 > > the error is: > In file included from /usr/include/readline/history.h:36, > from cliAppInit.cc:63:
Are you sure you've got a (recent) version of libreadline and libreadline-devel installed on that system? > /usr/include/readline/rltypedefs.h:34: error: conflicting declaration > 'typedef int Function()' > /usr/include/editline/readline.h:39: error: 'Function' has a previous > declaration as 'typedef int Function(const char*, int)' > /usr/include/readline/rltypedefs.h:36: error: conflicting declaration > 'typedef char* CPFunction()' > /usr/include/editline/readline.h:42: error: 'CPFunction' has a > previous > declaration as 'typedef char* CPFunction(const char*, int)' > /usr/include/readline/rltypedefs.h:37: error: conflicting declaration > 'typedef char** CPPFunction()' > /usr/include/editline/readline.h:43: error: 'CPPFunction' has a > previous > declaration as 'typedef char** CPPFunction(const char*, int, int)' > In file included from cliAppInit.cc:63: > /usr/include/readline/history.h:46: error: redefinition of 'struct > _hist_entry' > /usr/include/editline/readline.h:48: error: previous definition of > 'struct _hist_entry' > /usr/include/readline/history.h:50: error: invalid type in > declaration > before ';' token > /usr/include/readline/history.h:50: error: conflicting declaration > 'typedef int HIST_ENTRY' > /usr/include/editline/readline.h:51: error: 'HIST_ENTRY' has a > previous > declaration as 'typedef struct _hist_entry HIST_ENTRY' > /usr/include/readline/history.h:83: error: declaration of C function > 'void add_history(const char*)' conflicts with > /usr/include/editline/readline.h:134: error: previous declaration > 'int > add_history(const char*)' here > /usr/include/readline/history.h:234: error: declaration of C function > 'char* get_history_event(const char*, int*, int)' conflicts with > /usr/include/editline/readline.h:154: error: previous declaration > 'const > char* get_history_event(const char*, int*, int)' here > make[2]: *** [cliAppInit.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > mv -f .deps/ShowCmd.Tpo .deps/ShowCmd.Po > mv -f .deps/ConfigCmd.Tpo .deps/ConfigCmd.Po > make[2]: Leaving directory > `/root/rpmbuild/BUILD/trafficserver-3.1.2/mgmt/cli' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/root/rpmbuild/BUILD/trafficserver-3.1.2/mgmt' > make: *** [all-recursive] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.hYBPxg (%build) > > > 在 2012-02-03五的 19:05 -0700,Leif Hedstrom写道: > > Hi all, > > > > I've prepared a package for a v3.1.2 release. Please take a look at > > the > > artifacts, check the STATUS/README/CHANGES files, and do builds and > > tests. > > After finishing your examination of the release candidate, please > > cast your > > ±/0 votes in a timely manner, I will call the vote on Feb 8, 2012. > > The > > source tar-ball and signatures are available in > > > > http://people.apache.org/~zwoop/rel-candidates/ > > > > The relevant files are > > > > minotaur (01:55) 257/0 $ ls -lrt > > total 2568 > > -rw-r--r-- 1 zwoop zwoop 2493898 Feb 4 01:55 > > trafficserver-3.1.2-unstable.tar.bz2 > > -rw-r--r-- 1 zwoop zwoop 836 Feb 4 01:55 > > trafficserver-3.1.2-unstable.tar.bz2.asc > > -rw-r--r-- 1 zwoop zwoop 71 Feb 4 01:55 > > trafficserver-3.1.2-unstable.tar.bz2.md5 > > -rw-r--r-- 1 zwoop zwoop 79 Feb 4 01:55 > > trafficserver-3.1.2-unstable.tar.bz2.sha1 > > > > Checksums are > > > > MD5: 2208cb9a0d0b7cea07770d51b1cf7df2 > > *trafficserver-3.1.2-unstable.tar.bz2 > > SHA1: 5069e13f0d05921d61a9af0141df2515682ddfe6 > > *trafficserver-3.1.2-unstable.tar.bz2 > > > > > > This includes 50 bug fixes and new features. In particularly, we > > have new > > flexible configuration system for specifying IP:ports to bind (and > > how). Old > > configurations are backwards compatible, but we encourage you to > > migrate to > > the new configuration if possible. > > > > For a full list of all the fixes and improvements see > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310963&version=12317605 > > > > Thanks, > > > > -- The Apache TS developer community > > > > > -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE