Ask Your Question

Revision history [back]

Zeromq want to compile

Hello everybody! I want to use iPython notebook unstead of Sage Notebook. I found at http://planet.sagemath.org/ article "Using sage in the new ipython notebook" (February 10, 2013). I try:

andrei@andrei-notebook ~/sage-5.8 $ ./sage -i zeromq
Attempting to download package zeromq
>>> Checking online list of optional packages.
[.]
>>> Found zeromq-2.2.0.p0
>>> Downloading zeromq-2.2.0.p0.spkg.
[............................................................]
zeromq-2.2.0.p0
====================================================
Extracting package /home/andrei/sage-5.8/spkg/optional/zeromq-2.2.0.p0.spkg
-rw-r--r-- 1 andrei andrei 1722611 ???.  21 09:13 /home/andrei/sage-5.8/spkg/optional/zeromq-2.2.0.p0.spkg
Finished extraction
****************************************************
Host system:
Linux andrei-notebook 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:41:11 UTC 2013 i686 i686 i686 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/andrei/sage-5.8/local/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.3/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../src/configure --prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-local-prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-gmp=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-mpfr=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-mpc=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-system-zlib --disable-multilib  
Thread model: posix
gcc version 4.6.3 (GCC) 
****************************************************
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... (cached) gawk
checking for xmlto... no
checking for asciidoc... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... ld
checking if the linker (ld) is GNU ld... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the C compiler works... yes
checking whether we are using Intel C compiler... no
checking whether we are using Sun Studio C compiler... no
checking whether we are using clang C compiler... no
checking whether we are using gcc >= 4 C compiler... yes
checking whether the C++ compiler works... yes
checking whether we are using Intel C++ compiler... no
checking whether we are using Sun Studio C++ compiler... no
checking whether we are using clang C++ compiler... no
checking whether we are using gcc >= 4 C++ compiler... yes
checking whether to enable debugging information... no
checking whether to enable code coverage... no
checking for pthread_create in -lpthread... yes
checking for sem_init in -lrt... yes
checking for uuid_generate in -luuid... yes
checking whether C++ compiler supports -fvisibility=hidden... yes
checking whether C++ compiler supports dso visibility... yes
checking for asciidoc... no
checking for xmlto... no
checking whether to build documentation... no
checking whether to install manpages... yes
checking for suitable polling system... using epoll
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for uint32_t... yes
checking for working volatile... yes
checking how to enable additional warnings for C++ compiler... -Wall
checking how to turn warnings to errors in C++ compiler... -Werror
checking how to enable strict standards compliance in C++ compiler... -pedantic
checking return type of signal handlers... void
checking for perror... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for memset... yes
checking for socket... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking alloca.h usability... no
checking alloca.h presence... yes
configure: WARNING: alloca.h: present but cannot be compiled
configure: WARNING: alloca.h:     check for missing prerequisite headers?
configure: WARNING: alloca.h: see the Autoconf documentation
configure: WARNING: alloca.h:     section "Present But Cannot Be Compiled"
configure: WARNING: alloca.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to zeromq-dev@lists.zeromq.org ##
configure: WARNING:     ## ------------------------------------------ ##
checking for alloca.h... no
checking whether SOCK_CLOEXEC is supported... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating perf/Makefile
config.status: creating src/libzmq.pc
config.status: creating builds/msvc/Makefile
config.status: creating tests/Makefile
config.status: creating foreign/openpgm/Makefile
config.status: creating builds/redhat/zeromq.spec
config.status: creating src/platform.hpp
config.status: executing depfiles commands
config.status: executing libtool commands
Making install in src
make[1]: ???? ? ??????? `/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0/src/src'
  CXX    libzmq_la-clock.lo
  CXX    libzmq_la-command.lo
  CXX    libzmq_la-ctx.lo
  CXX    libzmq_la-connect_session.lo
  CXX    libzmq_la-decoder.lo
  CXX    libzmq_la-device.lo
  CXX    libzmq_la-devpoll.lo
  CXX    libzmq_la-dist.lo
  CXX    libzmq_la-encoder.lo
  CXX    libzmq_la-epoll.lo
In file included from /usr/include/i386-linux-gnu/sys/types.h:30:0,
                 from /usr/include/i386-linux-gnu/sys/epoll.h:23,
                 from epoll.cpp:25:
/usr/include/i386-linux-gnu/bits/types.h:47:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/types.h:48:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/types.h:56:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/types.h:57:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
In file included from /usr/include/i386-linux-gnu/sys/types.h:223:0,
                 from /usr/include/i386-linux-gnu/sys/epoll.h:23,
                 from epoll.cpp:25:
/usr/include/i386-linux-gnu/sys/sysmacros.h:33:36: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/sys/sysmacros.h:36:36: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/sys/sysmacros.h:39:1: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
In file included from /usr/include/i386-linux-gnu/sys/types.h:271:0,
                 from /usr/include/i386-linux-gnu/sys/epoll.h:23,
                 from epoll.cpp:25:
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:90:19: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:91:19: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:92:19: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:98:17: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
cc1plus: all warnings being treated as errors
make[1]: *** [libzmq_la-epoll.lo] Error 1
make[1]: Output from a directory `/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0/src/src'
make: *** [install-recursive] Error 1

real    0m18.652s
user    0m7.036s
sys 0m2.092s
************************************************************************
Error installing package zeromq-2.2.0.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/andrei/sage-5.8/spkg/logs/zeromq-2.2.0.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0' && '/home/andrei/sage-5.8/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Please help me to install zeromq. Thanks.

Zeromq don't want to compile

Hello everybody! I want to use iPython notebook unstead of Sage Notebook. I found at http://planet.sagemath.org/ article "Using sage in the new ipython notebook" (February 10, 2013). I try:

andrei@andrei-notebook ~/sage-5.8 $ ./sage -i zeromq
Attempting to download package zeromq
>>> Checking online list of optional packages.
[.]
>>> Found zeromq-2.2.0.p0
>>> Downloading zeromq-2.2.0.p0.spkg.
[............................................................]
zeromq-2.2.0.p0
====================================================
Extracting package /home/andrei/sage-5.8/spkg/optional/zeromq-2.2.0.p0.spkg
-rw-r--r-- 1 andrei andrei 1722611 ???.  21 09:13 /home/andrei/sage-5.8/spkg/optional/zeromq-2.2.0.p0.spkg
Finished extraction
****************************************************
Host system:
Linux andrei-notebook 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:41:11 UTC 2013 i686 i686 i686 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/andrei/sage-5.8/local/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.3/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../src/configure --prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-local-prefix=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-gmp=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-mpfr=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-mpc=/var/lib/buildbot/build/sage/arando-1/arando_binary/build/sage-5.8/local --with-system-zlib --disable-multilib  
Thread model: posix
gcc version 4.6.3 (GCC) 
****************************************************
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... (cached) gawk
checking for xmlto... no
checking for asciidoc... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... ld
checking if the linker (ld) is GNU ld... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the C compiler works... yes
checking whether we are using Intel C compiler... no
checking whether we are using Sun Studio C compiler... no
checking whether we are using clang C compiler... no
checking whether we are using gcc >= 4 C compiler... yes
checking whether the C++ compiler works... yes
checking whether we are using Intel C++ compiler... no
checking whether we are using Sun Studio C++ compiler... no
checking whether we are using clang C++ compiler... no
checking whether we are using gcc >= 4 C++ compiler... yes
checking whether to enable debugging information... no
checking whether to enable code coverage... no
checking for pthread_create in -lpthread... yes
checking for sem_init in -lrt... yes
checking for uuid_generate in -luuid... yes
checking whether C++ compiler supports -fvisibility=hidden... yes
checking whether C++ compiler supports dso visibility... yes
checking for asciidoc... no
checking for xmlto... no
checking whether to build documentation... no
checking whether to install manpages... yes
checking for suitable polling system... using epoll
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for uint32_t... yes
checking for working volatile... yes
checking how to enable additional warnings for C++ compiler... -Wall
checking how to turn warnings to errors in C++ compiler... -Werror
checking how to enable strict standards compliance in C++ compiler... -pedantic
checking return type of signal handlers... void
checking for perror... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for memset... yes
checking for socket... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking alloca.h usability... no
checking alloca.h presence... yes
configure: WARNING: alloca.h: present but cannot be compiled
configure: WARNING: alloca.h:     check for missing prerequisite headers?
configure: WARNING: alloca.h: see the Autoconf documentation
configure: WARNING: alloca.h:     section "Present But Cannot Be Compiled"
configure: WARNING: alloca.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to zeromq-dev@lists.zeromq.org ##
configure: WARNING:     ## ------------------------------------------ ##
checking for alloca.h... no
checking whether SOCK_CLOEXEC is supported... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating perf/Makefile
config.status: creating src/libzmq.pc
config.status: creating builds/msvc/Makefile
config.status: creating tests/Makefile
config.status: creating foreign/openpgm/Makefile
config.status: creating builds/redhat/zeromq.spec
config.status: creating src/platform.hpp
config.status: executing depfiles commands
config.status: executing libtool commands
Making install in src
make[1]: ???? ? ??????? `/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0/src/src'
  CXX    libzmq_la-clock.lo
  CXX    libzmq_la-command.lo
  CXX    libzmq_la-ctx.lo
  CXX    libzmq_la-connect_session.lo
  CXX    libzmq_la-decoder.lo
  CXX    libzmq_la-device.lo
  CXX    libzmq_la-devpoll.lo
  CXX    libzmq_la-dist.lo
  CXX    libzmq_la-encoder.lo
  CXX    libzmq_la-epoll.lo
In file included from /usr/include/i386-linux-gnu/sys/types.h:30:0,
                 from /usr/include/i386-linux-gnu/sys/epoll.h:23,
                 from epoll.cpp:25:
/usr/include/i386-linux-gnu/bits/types.h:47:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/types.h:48:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/types.h:56:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/types.h:57:15: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
In file included from /usr/include/i386-linux-gnu/sys/types.h:223:0,
                 from /usr/include/i386-linux-gnu/sys/epoll.h:23,
                 from epoll.cpp:25:
/usr/include/i386-linux-gnu/sys/sysmacros.h:33:36: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/sys/sysmacros.h:36:36: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/sys/sysmacros.h:39:1: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
In file included from /usr/include/i386-linux-gnu/sys/types.h:271:0,
                 from /usr/include/i386-linux-gnu/sys/epoll.h:23,
                 from epoll.cpp:25:
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:90:19: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:91:19: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:92:19: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/usr/include/i386-linux-gnu/bits/pthreadtypes.h:98:17: error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
cc1plus: all warnings being treated as errors
make[1]: *** [libzmq_la-epoll.lo] Error 1
make[1]: Output from a directory `/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0/src/src'
make: *** [install-recursive] Error 1

real    0m18.652s
user    0m7.036s
sys 0m2.092s
************************************************************************
Error installing package zeromq-2.2.0.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/andrei/sage-5.8/spkg/logs/zeromq-2.2.0.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/andrei/sage-5.8/spkg/build/zeromq-2.2.0.p0' && '/home/andrei/sage-5.8/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Please help me to install zeromq. Thanks.