Resolving dependencies... Downloading zeromq3-haskell-0.2... Configuring zeromq3-haskell-0.2... Building zeromq3-haskell-0.2... Preprocessing library zeromq3-haskell-0.2... Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) *** Base.hsc: In function ‘main’: Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) *** Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) *** Base.hsc:20:5: error: ‘zmq_msg_t’ has no member named ‘_’ Base.hsc:21:5: error: ‘zmq_msg_t’ has no member named ‘_’ Base.hsc:76:5: error: ‘ZMQ_DELAY_ATTACH_ON_CONNECT’ undeclared (first use in this function) Base.hsc:76:5: note: each undeclared identifier is reported only once for each function it appears in Base.hsc:88:5: error: ‘ZMQ_IPV4ONLY’ undeclared (first use in this function) Base.hsc:91:5: error: ‘ZMQ_LAST_ENDPOINT’ undeclared (first use in this function) Base.hsc:97:5: error: ‘ZMQ_MAXMSGSIZE’ undeclared (first use in this function) Base.hsc:100:5: error: ‘ZMQ_MULTICAST_HOPS’ undeclared (first use in this function) Base.hsc:109:5: error: ‘ZMQ_RCVHWM’ undeclared (first use in this function) Base.hsc:127:5: error: ‘ZMQ_ROUTER_MANDATORY’ undeclared (first use in this function) Base.hsc:133:5: error: ‘ZMQ_SNDHWM’ undeclared (first use in this function) Base.hsc:142:5: error: ‘ZMQ_TCP_ACCEPT_FILTER’ undeclared (first use in this function) Base.hsc:145:5: error: ‘ZMQ_TCP_KEEPALIVE’ undeclared (first use in this function) Base.hsc:148:5: error: ‘ZMQ_TCP_KEEPALIVE_CNT’ undeclared (first use in this function) Base.hsc:151:5: error: ‘ZMQ_TCP_KEEPALIVE_IDLE’ undeclared (first use in this function) Base.hsc:154:5: error: ‘ZMQ_TCP_KEEPALIVE_INTVL’ undeclared (first use in this function) Base.hsc:160:5: error: ‘ZMQ_XPUB_VERBOSE’ undeclared (first use in this function) Base.hsc:106:5: error: ‘ZMQ_IO_THREADS’ undeclared (first use in this function) Base.hsc:109:5: error: ‘ZMQ_MAX_SOCKETS’ undeclared (first use in this function) Base.hsc:113:5: error: ‘ZMQ_EVENT_CONNECTED’ undeclared (first use in this function) Base.hsc:116:5: error: ‘ZMQ_EVENT_CONNECT_DELAYED’ undeclared (first use in this function) Base.hsc:119:5: error: ‘ZMQ_EVENT_CONNECT_RETRIED’ undeclared (first use in this function) Base.hsc:122:5: error: ‘ZMQ_EVENT_LISTENING’ undeclared (first use in this function) Base.hsc:125:5: error: ‘ZMQ_EVENT_BIND_FAILED’ undeclared (first use in this function) Base.hsc:128:5: error: ‘ZMQ_EVENT_ACCEPTED’ undeclared (first use in this function) Base.hsc:131:5: error: ‘ZMQ_EVENT_ACCEPT_FAILED’ undeclared (first use in this function) Base.hsc:134:5: error: ‘ZMQ_EVENT_CLOSED’ undeclared (first use in this function) Base.hsc:137:5: error: ‘ZMQ_EVENT_CLOSE_FAILED’ undeclared (first use in this function) Base.hsc:140:5: error: ‘ZMQ_EVENT_DISCONNECTED’ undeclared (first use in this function) Base.hsc:143:5: error: ‘ZMQ_EVENT_ALL’ undeclared (first use in this function) Base.hsc:128:5: error: unknown type name ‘zmq_event_t’ Base.hsc:129:5: error: unknown type name ‘zmq_event_t’ Base.hsc:133:5: error: ‘ZMQ_MORE’ undeclared (first use in this function) Base.hsc:139:5: error: ‘ZMQ_DONTWAIT’ undeclared (first use in this function) compiling dist/build/System/ZMQ3/Base_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/System/ZMQ3/Base_hsc_make.c -o dist/build/System/ZMQ3/Base_hsc_make.o -fno-stack-protector -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -D__GLASGOW_HASKELL__=706 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/bytestring-0.10.0.2/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/base-4.6.0.1/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/include/ Failed to install zeromq3-haskell-0.2 cabal: Error: some packages failed to install: zeromq3-haskell-0.2 failed during the building phase. The exception was: ExitFailure 1