hawq-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hb4ch <hasselb...@163.com>
Subject hawq can't compile
Date Thu, 20 Jul 2017 10:47:12 GMT
I am trying to deploy hawq on a xeon centos 6.5 cluster node. But it can't compile:



Thing went smooth until ‘make’ enters “depends/libyarn” library: 




/home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:66:2:
错误:‘ostringstream’在此作用域中尚未声明

  ostringstream oss;

  ^

/home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:66:2:
附注:建议的替代:

In file included from /usr/local/gcc-4.9.3/include/c++/4.9.3/ios:38:0,

                 from /usr/local/gcc-4.9.3/include/c++/4.9.3/ostream:38,

                 from /usr/local/gcc-4.9.3/include/c++/4.9.3/iostream:39,

                 from /home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.h:24,

                 from /home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:20:

/usr/local/gcc-4.9.3/include/c++/4.9.3/iosfwd:148:38: 附注:  ‘std::ostringstream’

   typedef basic_ostringstream<char>  ostringstream;

                                      ^

/home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:67:2:
错误:‘oss’在此作用域中尚未声明

  oss << container.getNodeId().getPort();

  ^

/home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:
在成员函数‘virtual void libyarn::ContainerManagement::stopContainer(libyarn::Container&,
libyarn::Token&)’中:

/home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:130:2:
错误:‘ostringstream’在此作用域中尚未声明

  ostringstream oss;

  ^

/home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:130:2:
附注:建议的替代:

In file included from /usr/local/gcc-4.9.3/include/c++/4.9.3/ios:38:0,

                 from /usr/local/gcc-4.9.3/include/c++/4.9.3/ostream:38,

                 from /usr/local/gcc-4.9.3/include/c++/4.9.3/iostream:39,

                 from /home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.h:24,

                 from /home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:20:

/usr/local/gcc-4.9.3/include/c++/4.9.3/iosfwd:148:38: 附注:  ‘std::ostringstream’

   typedef basic_ostringstream<char>  ostringstream;

                                      ^

/home/claims/peng/incubator-hawq/depends/libyarn/src/libyarnclient/ContainerManagement.cpp:131:2:
错误:‘oss’在此作用域中尚未声明

  oss << container.getNodeId().getPort();

there is more to it. 




What should I do? Is there any dependency issue that I forgot to cover? Thanks!
Mime
View raw message