You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Krish Donald <go...@gmail.com> on 2015/01/14 02:34:30 UTC

Error in make command for zeromq

Hi,

I am trying to install and configure zeromq.
While issuing make command I am getting below error:
Anybody has an idea , how to solve below ?

[hadoop@mynamenode zeromq]$ make
Making all in src
make[1]: Entering directory `/opt/hadoop/zeromq/src'
make  all-am
make[2]: Entering directory `/opt/hadoop/zeromq/src'
  CXX    libzmq_la-ctx.lo
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/new:39,
                 from ctx.cpp:21:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cstddef:43:28:
error: bits/c++config.h: No such file or directory
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_tree.h:63,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/map:60,
                 from ctx.hpp:24,
                 from ctx.cpp:24:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:48:31:
error: bits/c++allocator.h: No such file or directory
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:45,
                 from ctx.hpp:26,
                 from ctx.cpp:24:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/localefwd.h:42:76:
error: bits/c++locale.h: No such file or directory
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:41,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:53,
                 from ctx.hpp:26,
                 from ctx.cpp:24:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/atomicity.h:34:23:
error: bits/gthr.h: No such file or directory
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/atomicity.h:35:30:
error: bits/atomic_word.h: No such file or directory
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/new:39,
                 from ctx.cpp:21:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cstddef:49:
error: expected constructor, destructor, or type conversion before ‘(’ token
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/new:40,
                 from ctx.cpp:21:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception:35:
error: ‘#pragma’ is not allowed here
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception:144:
error: expected declaration before end of line
make[2]: *** [libzmq_la-ctx.lo] Error 1
make[2]: Leaving directory `/opt/hadoop/zeromq/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/hadoop/zeromq/src'
make: *** [all-recursive] Error 1

Thanks
Krish