Resolving dependencies... Downloading zeromq3-haskell-0.1... Configuring zeromq3-haskell-0.1... Building zeromq3-haskell-0.1... Preprocessing library zeromq3-haskell-0.1... Base.hsc: In function ‘main’: Base.hsc:29:5: error: ‘zmq_msg_t’ has no member named ‘_’ Base.hsc:30:5: error: ‘zmq_msg_t’ has no member named ‘_’ Base.hsc:94:5: error: ‘ZMQ_IPV4ONLY’ undeclared (first use in this function) Base.hsc:94:5: note: each undeclared identifier is reported only once for each function it appears in Base.hsc:100:5: error: ‘ZMQ_MAXMSGSIZE’ undeclared (first use in this function) Base.hsc:103:5: error: ‘ZMQ_MULTICAST_HOPS’ undeclared (first use in this function) Base.hsc:112:5: error: ‘ZMQ_RCVHWM’ undeclared (first use in this function) Base.hsc:133:5: error: ‘ZMQ_SNDHWM’ undeclared (first use in this function) Base.hsc:106:5: error: ‘ZMQ_MORE’ undeclared (first use in this function) Base.hsc:112: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.1 cabal: Error: some packages failed to install: zeromq3-haskell-0.1 failed during the building phase. The exception was: ExitFailure 1