Created
January 25, 2015 07:58
-
-
Save immoh/1638fe5d8bb91a2d55f2 to your computer and use it in GitHub Desktop.
"cabal install bson" fails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cabal install bson | |
| Resolving dependencies... | |
| Configuring network-2.6.0.2... | |
| Building network-2.6.0.2... | |
| Failed to install network-2.6.0.2 | |
| Build log ( /Users/iheikkin/.cabal/logs/network-2.6.0.2.log ): | |
| [1 of 1] Compiling Main ( /var/folders/xz/d8ctt91s5n51kbwcb01z1m740000gn/T/network-2.6.0.2-4504/network-2.6.0.2/dist/setup/setup.hs, /var/folders/xz/d8ctt91s5n51kbwcb01z1m740000gn/T/network-2.6.0.2-4504/network-2.6.0.2/dist/setup/Main.o ) | |
| Linking /var/folders/xz/d8ctt91s5n51kbwcb01z1m740000gn/T/network-2.6.0.2-4504/network-2.6.0.2/dist/setup/setup ... | |
| Configuring network-2.6.0.2... | |
| configure: WARNING: unrecognized options: --with-compiler, --with-gcc | |
| checking build system type... x86_64-apple-darwin14.0.0 | |
| checking host system type... x86_64-apple-darwin14.0.0 | |
| 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 an ANSI C-conforming const... yes | |
| checking how to run the C preprocessor... gcc -E | |
| checking for grep that handles long lines and -e... /usr/bin/grep | |
| checking for egrep... /usr/bin/grep -E | |
| 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 fcntl.h usability... yes | |
| checking fcntl.h presence... yes | |
| checking for fcntl.h... yes | |
| checking limits.h usability... yes | |
| checking limits.h presence... yes | |
| checking for limits.h... yes | |
| checking for stdlib.h... (cached) yes | |
| checking for sys/types.h... (cached) yes | |
| checking for unistd.h... (cached) yes | |
| checking winsock2.h usability... no | |
| checking winsock2.h presence... no | |
| checking for winsock2.h... no | |
| checking ws2tcpip.h usability... no | |
| checking ws2tcpip.h presence... no | |
| checking for ws2tcpip.h... no | |
| checking arpa/inet.h usability... yes | |
| checking arpa/inet.h presence... yes | |
| checking for arpa/inet.h... yes | |
| checking netdb.h usability... yes | |
| checking netdb.h presence... yes | |
| checking for netdb.h... yes | |
| checking netinet/in.h usability... yes | |
| checking netinet/in.h presence... yes | |
| checking for netinet/in.h... yes | |
| checking netinet/tcp.h usability... yes | |
| checking netinet/tcp.h presence... yes | |
| checking for netinet/tcp.h... yes | |
| checking sys/socket.h usability... yes | |
| checking sys/socket.h presence... yes | |
| checking for sys/socket.h... yes | |
| checking sys/uio.h usability... yes | |
| checking sys/uio.h presence... yes | |
| checking for sys/uio.h... yes | |
| checking sys/un.h usability... yes | |
| checking sys/un.h presence... yes | |
| checking for sys/un.h... yes | |
| checking for readlink... yes | |
| checking for symlink... yes | |
| checking for struct msghdr.msg_control... yes | |
| checking for struct msghdr.msg_accrights... no | |
| checking for struct sockaddr.sa_len... yes | |
| checking for in_addr_t in netinet/in.h... yes | |
| checking for SO_PEERCRED and struct ucred in sys/socket.h... no | |
| checking for getpeereid in unistd.h... checking for getpeereid... yes | |
| checking for _head_libws2_32_a in -lws2_32... no | |
| checking for getaddrinfo... yes | |
| checking for gai_strerror... yes | |
| checking whether AI_ADDRCONFIG is declared... yes | |
| checking whether AI_ALL is declared... yes | |
| checking whether AI_NUMERICSERV is declared... yes | |
| checking whether AI_V4MAPPED is declared... yes | |
| checking whether IPV6_V6ONLY is declared... yes | |
| checking whether IPPROTO_IP is declared... yes | |
| checking whether IPPROTO_TCP is declared... yes | |
| checking whether IPPROTO_IPV6 is declared... yes | |
| checking for sendfile in sys/sendfile.h... no | |
| checking for sendfile in sys/socket.h... yes | |
| checking for gethostent... yes | |
| checking for accept4... no | |
| configure: creating ./config.status | |
| config.status: creating network.buildinfo | |
| config.status: creating include/HsNetworkConfig.h | |
| config.status: include/HsNetworkConfig.h is unchanged | |
| configure: WARNING: unrecognized options: --with-compiler, --with-gcc | |
| Building network-2.6.0.2... | |
| Preprocessing library network-2.6.0.2... | |
| ld: library not found for -lgmp | |
| clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
| linking dist/build/Network/BSD_hsc_make.o failed (exit code 1) | |
| command was: /usr/bin/gcc dist/build/Network/BSD_hsc_make.o dist/build/Network/BSD_hsc_utils.o -o dist/build/Network/BSD_hsc_make -m64 -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/unix-2.7.0.1 -ldl -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/time-1.4.2 -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/old-locale-1.0.0.6 -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/bytestring-0.10.4.0 -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/deepseq-1.3.0.2 -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/array-0.5.0.0 -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/base-4.7.0.2 -liconv -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/integer-gmp-0.5.1.0 -lgmp -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/ghc-prim-0.3.1.0 -L/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/rts-1.0 -lm -ldl | |
| cabal: Error: some packages failed to install: | |
| bson-0.3.1 depends on network-2.6.0.2 which failed to install. | |
| network-2.6.0.2 failed during the building phase. The exception was: | |
| ExitFailure 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment