How to compile git-annex?

Hi, I got too many error messages when I try to install git-annex. Is there a good way to fix them? Why cabal install print so many irrelevant messages? Is it better to follow Unix "Rule of Silence" to only print usage error messages? http://en.wikipedia.org/wiki/Unix_philosophy ~$ cabal install git-annex Resolving dependencies... In order, the following will be installed: aeson-0.8.0.2 +old-locale (new version) asn1-parse-0.9.0 (reinstall) changes: text-1.2.0.4 added cookie-0.4.1.4 (new package) crypto-random-0.0.9 (reinstall) changes: unix-2.7.0.1 added, vector-0.10.12.3 added cprng-aes-0.6.1 (reinstall) clientsession-0.9.1.1 (new package) crypto-numbers-0.2.7 (reinstall) changes: vector-0.10.12.3 added crypto-pubkey-0.2.8 (reinstall) fast-logger-2.3.1 (reinstall) changes: text-1.2.0.4 added free-4.11 (reinstall) changes: bifunctors-4.2.1 added, comonad-4.2.5 added, profunctors-4.4.1 added, semigroupoids-4.3 added, semigroups-0.16.2.2 added, template-haskell-2.9.0.0 added adjunctions-4.2 (reinstall) changes: comonad-4.2.5 added, contravariant-1.3.1 added, profunctors-4.4.1 added, semigroupoids-4.3 added, semigroups-0.16.2.2 added, void-0.7 added either-4.3.3.2 (reinstall) changes: MonadRandom-0.3.0.2 added, bifunctors-4.2.1 added, exceptions-0.8.0.2 added, monad-control-1.0.0.4 added, profunctors-4.4.1 added, semigroupoids-4.3 added, semigroups-0.16.2.2 added, transformers-base-0.4.4 added errors-1.4.7 (reinstall) gnutls-0.1.5 (new package) gsasl-0.3.5 (new package) hfsevents-0.1.5 (reinstall) changes: text-1.2.0.4 added, unix-2.7.0.1 added iproute-1.4.0 (reinstall) changes: network-2.6.0.2 added kan-extensions-4.2.1 (reinstall) changes: comonad-4.2.5 added, contravariant-1.3.1 added, semigroupoids-4.3 added language-javascript-0.5.13.3 (reinstall) changes: blaze-builder-0.4.0.1 added hjsmin-0.1.4.7 (reinstall) changes: blaze-builder-0.4.0.1 added, optparse-applicative-0.11.0.2 added, text-1.2.0.4 added lens-4.9.1 (new package) mime-mail-0.4.8.2 (reinstall) changes: blaze-builder-0.4.0.1 added, random-1.0.1.1 -> 1.1, text-1.2.0.4 added network-protocol-xmpp-0.4.6 (new package) publicsuffixlist-0.1 (reinstall) changes: text-1.2.0.4 added http-client-0.4.11.1 (reinstall) changes: blaze-builder-0.4.0.1 added, case-insensitive-1.2.0.4 added, cookie-0.4.1.4 added, exceptions-0.8.0.2 added, http-types-0.8.6 added, mime-types-0.1.0.6 added, network-2.6.0.2 added, network-uri-2.6.0.1 added, random-1.0.1.1 -> 1.1, streaming-commons-0.1.12 added, text-1.2.0.4 added resourcet-1.1.4.1 (reinstall) changes: exceptions-0.8.0.2 added, lifted-base-0.2.3.6 added, monad-control-1.0.0.4 added, transformers-base-0.4.4 added conduit-1.2.4 (reinstall) changes: exceptions-0.8.0.2 added, lifted-base-0.2.3.6 added, transformers-base-0.4.4 added, void-0.7 added conduit-extra-1.1.7.2 (reinstall) changes: attoparsec-0.12.1.6 added, blaze-builder-0.4.0.1 added, monad-control-1.0.0.4 added, network-2.6.0.2 added, primitive-0.6 added, stm-2.4.4 added, streaming-commons-0.1.12 added, text-1.2.0.4 added, transformers-base-0.4.4 added cryptohash-conduit-0.1.1 (reinstall) dns-1.4.5 (reinstall) changes: attoparsec-0.12.1.6 added, blaze-builder-0.4.0.1 added, network-2.6.0.2 added, random-1.0.1.1 -> 1.1 monad-logger-0.3.13.1 (reinstall) changes: blaze-builder-0.4.0.1 added, exceptions-0.8.0.2 added, lifted-base-0.2.3.6 added, monad-control-1.0.0.4 added, stm-2.4.4 added, stm-chans-3.0.0.3 added, template-haskell-2.9.0.0 added, text-1.2.0.4 added, transformers-base-0.4.4 added persistent-2.1.3 (reinstall) changes: aeson-0.7.0.4 -> 0.8.0.2, attoparsec-0.12.1.6 added, blaze-html-0.8.0.2 added, blaze-markup-0.7.0.2 added, exceptions-0.8.0.2 added, lifted-base-0.2.3.6 added, monad-control-1.0.0.4 added, path-pieces-0.2.0 added, resource-pool-0.2.3.2 added, scientific-0.2.0.2 -> 0.3.3.8, template-haskell-2.9.0.0 added, text-1.2.0.4 added, transformers-base-0.4.4 added, unordered-containers-0.2.5.1 added, vector-0.10.12.3 added esqueleto-2.1.3 (reinstall) changes: text-1.2.0.4 added, unordered-containers-0.2.5.1 added persistent-sqlite-2.1.4.1 (reinstall) changes: aeson-0.7.0.4 -> 0.8.0.2, monad-control-1.0.0.4 added, text-1.2.0.4 added persistent-template-2.1.3 (reinstall) changes: aeson-0.7.0.4 -> 0.8.0.2, monad-control-1.0.0.4 added, path-pieces-0.2.0 added, template-haskell-2.9.0.0 added, text-1.2.0.4 added, unordered-containers-0.2.5.1 added shakespeare-2.0.4.1 (reinstall) changes: aeson-0.7.0.4 -> 0.8.0.2, blaze-html-0.8.0.2 added, blaze-markup-0.7.0.2 added, exceptions-0.8.0.2 added, parsec-3.1.9 added, system-fileio-0.3.16.2 added, system-filepath-0.4.13.3 added, template-haskell-2.9.0.0 added, text-1.2.0.4 added hamlet-1.2.0 (reinstall) socks-0.5.4 (reinstall) changes: network-2.6.0.2 added uuid-1.3.10 (reinstall) changes: random-1.0.1.1 -> 1.1, uuid-types-1.0.1 added wai-logger-2.2.4 (new package) wai-extra-3.0.7.1 (new package) warp-3.0.12 (reinstall) changes: blaze-builder-0.4.0.1 added, case-insensitive-1.2.0.4 added, hashable-1.2.3.2 added, http-date-0.0.6 added, http-types-0.8.6 added, network-2.6.0.2 added, simple-sendfile-0.2.18 added, streaming-commons-0.1.12 added, text-1.2.0.4 added, unix-2.7.0.1 added, vault-0.3.0.4 added, void-0.7 added, wai-3.0.2.3 added wai-app-static-3.0.1 (new package) x509-1.5.0.1 (reinstall) x509-store-1.5.0 (reinstall) x509-system-1.5.0 (reinstall) x509-validation-1.5.1 (reinstall) changes: network-2.6.0.2 added tls-1.2.17 (reinstall) changes: async-2.0.2 added, network-2.6.0.2 added connection-0.2.4 (reinstall) changes: network-2.6.0.2 added http-client-tls-0.2.2 (reinstall) changes: network-2.6.0.2 added http-conduit-2.1.5 (reinstall) changes: http-types-0.8.6 added, lifted-base-0.2.3.6 added, monad-control-1.0.0.4 added warp-tls-3.0.3 (reinstall) changes: network-2.6.0.2 added, streaming-commons-0.1.12 added, wai-3.0.2.3 added xml-conduit-1.2.4 (reinstall) changes: attoparsec-0.12.1.6 added, blaze-builder-0.4.0.1 added, blaze-html-0.8.0.2 added, blaze-markup-0.7.0.2 added, monad-control-1.0.0.4 added, system-filepath-0.4.13.3 added, text-1.2.0.4 added, xml-types-0.3.4 added aws-0.11.4 (new package) tagstream-conduit-0.5.5.3 (reinstall) changes: attoparsec-0.12.1.6 added, blaze-builder-0.4.0.1 added, case-insensitive-1.2.0.4 added, text-1.2.0.4 added authenticate-1.3.2.11 (reinstall) changes: aeson-0.7.0.4 -> 0.8.0.2, attoparsec-0.12.1.6 added, blaze-builder-0.4.0.1 added, case-insensitive-1.2.0.4 added, http-types-0.8.6 added, monad-control-1.0.0.4 added, network-uri-2.6.0.1 added, text-1.2.0.4 added, unordered-containers-0.2.5.1 added xml-hamlet-0.4.0.10 (reinstall) changes: parsec-3.1.9 added, template-haskell-2.9.0.0 added, text-1.2.0.4 added DAV-1.0.4 (new package) xss-sanitize-0.3.5.5 (reinstall) changes: attoparsec-0.12.1.6 added, css-text-0.1.2.1 added, network-uri-2.6.0.1 added, tagsoup-0.13.3 added, text-1.2.0.4 added yaml-0.8.11 (reinstall) changes: aeson-0.7.0.4 -> 0.8.0.2, attoparsec-0.12.1.6 added, enclosed-exceptions-1.0.1.1 added, scientific-0.2.0.2 -> 0.3.3.8, text-1.2.0.4 added, unordered-containers-0.2.5.1 added, vector-0.10.12.3 added yesod-core-1.4.9.1 (new package) yesod-default-1.2.0 (new package) yesod-persistent-1.4.0.2 (new package) yesod-form-1.4.4.1 (new package) yesod-auth-1.4.4 (new package) yesod-1.4.1.5 (new package) yesod-static-1.4.0.4 (new package) git-annex-5.20150420 -testsuite -feed (new package) Warning: Note that reinstalls are always dangerous. Continuing anyway... Configuring aeson-0.8.0.2... Configuring asn1-parse-0.9.0... Configuring cookie-0.4.1.4... Configuring crypto-random-0.0.9... Building asn1-parse-0.9.0... Building cookie-0.4.1.4... Building aeson-0.8.0.2... Building crypto-random-0.0.9... Failed to install asn1-parse-0.9.0 Build log ( /Users/py/.cabal/logs/asn1-parse-0.9.0.log ): Configuring asn1-parse-0.9.0... Building asn1-parse-0.9.0... Preprocessing library asn1-parse-0.9.0... Data/ASN1/Parse.hs:29:8: Could not find module ‘Data.ASN1.Stream’ There are files missing in the ‘asn1-encoding-0.9.0’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install crypto-random-0.0.9 Build log ( /Users/py/.cabal/logs/crypto-random-0.0.9.log ): Configuring crypto-random-0.0.9... Building crypto-random-0.0.9... Preprocessing library crypto-random-0.0.9... Crypto/Random/Entropy.hs:24:8: Could not find module ‘Data.SecureMem’ There are files missing in the ‘securemem-0.1.7’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install cookie-0.4.1.4 Build log ( /Users/py/.cabal/logs/cookie-0.4.1.4.log ): Configuring cookie-0.4.1.4... Building cookie-0.4.1.4... Preprocessing library cookie-0.4.1.4... Web/Cookie.hs:54:8: Could not find module ‘Data.Default’ There are files missing in the ‘data-default-0.5.3’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Configuring fast-logger-2.3.1... Configuring gnutls-0.1.5... Configuring free-4.11... Failed to install aeson-0.8.0.2 Configuring hfsevents-0.1.5... Build log ( /Users/py/.cabal/logs/aeson-0.8.0.2.log ): Configuring aeson-0.8.0.2... Building aeson-0.8.0.2... Preprocessing library aeson-0.8.0.2... Data/Aeson/Types/Generic.hs:28:8: Could not find module ‘Data.DList’ There are files missing in the ‘dlist-0.7.1.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Building fast-logger-2.3.1... Building hfsevents-0.1.5... Building gnutls-0.1.5... Building free-4.11... Configuring iproute-1.4.0... Configuring gsasl-0.3.5... Failed to install hfsevents-0.1.5 Build log ( /Users/py/.cabal/logs/hfsevents-0.1.5.log ): Configuring hfsevents-0.1.5... Building hfsevents-0.1.5... Preprocessing library hfsevents-0.1.5... System/OSX/FSEvents.hs:29:8: Could not find module ‘Data.Serialize.Get’ There are files missing in the ‘cereal-0.4.1.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install gnutls-0.1.5 Build log ( /Users/py/.cabal/logs/gnutls-0.1.5.log ): Configuring gnutls-0.1.5... Building gnutls-0.1.5... Preprocessing library gnutls-0.1.5... lib/Network/Protocol/TLS/GNU.hs:48:18: Could not find module ‘Control.Monad.Error’ There are files missing in the ‘monads-tf-0.1.0.2’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. lib/Network/Protocol/TLS/GNU.hs:49:18: Could not find module ‘Control.Monad.Reader’ There are files missing in the ‘monads-tf-0.1.0.2’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. lib/Network/Protocol/TLS/GNU.hs:50:18: Could not find module ‘Control.Monad.Trans’ There are files missing in the ‘monads-tf-0.1.0.2’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Configuring mime-mail-0.4.8.2... Failed to install fast-logger-2.3.1 Build log ( /Users/py/.cabal/logs/fast-logger-2.3.1.log ): Configuring fast-logger-2.3.1... Building fast-logger-2.3.1... Preprocessing library fast-logger-2.3.1... System/Log/FastLogger.hs:32:8: Could not find module ‘Control.Debounce’ There are files missing in the ‘auto-update-0.1.2.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Configuring publicsuffixlist-0.1... Failed to install free-4.11 Build log ( /Users/py/.cabal/logs/free-4.11.log ): Configuring free-4.11... Building free-4.11... Preprocessing library free-4.11... src/Control/Comonad/Cofree.hs:56:8: Could not find module ‘Prelude.Extras’ There are files missing in the ‘prelude-extras-0.4’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Configuring language-javascript-0.5.13.3... Failed to install gsasl-0.3.5 Build log ( /Users/py/.cabal/logs/gsasl-0.3.5.log ): Configuring gsasl-0.3.5... setup-Simple-Cabal-1.22.3.0-x86_64-osx-ghc-7.8.3: The pkg-config package 'libgsasl' version >=1.1 is required but it could not be found. Building iproute-1.4.0... Building mime-mail-0.4.8.2... Building publicsuffixlist-0.1... Configuring socks-0.5.4... Failed to install iproute-1.4.0 Build log ( /Users/py/.cabal/logs/iproute-1.4.0.log ): Configuring iproute-1.4.0... Building iproute-1.4.0... Preprocessing library iproute-1.4.0... Data/IP/Addr.hs:12:8: Could not find module ‘System.ByteOrder’ There are files missing in the ‘byteorder-1.0.4’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/IP/Addr.hs:13:8: Could not find module ‘Text.Appar.String’ There are files missing in the ‘appar-0.1.4’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Configuring uuid-1.3.10... Failed to install mime-mail-0.4.8.2 Build log ( /Users/py/.cabal/logs/mime-mail-0.4.8.2.log ): Configuring mime-mail-0.4.8.2... Building mime-mail-0.4.8.2... Preprocessing library mime-mail-0.4.8.2... Network/Mail/Mime.hs:46:18: Could not find module ‘Data.ByteString.Base64’ There are files missing in the ‘base64-bytestring-1.0.0.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Configuring resourcet-1.1.4.1... Failed to install publicsuffixlist-0.1 Build log ( /Users/py/.cabal/logs/publicsuffixlist-0.1.log ): Configuring publicsuffixlist-0.1... Building publicsuffixlist-0.1... Preprocessing library publicsuffixlist-0.1... Network/PublicSuffixList/DataStructure.hs:13:18: Could not find module ‘Data.Serialize.Get’ There are files missing in the ‘cereal-0.4.1.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Network/PublicSuffixList/Serialize.hs:4:18: Could not find module ‘Data.ByteString.UTF8’ There are files missing in the ‘utf8-string-1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Network/PublicSuffixList/Serialize.hs:7:18: Could not find module ‘Data.Serialize.Put’ There are files missing in the ‘cereal-0.4.1.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Network/PublicSuffixList/Types.hs:8:18: Could not find module ‘Data.Default’ There are files missing in the ‘data-default-0.5.3’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Building language-javascript-0.5.13.3... Building socks-0.5.4... Building uuid-1.3.10... Configuring xss-sanitize-0.3.5.5... Failed to install language-javascript-0.5.13.3 Build log ( /Users/py/.cabal/logs/language-javascript-0.5.13.3.log ): Configuring language-javascript-0.5.13.3... Building language-javascript-0.5.13.3... Preprocessing library language-javascript-0.5.13.3... src/Language/JavaScript/Pretty/Printer.hs:17:18: Could not find module ‘Codec.Binary.UTF8.String’ There are files missing in the ‘utf8-string-1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install socks-0.5.4 Build log ( /Users/py/.cabal/logs/socks-0.5.4.log ): Configuring socks-0.5.4... Building socks-0.5.4... Preprocessing library socks-0.5.4... Network/Socks5/Wire.hs:18:8: Could not find module ‘Data.Serialize’ There are files missing in the ‘cereal-0.4.1.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install uuid-1.3.10 Build log ( /Users/py/.cabal/logs/uuid-1.3.10.log ): Configuring uuid-1.3.10... Building uuid-1.3.10... Preprocessing library uuid-1.3.10... Data/UUID/Util.hs:16:8: Could not find module ‘Network.Info’ There are files missing in the ‘network-info-0.2.0.5’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/UUID/V3.hs:38:18: Could not find module ‘Crypto.Hash.MD5’ There are files missing in the ‘cryptohash-0.11.6’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/UUID/V5.hs:33:18: Could not find module ‘Crypto.Hash.SHA1’ There are files missing in the ‘cryptohash-0.11.6’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Building resourcet-1.1.4.1... Failed to install resourcet-1.1.4.1 Build log ( /Users/py/.cabal/logs/resourcet-1.1.4.1.log ): Configuring resourcet-1.1.4.1... Building resourcet-1.1.4.1... Preprocessing library resourcet-1.1.4.1... Control/Monad/Trans/Resource.hs:96:8: Could not find module ‘Control.Monad.Morph’ There are files missing in the ‘mmorph-1.0.4’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Building xss-sanitize-0.3.5.5... Failed to install xss-sanitize-0.3.5.5 Build log ( /Users/py/.cabal/logs/xss-sanitize-0.3.5.5.log ): Configuring xss-sanitize-0.3.5.5... Building xss-sanitize-0.3.5.5... Preprocessing library xss-sanitize-0.3.5.5... Text/HTML/SanitizeXSS.hs:33:8: Could not find module ‘Codec.Binary.UTF8.String’ There are files missing in the ‘utf8-string-1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. cabal: Error: some packages failed to install: DAV-1.0.4 depends on resourcet-1.1.4.1 which failed to install. adjunctions-4.2 depends on free-4.11 which failed to install. aeson-0.8.0.2 failed during the building phase. The exception was: ExitFailure 1 asn1-parse-0.9.0 failed during the building phase. The exception was: ExitFailure 1 authenticate-1.3.2.11 depends on resourcet-1.1.4.1 which failed to install. aws-0.11.4 depends on resourcet-1.1.4.1 which failed to install. clientsession-0.9.1.1 depends on crypto-random-0.0.9 which failed to install. conduit-1.2.4 depends on resourcet-1.1.4.1 which failed to install. conduit-extra-1.1.7.2 depends on resourcet-1.1.4.1 which failed to install. connection-0.2.4 depends on socks-0.5.4 which failed to install. cookie-0.4.1.4 failed during the building phase. The exception was: ExitFailure 1 cprng-aes-0.6.1 depends on crypto-random-0.0.9 which failed to install. crypto-numbers-0.2.7 depends on crypto-random-0.0.9 which failed to install. crypto-pubkey-0.2.8 depends on crypto-random-0.0.9 which failed to install. crypto-random-0.0.9 failed during the building phase. The exception was: ExitFailure 1 cryptohash-conduit-0.1.1 depends on resourcet-1.1.4.1 which failed to install. dns-1.4.5 depends on resourcet-1.1.4.1 which failed to install. either-4.3.3.2 depends on free-4.11 which failed to install. errors-1.4.7 depends on free-4.11 which failed to install. esqueleto-2.1.3 depends on resourcet-1.1.4.1 which failed to install. fast-logger-2.3.1 failed during the building phase. The exception was: ExitFailure 1 free-4.11 failed during the building phase. The exception was: ExitFailure 1 git-annex-5.20150420 depends on xss-sanitize-0.3.5.5 which failed to install. gnutls-0.1.5 failed during the building phase. The exception was: ExitFailure 1 gsasl-0.3.5 failed during the configure step. The exception was: ExitFailure 1 hamlet-1.2.0 depends on aeson-0.8.0.2 which failed to install. hfsevents-0.1.5 failed during the building phase. The exception was: ExitFailure 1 hjsmin-0.1.4.7 depends on language-javascript-0.5.13.3 which failed to install. http-client-0.4.11.1 depends on publicsuffixlist-0.1 which failed to install. http-client-tls-0.2.2 depends on socks-0.5.4 which failed to install. http-conduit-2.1.5 depends on resourcet-1.1.4.1 which failed to install. iproute-1.4.0 failed during the building phase. The exception was: ExitFailure 1 kan-extensions-4.2.1 depends on free-4.11 which failed to install. language-javascript-0.5.13.3 failed during the building phase. The exception was: ExitFailure 1 lens-4.9.1 depends on free-4.11 which failed to install. mime-mail-0.4.8.2 failed during the building phase. The exception was: ExitFailure 1 monad-logger-0.3.13.1 depends on resourcet-1.1.4.1 which failed to install. network-protocol-xmpp-0.4.6 depends on gsasl-0.3.5 which failed to install. persistent-2.1.3 depends on resourcet-1.1.4.1 which failed to install. persistent-sqlite-2.1.4.1 depends on resourcet-1.1.4.1 which failed to install. persistent-template-2.1.3 depends on resourcet-1.1.4.1 which failed to install. publicsuffixlist-0.1 failed during the building phase. The exception was: ExitFailure 1 resourcet-1.1.4.1 failed during the building phase. The exception was: ExitFailure 1 shakespeare-2.0.4.1 depends on aeson-0.8.0.2 which failed to install. socks-0.5.4 failed during the building phase. The exception was: ExitFailure 1 tagstream-conduit-0.5.5.3 depends on resourcet-1.1.4.1 which failed to install. tls-1.2.17 depends on crypto-random-0.0.9 which failed to install. uuid-1.3.10 failed during the building phase. The exception was: ExitFailure 1 wai-app-static-3.0.1 depends on resourcet-1.1.4.1 which failed to install. wai-extra-3.0.7.1 depends on resourcet-1.1.4.1 which failed to install. wai-logger-2.2.4 depends on fast-logger-2.3.1 which failed to install. warp-3.0.12 depends on iproute-1.4.0 which failed to install. warp-tls-3.0.3 depends on iproute-1.4.0 which failed to install. x509-1.5.0.1 depends on asn1-parse-0.9.0 which failed to install. x509-store-1.5.0 depends on asn1-parse-0.9.0 which failed to install. x509-system-1.5.0 depends on asn1-parse-0.9.0 which failed to install. x509-validation-1.5.1 depends on crypto-random-0.0.9 which failed to install. xml-conduit-1.2.4 depends on resourcet-1.1.4.1 which failed to install. xml-hamlet-0.4.0.10 depends on resourcet-1.1.4.1 which failed to install. xss-sanitize-0.3.5.5 failed during the building phase. The exception was: ExitFailure 1 yaml-0.8.11 depends on resourcet-1.1.4.1 which failed to install. yesod-1.4.1.5 depends on xss-sanitize-0.3.5.5 which failed to install. yesod-auth-1.4.4 depends on xss-sanitize-0.3.5.5 which failed to install. yesod-core-1.4.9.1 depends on resourcet-1.1.4.1 which failed to install. yesod-default-1.2.0 depends on resourcet-1.1.4.1 which failed to install. yesod-form-1.4.4.1 depends on xss-sanitize-0.3.5.5 which failed to install. yesod-persistent-1.4.0.2 depends on resourcet-1.1.4.1 which failed to install. yesod-static-1.4.0.4 depends on resourcet-1.1.4.1 which failed to install. -- Regards, Peng

On Sat, Apr 25, 2015 at 3:45 PM, Peng Yu
Why cabal install print so many irrelevant messages? Is it better to follow Unix "Rule of Silence" to only print usage error messages?
This is not an irrelevant message: asn1-parse-0.9.0 (reinstall) changes: text-1.2.0.4 added
It's an indication that things are about to go very wrong, as indeed they did. In fact, the errors you got indicate quite a lot of problems with your Haskell installation; you apparently have a bunch of broken packages. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

I clean up all Haskell related things in my home directory.
rm -rf ~/.cabal
rm -rf ~/Library/Haskell
rm -rf ~.ghc/
cabal update
cabal install cabal-install
Then I try to install git-annex again, which shows me the following.
What I should do next?
~$ cabal install git-annex
Resolving dependencies...
In order, the following would be installed:
HUnit-1.2.5.2 (new package)
SafeSemaphore-0.10.1 (new package)
ansi-terminal-0.6.2.1 (new package)
ansi-wl-pprint-0.6.7.2 (new package)
appar-0.1.4 (new package)
async-2.0.2 (new package)
auto-update-0.1.2.1 (new package)
base16-bytestring-0.1.1.6 (new package)
base64-bytestring-1.0.0.1 (new package)
blaze-builder-0.4.0.1 (new package)
blaze-markup-0.7.0.2 (new package)
blaze-html-0.8.0.2 (new package)
bloomfilter-2.0.0.0 (new package)
byteable-0.1.1 (new package)
byteorder-1.0.4 (new package)
bytestring-builder-0.10.6.0.0 (new package)
cereal-0.4.1.1 (new package)
clock-0.4.5.0 (new package)
cryptohash-0.11.6 (new package)
data-default-class-0.0.1 (new package)
data-default-instances-base-0.0.1 (new package)
data-default-instances-containers-0.0.1 (new package)
data-default-instances-old-locale-0.0.1 (new package)
dataenc-0.14.0.7 (new package)
dlist-0.7.1.1 (new package)
data-default-instances-dlist-0.0.1 (new package)
data-default-0.5.3 (new package)
cookie-0.4.1.4 (new package)
easy-file-0.2.0 (new package)
edit-distance-0.2.1.2 (new package)
entropy-0.3.6 (new package)
fast-logger-2.3.1 (new package)
file-embed-0.0.8.2 (new package)
gnuidn-0.2.1 (new package)
hashable-1.2.3.2 (new package)
case-insensitive-1.2.0.4 (new package)
hourglass-0.2.9 (new package)
asn1-types-0.3.0 (new package)
http-types-0.8.6 (new package)
iproute-1.4.0 (new package)
mime-mail-0.4.8.2 (new package)
mime-types-0.1.0.6 (new package)
monad-loops-0.4.2.1 (new package)
nats-1 (new package)
network-info-0.2.0.5 (new package)
network-multicast-0.0.11 (new package)
parallel-3.2.0.6 (new package)
path-pieces-0.2.0 (new package)
prelude-extras-0.4 (new package)
reflection-1.5.1.2 (new package)
safe-0.3.8 (new package)
scientific-0.3.3.8 (new package)
attoparsec-0.12.1.6 (new package)
css-text-0.1.2.1 (new package)
email-validate-2.1.1 (new package)
http-date-0.0.6 (new package)
securemem-0.1.7 (new package)
crypto-cipher-types-0.0.9 (new package)
cipher-aes-0.2.10 (new package)
cipher-des-0.0.6 (new package)
cipher-rc4-0.1.4 (new package)
setenv-0.1.1.3 (new package)
silently-1.2.4.1 (new package)
simple-sendfile-0.2.18 (new package)
socks-0.5.4 (new package)
stm-chans-3.0.0.3 (new package)
stringsearch-0.3.6.6 (new package)
system-filepath-0.4.13.3 (new package)
system-fileio-0.3.16.2 (new package)
tagged-0.8.0.1 (new package)
tagsoup-0.13.3 (new package)
transformers-0.4.3.0 (new version)
StateVar-1.1.0.0 (new package)
crypto-api-0.13.2 (new package)
gsasl-0.3.5 (new package)
mmorph-1.0.4 (new package)
monads-tf-0.1.0.2 (new package)
gnutls-0.1.5 (new package)
mtl-2.2.1 (new version)
IfElse-0.85 (new package)
asn1-encoding-0.9.0 (new package)
asn1-parse-0.9.0 (new package)
crypto-pubkey-types-0.4.3 (new package)
hfsevents-0.1.5 (new package)
hslogger-1.2.8 (new package)
parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1
bencode-0.5.0.1 (new package)
json-0.9.1 (new package)
network-uri-2.6.0.1 (reinstall)
pem-0.2.2 (new package)
primitive-0.6 (new package)
regex-base-0.93.2 (new package)
regex-posix-0.95.2 (new package)
regex-compat-0.95.1 (new package)
MissingH-1.3.0.1 (new package)
regex-tdfa-1.2.0 (new package)
skein-1.0.9.3 (new package)
streaming-commons-0.1.12 (new package)
torrent-10000.0.0 (new package)
transformers-compat-0.4.0.4 (new package)
MonadRandom-0.3.0.2 (new package)
distributive-0.4.4 (new package)
exceptions-0.8.0.2 (new package)
optparse-applicative-0.11.0.2 (new package)
transformers-base-0.4.4 (new package)
monad-control-1.0.0.4 (new package)
lifted-base-0.2.3.6 (new package)
enclosed-exceptions-1.0.1.1 (new package)
resourcet-1.1.4.1 (new package)
unix-compat-0.4.1.4 (new package)
unix-time-0.3.5 (new package)
unordered-containers-0.2.5.1 (new package)
semigroups-0.16.2.2 (new package)
utf8-string-1 (new package)
language-javascript-0.5.13.3 (new package)
hjsmin-0.1.4.7 (new package)
publicsuffixlist-0.1 (new package)
http-client-0.4.11.1 (new package)
uuid-types-1.0.1 (new package)
uuid-1.3.10 (new package)
vault-0.3.0.4 (new package)
vector-0.10.12.3 (new package)
aeson-0.8.0.2 +old-locale (new package)
crypto-random-0.0.9 (new package)
cprng-aes-0.6.1 (new package)
clientsession-0.9.1.1 (new package)
crypto-numbers-0.2.7 (new package)
crypto-pubkey-0.2.8 (new package)
mwc-random-0.13.3.2 (new package)
resource-pool-0.2.3.2 (new package)
shakespeare-2.0.4.1 (new package)
hamlet-1.2.0 (new package)
void-0.7 (new package)
conduit-1.2.4 (new package)
conduit-extra-1.1.7.2 (new package)
contravariant-1.3.1 (new package)
comonad-4.2.5 (new package)
cryptohash-conduit-0.1.1 (new package)
dns-1.4.5 (new package)
monad-logger-0.3.13.1 (new package)
persistent-2.1.3 (new package)
esqueleto-2.1.3 (new package)
persistent-sqlite-2.1.4.1 (new package)
persistent-template-2.1.3 (new package)
semigroupoids-4.3 (new package)
bifunctors-4.2.1 (new package)
profunctors-4.4.1 (new package)
free-4.11 (new package)
adjunctions-4.2 (new package)
either-4.3.3.2 (new package)
errors-1.4.7 (new package)
kan-extensions-4.2.1 (new package)
lens-4.9.1 (new package)
wai-3.0.2.3 (new package)
wai-logger-2.2.4 (new package)
warp-3.0.12.1 (new package)
word8-0.1.2 (new package)
wai-extra-3.0.7.1 (new package)
wai-app-static-3.0.1 (new package)
x509-1.5.0.1 (new package)
x509-store-1.5.0 (new package)
x509-system-1.5.0 (new package)
x509-validation-1.5.1 (new package)
tls-1.2.17 (new package)
connection-0.2.4 (new package)
http-client-tls-0.2.2 (new package)
http-conduit-2.1.5 (new package)
warp-tls-3.0.3 (new package)
xml-types-0.3.4 (new package)
libxml-sax-0.7.5 (new package)
network-protocol-xmpp-0.4.6 (new package)
xml-conduit-1.2.4 (new package)
aws-0.11.4 (new package)
tagstream-conduit-0.5.5.3 (new package)
authenticate-1.3.2.11 (new package)
xml-hamlet-0.4.0.10 (new package)
DAV-1.0.4 (new package)
xss-sanitize-0.3.5.5 (new package)
yaml-0.8.11 (new package)
yesod-core-1.4.9.1 (new package)
yesod-default-1.2.0 (new package)
yesod-persistent-1.4.0.2 (new package)
yesod-form-1.4.4.1 (new package)
yesod-auth-1.4.4 (new package)
yesod-1.4.1.5 (new package)
yesod-static-1.4.0.4 (new package)
git-annex-5.20150420 -testsuite -feed (new package)
cabal: The following packages are likely to be broken by the reinstalls:
HTTP-4000.2.19
Use --force-reinstalls if you want to install anyway.
On Sat, Apr 25, 2015 at 4:18 PM, Brandon Allbery
On Sat, Apr 25, 2015 at 3:45 PM, Peng Yu
wrote: Why cabal install print so many irrelevant messages? Is it better to follow Unix "Rule of Silence" to only print usage error messages?
This is not an irrelevant message:
asn1-parse-0.9.0 (reinstall) changes: text-1.2.0.4 added
It's an indication that things are about to go very wrong, as indeed they did. In fact, the errors you got indicate quite a lot of problems with your Haskell installation; you apparently have a bunch of broken packages.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng

parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1
mtl is almost certainly installed globally, and installing a private copy
is likely to cause all sorts of problems (as indeed cabal told you).
Since I see a bunch of yesod dependencies, I suspect you need to throw out
your global Platform installation because yesod does not bother with
Platform compatibility and in fact breaks it completely. Get a minimal ghc
and install Stackage, because that is the only install that yesod will
tolerate. (And get used to a world where your choices are either to let
yesod determine what you're allowed to install, or use a supposed standard
that certain parts of the Haskell world believe they have a mission to
destroy.)
On Sat, Apr 25, 2015 at 6:01 PM, Peng Yu
I clean up all Haskell related things in my home directory.
rm -rf ~/.cabal rm -rf ~/Library/Haskell rm -rf ~.ghc/ cabal update cabal install cabal-install
Then I try to install git-annex again, which shows me the following. What I should do next?
~$ cabal install git-annex Resolving dependencies... In order, the following would be installed: HUnit-1.2.5.2 (new package) SafeSemaphore-0.10.1 (new package) ansi-terminal-0.6.2.1 (new package) ansi-wl-pprint-0.6.7.2 (new package) appar-0.1.4 (new package) async-2.0.2 (new package) auto-update-0.1.2.1 (new package) base16-bytestring-0.1.1.6 (new package) base64-bytestring-1.0.0.1 (new package) blaze-builder-0.4.0.1 (new package) blaze-markup-0.7.0.2 (new package) blaze-html-0.8.0.2 (new package) bloomfilter-2.0.0.0 (new package) byteable-0.1.1 (new package) byteorder-1.0.4 (new package) bytestring-builder-0.10.6.0.0 (new package) cereal-0.4.1.1 (new package) clock-0.4.5.0 (new package) cryptohash-0.11.6 (new package) data-default-class-0.0.1 (new package) data-default-instances-base-0.0.1 (new package) data-default-instances-containers-0.0.1 (new package) data-default-instances-old-locale-0.0.1 (new package) dataenc-0.14.0.7 (new package) dlist-0.7.1.1 (new package) data-default-instances-dlist-0.0.1 (new package) data-default-0.5.3 (new package) cookie-0.4.1.4 (new package) easy-file-0.2.0 (new package) edit-distance-0.2.1.2 (new package) entropy-0.3.6 (new package) fast-logger-2.3.1 (new package) file-embed-0.0.8.2 (new package) gnuidn-0.2.1 (new package) hashable-1.2.3.2 (new package) case-insensitive-1.2.0.4 (new package) hourglass-0.2.9 (new package) asn1-types-0.3.0 (new package) http-types-0.8.6 (new package) iproute-1.4.0 (new package) mime-mail-0.4.8.2 (new package) mime-types-0.1.0.6 (new package) monad-loops-0.4.2.1 (new package) nats-1 (new package) network-info-0.2.0.5 (new package) network-multicast-0.0.11 (new package) parallel-3.2.0.6 (new package) path-pieces-0.2.0 (new package) prelude-extras-0.4 (new package) reflection-1.5.1.2 (new package) safe-0.3.8 (new package) scientific-0.3.3.8 (new package) attoparsec-0.12.1.6 (new package) css-text-0.1.2.1 (new package) email-validate-2.1.1 (new package) http-date-0.0.6 (new package) securemem-0.1.7 (new package) crypto-cipher-types-0.0.9 (new package) cipher-aes-0.2.10 (new package) cipher-des-0.0.6 (new package) cipher-rc4-0.1.4 (new package) setenv-0.1.1.3 (new package) silently-1.2.4.1 (new package) simple-sendfile-0.2.18 (new package) socks-0.5.4 (new package) stm-chans-3.0.0.3 (new package) stringsearch-0.3.6.6 (new package) system-filepath-0.4.13.3 (new package) system-fileio-0.3.16.2 (new package) tagged-0.8.0.1 (new package) tagsoup-0.13.3 (new package) transformers-0.4.3.0 (new version) StateVar-1.1.0.0 (new package) crypto-api-0.13.2 (new package) gsasl-0.3.5 (new package) mmorph-1.0.4 (new package) monads-tf-0.1.0.2 (new package) gnutls-0.1.5 (new package) mtl-2.2.1 (new version) IfElse-0.85 (new package) asn1-encoding-0.9.0 (new package) asn1-parse-0.9.0 (new package) crypto-pubkey-types-0.4.3 (new package) hfsevents-0.1.5 (new package) hslogger-1.2.8 (new package) parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1 bencode-0.5.0.1 (new package) json-0.9.1 (new package) network-uri-2.6.0.1 (reinstall) pem-0.2.2 (new package) primitive-0.6 (new package) regex-base-0.93.2 (new package) regex-posix-0.95.2 (new package) regex-compat-0.95.1 (new package) MissingH-1.3.0.1 (new package) regex-tdfa-1.2.0 (new package) skein-1.0.9.3 (new package) streaming-commons-0.1.12 (new package) torrent-10000.0.0 (new package) transformers-compat-0.4.0.4 (new package) MonadRandom-0.3.0.2 (new package) distributive-0.4.4 (new package) exceptions-0.8.0.2 (new package) optparse-applicative-0.11.0.2 (new package) transformers-base-0.4.4 (new package) monad-control-1.0.0.4 (new package) lifted-base-0.2.3.6 (new package) enclosed-exceptions-1.0.1.1 (new package) resourcet-1.1.4.1 (new package) unix-compat-0.4.1.4 (new package) unix-time-0.3.5 (new package) unordered-containers-0.2.5.1 (new package) semigroups-0.16.2.2 (new package) utf8-string-1 (new package) language-javascript-0.5.13.3 (new package) hjsmin-0.1.4.7 (new package) publicsuffixlist-0.1 (new package) http-client-0.4.11.1 (new package) uuid-types-1.0.1 (new package) uuid-1.3.10 (new package) vault-0.3.0.4 (new package) vector-0.10.12.3 (new package) aeson-0.8.0.2 +old-locale (new package) crypto-random-0.0.9 (new package) cprng-aes-0.6.1 (new package) clientsession-0.9.1.1 (new package) crypto-numbers-0.2.7 (new package) crypto-pubkey-0.2.8 (new package) mwc-random-0.13.3.2 (new package) resource-pool-0.2.3.2 (new package) shakespeare-2.0.4.1 (new package) hamlet-1.2.0 (new package) void-0.7 (new package) conduit-1.2.4 (new package) conduit-extra-1.1.7.2 (new package) contravariant-1.3.1 (new package) comonad-4.2.5 (new package) cryptohash-conduit-0.1.1 (new package) dns-1.4.5 (new package) monad-logger-0.3.13.1 (new package) persistent-2.1.3 (new package) esqueleto-2.1.3 (new package) persistent-sqlite-2.1.4.1 (new package) persistent-template-2.1.3 (new package) semigroupoids-4.3 (new package) bifunctors-4.2.1 (new package) profunctors-4.4.1 (new package) free-4.11 (new package) adjunctions-4.2 (new package) either-4.3.3.2 (new package) errors-1.4.7 (new package) kan-extensions-4.2.1 (new package) lens-4.9.1 (new package) wai-3.0.2.3 (new package) wai-logger-2.2.4 (new package) warp-3.0.12.1 (new package) word8-0.1.2 (new package) wai-extra-3.0.7.1 (new package) wai-app-static-3.0.1 (new package) x509-1.5.0.1 (new package) x509-store-1.5.0 (new package) x509-system-1.5.0 (new package) x509-validation-1.5.1 (new package) tls-1.2.17 (new package) connection-0.2.4 (new package) http-client-tls-0.2.2 (new package) http-conduit-2.1.5 (new package) warp-tls-3.0.3 (new package) xml-types-0.3.4 (new package) libxml-sax-0.7.5 (new package) network-protocol-xmpp-0.4.6 (new package) xml-conduit-1.2.4 (new package) aws-0.11.4 (new package) tagstream-conduit-0.5.5.3 (new package) authenticate-1.3.2.11 (new package) xml-hamlet-0.4.0.10 (new package) DAV-1.0.4 (new package) xss-sanitize-0.3.5.5 (new package) yaml-0.8.11 (new package) yesod-core-1.4.9.1 (new package) yesod-default-1.2.0 (new package) yesod-persistent-1.4.0.2 (new package) yesod-form-1.4.4.1 (new package) yesod-auth-1.4.4 (new package) yesod-1.4.1.5 (new package) yesod-static-1.4.0.4 (new package) git-annex-5.20150420 -testsuite -feed (new package) cabal: The following packages are likely to be broken by the reinstalls: HTTP-4000.2.19 Use --force-reinstalls if you want to install anyway.
On Sat, Apr 25, 2015 at 4:18 PM, Brandon Allbery
wrote: On Sat, Apr 25, 2015 at 3:45 PM, Peng Yu
wrote: Why cabal install print so many irrelevant messages? Is it better to follow Unix "Rule of Silence" to only print usage error messages?
This is not an irrelevant message:
asn1-parse-0.9.0 (reinstall) changes: text-1.2.0.4 added
It's an indication that things are about to go very wrong, as indeed they did. In fact, the errors you got indicate quite a lot of problems with
your
Haskell installation; you apparently have a bunch of broken packages.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

ghc is installed through macports
(http://blog.omega-prime.co.uk/?p=96 says "but if the version of GHC
you need is in MacPorts I imagine that you can just do port install
ghc".)
I have the following MacPorts ports installed. How to make this work
with macports?
autoconf @2.69_3 (active)
bash @4.3.33_0 (active)
bzip2 @1.0.6_0 (active)
coreutils @8.23_1 (active)
curl @7.42.0_0+ssl (active)
curl-ca-bundle @7.42.0_0 (active)
db48 @4.8.30_4 (active)
db_select @0.1_2 (active)
desktop-file-utils @0.22_0 (active)
ed @1.2_0 (active)
expat @2.1.0_0 (active)
findutils @4.4.2_1 (active)
gawk @4.1.1_2 (active)
gdbm @1.11_1 (active)
getopt @1.1.6_0 (active)
gettext @0.19.4_0 (active)
ghc @7.8.3_2 (active)
git @2.3.5_0+credential_osxkeychain+doc+pcre+perl5_16+python27 (active)
glib2 @2.44.0_0 (active)
gmp @6.0.0_1 (active)
gnutls @3.3.14_0 (active)
grep @2.21_0 (active)
gsed @4.2.2_0 (active)
gzip @1.6_0 (active)
hs-alex @3.1.3_1 (active)
hs-c2hs @0.16.5_3 (active)
hs-happy @1.19.4_1 (active)
hs-language-c @0.4.7_0 (active)
hs-mtl @2.1.3.1_1 (active)
hs-quickcheck @2.6_3 (active)
hs-random @1.0.1.1_5 (active)
hs-syb @0.4.1_1 (active)
htop @0.8.2.2_0 (active)
libcxx @3.6.0_0 (active)
libedit @20140620-3.1_0 (active)
libffi @3.2.1_0 (active)
libiconv @1.14_0 (active)
libidn @1.29_0 (active)
libtasn1 @4.4_0 (active)
libxml2 @2.9.2_2 (active)
libxslt @1.1.28_0 (active)
llvm-3.5 @3.5.2_3 (active)
llvm_select @1.0_0 (active)
m4 @1.4.17_0 (active)
ncurses @5.9_2 (active)
nettle @2.7.1_0 (active)
openssl @1.0.2a_0 (active)
p5.16-authen-sasl @2.160.0_0 (active)
p5.16-cpan-meta @2.150.1_0 (active)
p5.16-cpan-meta-requirements @2.133.0_0 (active)
p5.16-cpan-meta-yaml @0.14.0_0 (active)
p5.16-digest-hmac @1.30.0_0 (active)
p5.16-digest-sha1 @2.130.0_4 (active)
p5.16-error @0.170.230_0 (active)
p5.16-file-slurp-tiny @0.3.0_0 (active)
p5.16-gssapi @0.280.0_2 (active)
p5.16-inc-latest @0.500.0_0 (active)
p5.16-io-socket-ssl @2.12.0_0 (active)
p5.16-module-build @0.421.100_0 (active)
p5.16-module-metadata @1.0.27_0 (active)
p5.16-net-libidn @0.120.0_4 (active)
p5.16-net-smtp-ssl @1.20.0_0 (active)
p5.16-net-ssleay @1.680.0_0 (active)
p5.16-parse-cpan-meta @1.441.400_0 (active)
p5.16-pathtools @3.470.0_1 (active)
p5.16-perl-ostype @1.8.0_0 (active)
p5.16-pod-escapes @1.70.0_0 (active)
p5.16-pod-simple @3.300.0_0 (active)
p5.16-podlators @2.5.3_1 (active)
p5.16-scalar-list-utils @1.410.0_0 (active)
p5.16-sub-uplevel @0.250.0_0 (active)
p5.16-term-readkey @2.320.0_1 (active)
p5.16-test-exception @0.380.0_0 (active)
p5.16-test-nowarnings @1.40.0_1 (active)
p5.16-test-simple @1.1.14_0 (active)
p5.16-test-warn @0.300.0_0 (active)
p5.16-tree-dag_node @1.260.0_0 (active)
p5.16-version @0.991.200_0 (active)
p11-kit @0.22.1_0 (active)
pcre @8.36_0 (active)
perl5 @5.16.3_0+perl5_16 (active)
perl5.16 @5.16.3_1 (active)
pkgconfig @0.28_0 (active)
popt @1.16_0 (active)
python27 @2.7.9_0 (active)
python_select @0.3_4 (active)
readline @6.3.003_0 (active)
rsync @3.1.1_0 (active)
sqlite3 @3.8.8.3_0 (active)
xz @5.2.1_0 (active)
zlib @1.2.8_0 (active)
On Sat, Apr 25, 2015 at 5:14 PM, Brandon Allbery
parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1
mtl is almost certainly installed globally, and installing a private copy is likely to cause all sorts of problems (as indeed cabal told you).
Since I see a bunch of yesod dependencies, I suspect you need to throw out your global Platform installation because yesod does not bother with Platform compatibility and in fact breaks it completely. Get a minimal ghc and install Stackage, because that is the only install that yesod will tolerate. (And get used to a world where your choices are either to let yesod determine what you're allowed to install, or use a supposed standard that certain parts of the Haskell world believe they have a mission to destroy.)
On Sat, Apr 25, 2015 at 6:01 PM, Peng Yu
wrote: I clean up all Haskell related things in my home directory.
rm -rf ~/.cabal rm -rf ~/Library/Haskell rm -rf ~.ghc/ cabal update cabal install cabal-install
Then I try to install git-annex again, which shows me the following. What I should do next?
~$ cabal install git-annex Resolving dependencies... In order, the following would be installed: HUnit-1.2.5.2 (new package) SafeSemaphore-0.10.1 (new package) ansi-terminal-0.6.2.1 (new package) ansi-wl-pprint-0.6.7.2 (new package) appar-0.1.4 (new package) async-2.0.2 (new package) auto-update-0.1.2.1 (new package) base16-bytestring-0.1.1.6 (new package) base64-bytestring-1.0.0.1 (new package) blaze-builder-0.4.0.1 (new package) blaze-markup-0.7.0.2 (new package) blaze-html-0.8.0.2 (new package) bloomfilter-2.0.0.0 (new package) byteable-0.1.1 (new package) byteorder-1.0.4 (new package) bytestring-builder-0.10.6.0.0 (new package) cereal-0.4.1.1 (new package) clock-0.4.5.0 (new package) cryptohash-0.11.6 (new package) data-default-class-0.0.1 (new package) data-default-instances-base-0.0.1 (new package) data-default-instances-containers-0.0.1 (new package) data-default-instances-old-locale-0.0.1 (new package) dataenc-0.14.0.7 (new package) dlist-0.7.1.1 (new package) data-default-instances-dlist-0.0.1 (new package) data-default-0.5.3 (new package) cookie-0.4.1.4 (new package) easy-file-0.2.0 (new package) edit-distance-0.2.1.2 (new package) entropy-0.3.6 (new package) fast-logger-2.3.1 (new package) file-embed-0.0.8.2 (new package) gnuidn-0.2.1 (new package) hashable-1.2.3.2 (new package) case-insensitive-1.2.0.4 (new package) hourglass-0.2.9 (new package) asn1-types-0.3.0 (new package) http-types-0.8.6 (new package) iproute-1.4.0 (new package) mime-mail-0.4.8.2 (new package) mime-types-0.1.0.6 (new package) monad-loops-0.4.2.1 (new package) nats-1 (new package) network-info-0.2.0.5 (new package) network-multicast-0.0.11 (new package) parallel-3.2.0.6 (new package) path-pieces-0.2.0 (new package) prelude-extras-0.4 (new package) reflection-1.5.1.2 (new package) safe-0.3.8 (new package) scientific-0.3.3.8 (new package) attoparsec-0.12.1.6 (new package) css-text-0.1.2.1 (new package) email-validate-2.1.1 (new package) http-date-0.0.6 (new package) securemem-0.1.7 (new package) crypto-cipher-types-0.0.9 (new package) cipher-aes-0.2.10 (new package) cipher-des-0.0.6 (new package) cipher-rc4-0.1.4 (new package) setenv-0.1.1.3 (new package) silently-1.2.4.1 (new package) simple-sendfile-0.2.18 (new package) socks-0.5.4 (new package) stm-chans-3.0.0.3 (new package) stringsearch-0.3.6.6 (new package) system-filepath-0.4.13.3 (new package) system-fileio-0.3.16.2 (new package) tagged-0.8.0.1 (new package) tagsoup-0.13.3 (new package) transformers-0.4.3.0 (new version) StateVar-1.1.0.0 (new package) crypto-api-0.13.2 (new package) gsasl-0.3.5 (new package) mmorph-1.0.4 (new package) monads-tf-0.1.0.2 (new package) gnutls-0.1.5 (new package) mtl-2.2.1 (new version) IfElse-0.85 (new package) asn1-encoding-0.9.0 (new package) asn1-parse-0.9.0 (new package) crypto-pubkey-types-0.4.3 (new package) hfsevents-0.1.5 (new package) hslogger-1.2.8 (new package) parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1 bencode-0.5.0.1 (new package) json-0.9.1 (new package) network-uri-2.6.0.1 (reinstall) pem-0.2.2 (new package) primitive-0.6 (new package) regex-base-0.93.2 (new package) regex-posix-0.95.2 (new package) regex-compat-0.95.1 (new package) MissingH-1.3.0.1 (new package) regex-tdfa-1.2.0 (new package) skein-1.0.9.3 (new package) streaming-commons-0.1.12 (new package) torrent-10000.0.0 (new package) transformers-compat-0.4.0.4 (new package) MonadRandom-0.3.0.2 (new package) distributive-0.4.4 (new package) exceptions-0.8.0.2 (new package) optparse-applicative-0.11.0.2 (new package) transformers-base-0.4.4 (new package) monad-control-1.0.0.4 (new package) lifted-base-0.2.3.6 (new package) enclosed-exceptions-1.0.1.1 (new package) resourcet-1.1.4.1 (new package) unix-compat-0.4.1.4 (new package) unix-time-0.3.5 (new package) unordered-containers-0.2.5.1 (new package) semigroups-0.16.2.2 (new package) utf8-string-1 (new package) language-javascript-0.5.13.3 (new package) hjsmin-0.1.4.7 (new package) publicsuffixlist-0.1 (new package) http-client-0.4.11.1 (new package) uuid-types-1.0.1 (new package) uuid-1.3.10 (new package) vault-0.3.0.4 (new package) vector-0.10.12.3 (new package) aeson-0.8.0.2 +old-locale (new package) crypto-random-0.0.9 (new package) cprng-aes-0.6.1 (new package) clientsession-0.9.1.1 (new package) crypto-numbers-0.2.7 (new package) crypto-pubkey-0.2.8 (new package) mwc-random-0.13.3.2 (new package) resource-pool-0.2.3.2 (new package) shakespeare-2.0.4.1 (new package) hamlet-1.2.0 (new package) void-0.7 (new package) conduit-1.2.4 (new package) conduit-extra-1.1.7.2 (new package) contravariant-1.3.1 (new package) comonad-4.2.5 (new package) cryptohash-conduit-0.1.1 (new package) dns-1.4.5 (new package) monad-logger-0.3.13.1 (new package) persistent-2.1.3 (new package) esqueleto-2.1.3 (new package) persistent-sqlite-2.1.4.1 (new package) persistent-template-2.1.3 (new package) semigroupoids-4.3 (new package) bifunctors-4.2.1 (new package) profunctors-4.4.1 (new package) free-4.11 (new package) adjunctions-4.2 (new package) either-4.3.3.2 (new package) errors-1.4.7 (new package) kan-extensions-4.2.1 (new package) lens-4.9.1 (new package) wai-3.0.2.3 (new package) wai-logger-2.2.4 (new package) warp-3.0.12.1 (new package) word8-0.1.2 (new package) wai-extra-3.0.7.1 (new package) wai-app-static-3.0.1 (new package) x509-1.5.0.1 (new package) x509-store-1.5.0 (new package) x509-system-1.5.0 (new package) x509-validation-1.5.1 (new package) tls-1.2.17 (new package) connection-0.2.4 (new package) http-client-tls-0.2.2 (new package) http-conduit-2.1.5 (new package) warp-tls-3.0.3 (new package) xml-types-0.3.4 (new package) libxml-sax-0.7.5 (new package) network-protocol-xmpp-0.4.6 (new package) xml-conduit-1.2.4 (new package) aws-0.11.4 (new package) tagstream-conduit-0.5.5.3 (new package) authenticate-1.3.2.11 (new package) xml-hamlet-0.4.0.10 (new package) DAV-1.0.4 (new package) xss-sanitize-0.3.5.5 (new package) yaml-0.8.11 (new package) yesod-core-1.4.9.1 (new package) yesod-default-1.2.0 (new package) yesod-persistent-1.4.0.2 (new package) yesod-form-1.4.4.1 (new package) yesod-auth-1.4.4 (new package) yesod-1.4.1.5 (new package) yesod-static-1.4.0.4 (new package) git-annex-5.20150420 -testsuite -feed (new package) cabal: The following packages are likely to be broken by the reinstalls: HTTP-4000.2.19 Use --force-reinstalls if you want to install anyway.
On Sat, Apr 25, 2015 at 4:18 PM, Brandon Allbery
wrote: On Sat, Apr 25, 2015 at 3:45 PM, Peng Yu
wrote: Why cabal install print so many irrelevant messages? Is it better to follow Unix "Rule of Silence" to only print usage error messages?
This is not an irrelevant message:
asn1-parse-0.9.0 (reinstall) changes: text-1.2.0.4 added
It's an indication that things are about to go very wrong, as indeed they did. In fact, the errors you got indicate quite a lot of problems with your Haskell installation; you apparently have a bunch of broken packages.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng

On Sat, Apr 25, 2015 at 6:26 PM, Peng Yu
hs-language-c @0.4.7_0 (active) hs-mtl @2.1.3.1_1 (active) hs-quickcheck @2.6_3 (active) hs-random @1.0.1.1_5 (active) hs-syb @0.4.1_1 (active)
Remove these ports and let cabal install the versions it wants. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

I don't have cabal. How to install cabal? Do I also install with MacPorts?
On Sat, Apr 25, 2015 at 5:31 PM, Brandon Allbery
On Sat, Apr 25, 2015 at 6:26 PM, Peng Yu
wrote: hs-language-c @0.4.7_0 (active) hs-mtl @2.1.3.1_1 (active) hs-quickcheck @2.6_3 (active) hs-random @1.0.1.1_5 (active) hs-syb @0.4.1_1 (active)
Remove these ports and let cabal install the versions it wants.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng

On Sat, Apr 25, 2015 at 7:46 PM, Peng Yu
I don't have cabal. How to install cabal? Do I also install with MacPorts?
Um? How were you doing ~$ cabal install git-annex
if you don't have cabal? -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

On Sat, Apr 25, 2015 at 7:46 PM, Peng Yu
I don't have cabal. How to install cabal? Do I also install with MacPorts?
Turns out if you do that you end up with hs-mtl and friends which will conflict with yesod's dependencies. You'll probably have to do an install from https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-... (apparently there are no binary builds for non-Mavericks, so if you need that then you have a problem :/ ) Or you can remove the MacPorts-based ghc stuff and do an install as recommended by https://stackage.org and make certain it can't find any MacPorts-installed library because that will lead to libiconv conflicts. Apparently the yesod/Stackage folks think this insanity is a good thing. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

On Sat, Apr 25, 2015 at 7:02 PM, Brandon Allbery
On Sat, Apr 25, 2015 at 7:46 PM, Peng Yu
wrote: I don't have cabal. How to install cabal? Do I also install with MacPorts?
Turns out if you do that you end up with hs-mtl and friends which will conflict with yesod's dependencies. You'll probably have to do an install from https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-... (apparently there are no binary builds for non-Mavericks, so if you need that then you have a problem :/ )
This will have a problem with MacPorts as show in this webpage. I do need to have MacPorts installed on my machine. http://blog.omega-prime.co.uk/?p=96
Or you can remove the MacPorts-based ghc stuff and do an install as recommended by https://stackage.org and make certain it can't find any MacPorts-installed library because that will lead to libiconv conflicts.
This is still in conflict with iconv thing as shown in the above webpage. ~$ cabal install cabal-install Resolving dependencies... Downloading mtl-2.2.1... Downloading network-2.6.0.2... Downloading old-locale-1.0.0.7... Configuring mtl-2.2.1... Configuring network-2.6.0.2... Downloading random-1.1... Configuring old-locale-1.0.0.7... Downloading stm-2.4.4... Configuring random-1.1... Downloading text-1.2.0.4... Downloading zlib-0.5.4.2... Failed to install mtl-2.2.1 Build log ( /Users/py/.cabal/logs/mtl-2.2.1.log ): Configuring stm-2.4.4... Configuring text-1.2.0.4... Failed to install network-2.6.0.2 Build log ( /Users/py/.cabal/logs/network-2.6.0.2.log ): Failed to install old-locale-1.0.0.7 Build log ( /Users/py/.cabal/logs/old-locale-1.0.0.7.log ): Configuring zlib-0.5.4.2... Failed to install random-1.1 Build log ( /Users/py/.cabal/logs/random-1.1.log ): Failed to install stm-2.4.4 Build log ( /Users/py/.cabal/logs/stm-2.4.4.log ): Failed to install text-1.2.0.4 Build log ( /Users/py/.cabal/logs/text-1.2.0.4.log ): Failed to install zlib-0.5.4.2 Build log ( /Users/py/.cabal/logs/zlib-0.5.4.2.log ): Error while Error while updating world-file. : /Users/py/Library/Haskell/logs/: openBinaryTempFile: does not exist (No such file or directory) cabal: Error: some packages failed to install: HTTP-4000.2.19 depends on text-1.2.0.4 which failed to install. cabal-install-1.22.3.0 depends on zlib-0.5.4.2 which failed to install. mtl-2.2.1 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) network-2.6.0.2 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) network-uri-2.6.0.1 depends on text-1.2.0.4 which failed to install. old-locale-1.0.0.7 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) old-time-1.1.0.3 depends on old-locale-1.0.0.7 which failed to install. parsec-3.1.9 depends on text-1.2.0.4 which failed to install. random-1.1 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) stm-2.4.4 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) text-1.2.0.4 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) zlib-0.5.4.2 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) )
Apparently the yesod/Stackage folks think this insanity is a good thing.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng

I installed ghc and cabal from source. But I still see the following
error. Could anyone let me know what is wrong? And how to fix it?
$ cabal install git-annex
Resolving dependencies...
Downloading HUnit-1.2.5.2...
Downloading IfElse-0.85...
Downloading SHA-1.6.4.2...
Configuring HUnit-1.2.5.2...
Configuring IfElse-0.85...
Downloading bloomfilter-2.0.0.0...
Downloading dataenc-0.12...
Configuring bloomfilter-2.0.0.0...
Configuring dataenc-0.12...
Downloading extensible-exceptions-0.1.1.4...
Downloading hslogger-1.2.8...
Downloading hxt-charproperties-9.2.0.1...
Building HUnit-1.2.5.2...
Building IfElse-0.85...
Downloading pcre-light-0.4.0.3...
Downloading primitive-0.6...
Downloading regex-base-0.93.2...
Downloading syb-0.4.4...
Downloading transformers-compat-0.4.0.4...
Downloading utf8-string-1...
Building bloomfilter-2.0.0.0...
Building dataenc-0.12...
Failed to install IfElse-0.85
Build log ( /Users/py/.cabal/logs/IfElse-0.85.log ):
Configuring IfElse-0.85...
Building IfElse-0.85...
Preprocessing library IfElse-0.85...
[1 of 1] Compiling Control.Monad.IfElse ( Control/Monad/IfElse.hs,
dist/build/Control/Monad/IfElse.o )
Control/Monad/IfElse.hs:159:11: Warning:
Rule "maybeMP/id" may never fire
because ‘maybeMP’ might inline first
Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘maybeMP’
Control/Monad/IfElse.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Control/Monad/IfElse.hs:17:8:
Could not find module ‘Control.Monad’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Configuring extensible-exceptions-0.1.1.4...
Building extensible-exceptions-0.1.1.4...
Configuring SHA-1.6.4.2...
Failed to install bloomfilter-2.0.0.0
Build log ( /Users/py/.cabal/logs/bloomfilter-2.0.0.0.log ):
Configuring bloomfilter-2.0.0.0...
Building bloomfilter-2.0.0.0...
Preprocessing library bloomfilter-2.0.0.0...
[1 of 7] Compiling Data.BloomFilter.Array ( Data/BloomFilter/Array.hs,
dist/build/Data/BloomFilter/Array.o )
[2 of 7] Compiling Data.BloomFilter.Mutable.Internal (
Data/BloomFilter/Mutable/Internal.hs,
dist/build/Data/BloomFilter/Mutable/Internal.o )
[3 of 7] Compiling Data.BloomFilter.Util ( Data/BloomFilter/Util.hs,
dist/build/Data/BloomFilter/Util.o )
[4 of 7] Compiling Data.BloomFilter.Mutable (
Data/BloomFilter/Mutable.hs, dist/build/Data/BloomFilter/Mutable.o )
Data/BloomFilter/Mutable.hs:136:9:
Non type-variable argument
in the constraint: Data.Array.Base.MArray
(Data.Array.Base.STUArray s) Hash m
(Use FlexibleContexts to permit this)
When checking that ‘loop’ has the inferred type
loop :: forall (m :: * -> *).
Data.Array.Base.MArray (Data.Array.Base.STUArray s) Hash m =>
[Int :* Int] -> m Bool
In an equation for ‘elem’:
elem elt mb
= loop (hashesM mb elt)
where
mu = bitArray mb
loop ((word :* bit) : wbs)
= do { i <- unsafeRead mu word;
.... }
loop _ = return True
Configuring hslogger-1.2.8...
Failed to install extensible-exceptions-0.1.1.4
Build log ( /Users/py/.cabal/logs/extensible-exceptions-0.1.1.4.log ):
Configuring extensible-exceptions-0.1.1.4...
Building extensible-exceptions-0.1.1.4...
Preprocessing library extensible-exceptions-0.1.1.4...
[1 of 1] Compiling Control.Exception.Extensible (
Control/Exception/Extensible.hs,
dist/build/Control/Exception/Extensible.o )
Control/Exception/Extensible.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Control/Exception/Extensible.hs:24:8:
Could not find module ‘Control.Exception’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Building SHA-1.6.4.2...
Building hslogger-1.2.8...
Configuring pcre-light-0.4.0.3...
Failed to install HUnit-1.2.5.2
Build log ( /Users/py/.cabal/logs/HUnit-1.2.5.2.log ):
Configuring HUnit-1.2.5.2...
Building HUnit-1.2.5.2...
Preprocessing library HUnit-1.2.5.2...
[1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.hs,
dist/build/Test/HUnit/Terminal.o )
[2 of 5] Compiling Test.HUnit.Lang ( Test/HUnit/Lang.hs,
dist/build/Test/HUnit/Lang.o )
[3 of 5] Compiling Test.HUnit.Base ( Test/HUnit/Base.hs,
dist/build/Test/HUnit/Base.o )
[4 of 5] Compiling Test.HUnit.Text ( Test/HUnit/Text.hs,
dist/build/Test/HUnit/Text.o )
[5 of 5] Compiling Test.HUnit ( Test/HUnit.hs, dist/build/Test/HUnit.o )
Test/HUnit/Base.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Test/HUnit/Base.hs:39:8:
Could not find module ‘Control.Monad’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Test/HUnit/Lang.hs:34:8:
Could not find module ‘Data.Dynamic’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Test/HUnit/Lang.hs:35:8:
Could not find module ‘Control.Exception’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Test/HUnit/Lang.hs:41:8:
Could not find module ‘Control.DeepSeq’
Perhaps you haven't installed the profiling libraries for package
‘deepseq-1.4.1.1@deeps_FpR4obOZALU1lutWnrBldi’?
Use -v to see a list of the files searched for.
Test/HUnit/Terminal.hs:8:8:
Could not find module ‘Data.Char’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Test/HUnit/Text.hs:17:8:
Could not find module ‘System.IO’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Building pcre-light-0.4.0.3...
Configuring hxt-charproperties-9.2.0.1...
Failed to install dataenc-0.12
Build log ( /Users/py/.cabal/logs/dataenc-0.12.log ):
Configuring dataenc-0.12...
Building dataenc-0.12...
Preprocessing library dataenc-0.12...
[1 of 9] Compiling Codec.Binary.Yenc ( src/Codec/Binary/Yenc.hs,
dist/build/Codec/Binary/Yenc.o )
[2 of 9] Compiling Codec.Binary.Uu ( src/Codec/Binary/Uu.hs,
dist/build/Codec/Binary/Uu.o )
[3 of 9] Compiling Codec.Binary.Base85 ( src/Codec/Binary/Base85.hs,
dist/build/Codec/Binary/Base85.o )
[4 of 9] Compiling Codec.Binary.Base64 ( src/Codec/Binary/Base64.hs,
dist/build/Codec/Binary/Base64.o )
[5 of 9] Compiling Codec.Binary.Base64Url (
src/Codec/Binary/Base64Url.hs, dist/build/Codec/Binary/Base64Url.o )
[6 of 9] Compiling Codec.Binary.Base32 ( src/Codec/Binary/Base32.hs,
dist/build/Codec/Binary/Base32.o )
[7 of 9] Compiling Codec.Binary.Base32Hex (
src/Codec/Binary/Base32Hex.hs, dist/build/Codec/Binary/Base32Hex.o )
[8 of 9] Compiling Codec.Binary.Base16 ( src/Codec/Binary/Base16.hs,
dist/build/Codec/Binary/Base16.o )
[9 of 9] Compiling Codec.Binary.DataEncoding (
src/Codec/Binary/DataEncoding.hs,
dist/build/Codec/Binary/DataEncoding.o )
src/Codec/Binary/Base16.hs:18:8:
Could not find module ‘Control.Monad’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Codec/Binary/Base16.hs:19:8:
Could not find module ‘Data.Array’
Perhaps you haven't installed the profiling libraries for package
‘array-0.5.1.0@array_FaHmcBFfuRM8kmZLEY8D5S’?
Use -v to see a list of the files searched for.
src/Codec/Binary/Base16.hs:20:8:
Could not find module ‘Data.Bits’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Codec/Binary/Base16.hs:21:8:
Could not find module ‘Data.Maybe’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Codec/Binary/Base16.hs:23:18:
Could not find module ‘Data.Map’
Perhaps you haven't installed the profiling libraries for package
‘containers-0.5.6.2@conta_47ajk3tbda43DFWyeF3oHQ’?
Use -v to see a list of the files searched for.
src/Codec/Binary/Base85.hs:20:8:
Could not find module ‘Data.Char’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Codec/Binary/DataEncoding.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Codec/Binary/DataEncoding.hs:29:8:
Could not find module ‘Data.Word’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Configuring primitive-0.6...
Failed to install hslogger-1.2.8
Build log ( /Users/py/.cabal/logs/hslogger-1.2.8.log ):
Configuring hslogger-1.2.8...
Building hslogger-1.2.8...
Preprocessing library hslogger-1.2.8...
[1 of 8] Compiling System.Log ( src/System/Log.hs,
dist/build/System/Log.o )
[2 of 8] Compiling System.Log.Formatter ( src/System/Log/Formatter.hs,
dist/build/System/Log/Formatter.o )
[3 of 8] Compiling System.Log.Handler ( src/System/Log/Handler.hs,
dist/build/System/Log/Handler.o )
[4 of 8] Compiling System.Log.Handler.Simple (
src/System/Log/Handler/Simple.hs,
dist/build/System/Log/Handler/Simple.o )
[5 of 8] Compiling System.Log.Handler.Syslog (
src/System/Log/Handler/Syslog.hs,
dist/build/System/Log/Handler/Syslog.o )
[6 of 8] Compiling System.Log.Handler.Growl (
src/System/Log/Handler/Growl.hs, dist/build/System/Log/Handler/Growl.o
)
src/System/Log/Handler/Growl.hs:42:1: Warning: Tab character
src/System/Log/Handler/Growl.hs:45:1: Warning: Tab character
src/System/Log/Handler/Growl.hs:47:1: Warning: Tab character
src/System/Log/Handler/Growl.hs:97:1: Warning: Tab character
src/System/Log/Handler/Growl.hs:128:1: Warning: Tab character
src/System/Log/Handler/Growl.hs:130:1: Warning: Tab character
[7 of 8] Compiling System.Log.Handler.Log4jXML (
src/System/Log/Handler/Log4jXML.hs,
dist/build/System/Log/Handler/Log4jXML.o )
[8 of 8] Compiling System.Log.Logger ( src/System/Log/Logger.hs,
dist/build/System/Log/Logger.o )
src/System/Log/Logger.hs:201:1: Warning:
Module ‘Control.Monad.Error’ is deprecated:
Use Control.Monad.Except instead
src/System/Log.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Formatter.hs:24:8:
Could not find module ‘Data.List’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Formatter.hs:25:8:
Could not find module ‘Control.Applicative’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Formatter.hs:26:8:
Could not find module ‘Control.Concurrent’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Formatter.hs:28:8:
Could not find module ‘System.Posix.Process’
Perhaps you haven't installed the profiling libraries for package
‘unix-2.7.1.0@unix_G4Yo1pNtYrk8nCq1cx8P9d’?
Use -v to see a list of the files searched for.
src/System/Log/Formatter.hs:32:8:
Could not find module ‘Data.Time.Format’
Perhaps you haven't installed the profiling libraries for package
‘time-1.5.0.1@time_Hh2clZW6in4HpYHx5bLtb7’?
Use -v to see a list of the files searched for.
src/System/Log/Formatter.hs:36:8:
Could not find module ‘Data.Time’
Perhaps you haven't installed the profiling libraries for package
‘time-1.5.0.1@time_Hh2clZW6in4HpYHx5bLtb7’?
Use -v to see a list of the files searched for.
src/System/Log/Handler.hs:26:8:
Could not find module ‘System.IO’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Growl.hs:19:8:
Could not find module ‘Data.Word’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Simple.hs:23:8:
Could not find module ‘Control.Exception’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Simple.hs:24:8:
Could not find module ‘Data.Char’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Simple.hs:30:8:
Could not find module ‘Control.Concurrent.MVar’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Syslog.hs:49:8:
Could not find module ‘Data.Bits’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Syslog.hs:50:8:
Could not find module ‘Network.Socket’
Perhaps you haven't installed the profiling libraries for package
‘network-2.6.0.2@netwo_JKeOJdh7hF8JAmkFbE91fv’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Syslog.hs:51:8:
Could not find module ‘Network.BSD’
Perhaps you haven't installed the profiling libraries for package
‘network-2.6.0.2@netwo_JKeOJdh7hF8JAmkFbE91fv’?
Use -v to see a list of the files searched for.
src/System/Log/Handler/Syslog.hs:57:8:
Could not find module ‘Control.Monad’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Logger.hs:195:8:
Could not find module ‘System.IO.Unsafe’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Logger.hs:198:8:
Could not find module ‘Data.Maybe’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/System/Log/Logger.hs:199:18:
Could not find module ‘Data.Map’
Perhaps you haven't installed the profiling libraries for package
‘containers-0.5.6.2@conta_47ajk3tbda43DFWyeF3oHQ’?
Use -v to see a list of the files searched for.
src/System/Log/Logger.hs:201:8:
Could not find module ‘Control.Monad.Error’
Perhaps you haven't installed the profiling libraries for package
‘mtl-2.2.1@mtl_6HevPxzlSPX058IyhMPnF5’?
Use -v to see a list of the files searched for.
Building hxt-charproperties-9.2.0.1...
Building primitive-0.6...
Configuring regex-base-0.93.2...
Failed to install pcre-light-0.4.0.3
Build log ( /Users/py/.cabal/logs/pcre-light-0.4.0.3.log ):
[1 of 1] Compiling Main (
/var/folders/nn/p4t2bp0n0znc79dc77q45y9m0000gn/T/pcre-light-0.4.0.3-18582/pcre-light-0.4.0.3/dist/setup/setup.hs,
/var/folders/nn/p4t2bp0n0znc79dc77q45y9m0000gn/T/pcre-light-0.4.0.3-18582/pcre-light-0.4.0.3/dist/setup/Main.o
)
Linking /var/folders/nn/p4t2bp0n0znc79dc77q45y9m0000gn/T/pcre-light-0.4.0.3-18582/pcre-light-0.4.0.3/dist/setup/setup
...
Configuring pcre-light-0.4.0.3...
Building pcre-light-0.4.0.3...
Preprocessing library pcre-light-0.4.0.3...
[1 of 3] Compiling Text.Regex.PCRE.Light.Base (
dist/build/Text/Regex/PCRE/Light/Base.hs,
dist/build/Text/Regex/PCRE/Light/Base.o )
[2 of 3] Compiling Text.Regex.PCRE.Light ( Text/Regex/PCRE/Light.hs,
dist/build/Text/Regex/PCRE/Light.o )
[3 of 3] Compiling Text.Regex.PCRE.Light.Char8 (
Text/Regex/PCRE/Light/Char8.hs,
dist/build/Text/Regex/PCRE/Light/Char8.o )
Text/Regex/PCRE/Light.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:75:18:
Could not find module ‘Data.ByteString’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:78:18:
Could not find module ‘Data.ByteString.Internal’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:79:18:
Could not find module ‘Data.ByteString.Unsafe’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:88:8:
Could not find module ‘System.IO.Unsafe’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:92:8:
Could not find module ‘Foreign’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:93:8:
Could not find module ‘Foreign.Ptr’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:94:8:
Could not find module ‘Foreign.C.Types’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:95:8:
Could not find module ‘Foreign.C.String’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:96:8:
Could not find module ‘Foreign.Storable’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light.hs:97:8:
Could not find module ‘Foreign.Marshal.Alloc’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/PCRE/Light/Char8.hs:70:18:
Could not find module ‘Data.ByteString.Char8’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Building regex-base-0.93.2...
Configuring transformers-compat-0.4.0.4...
Failed to install regex-base-0.93.2
Build log ( /Users/py/.cabal/logs/regex-base-0.93.2.log ):
Configuring regex-base-0.93.2...
Building regex-base-0.93.2...
Preprocessing library regex-base-0.93.2...
[1 of 4] Compiling Text.Regex.Base.RegexLike (
Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o )
[2 of 4] Compiling Text.Regex.Base.Context (
Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o )
[3 of 4] Compiling Text.Regex.Base ( Text/Regex/Base.hs,
dist/build/Text/Regex/Base.o )
Text/Regex/Base.hs:55:13: Warning:
In the use of ‘versionTags’ (imported from Data.Version):
Deprecated: "See GHC ticket #2496"
[4 of 4] Compiling Text.Regex.Base.Impl ( Text/Regex/Base/Impl.hs,
dist/build/Text/Regex/Base/Impl.o )
Text/Regex/Base.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/Base.hs:48:8:
Could not find module ‘Data.Version’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/Base/Context.hs:189:8:
Could not find module ‘Control.Monad’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/Base/RegexLike.hs:42:8:
Could not find module ‘Data.Array’
Perhaps you haven't installed the profiling libraries for package
‘array-0.5.1.0@array_FaHmcBFfuRM8kmZLEY8D5S’?
Use -v to see a list of the files searched for.
Text/Regex/Base/RegexLike.hs:43:8:
Could not find module ‘Data.Maybe’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Text/Regex/Base/RegexLike.hs:44:18:
Could not find module ‘Data.ByteString’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Text/Regex/Base/RegexLike.hs:45:18:
Could not find module ‘Data.ByteString.Lazy’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Text/Regex/Base/RegexLike.hs:46:18:
Could not find module ‘Data.Sequence’
Perhaps you haven't installed the profiling libraries for package
‘containers-0.5.6.2@conta_47ajk3tbda43DFWyeF3oHQ’?
Use -v to see a list of the files searched for.
Configuring syb-0.4.4...
Failed to install primitive-0.6
Build log ( /Users/py/.cabal/logs/primitive-0.6.log ):
Configuring primitive-0.6...
Building primitive-0.6...
Preprocessing library primitive-0.6...
[ 1 of 10] Compiling Data.Primitive.Internal.Compat (
Data/Primitive/Internal/Compat.hs,
dist/build/Data/Primitive/Internal/Compat.o )
[ 2 of 10] Compiling Data.Primitive.MachDeps (
Data/Primitive/MachDeps.hs, dist/build/Data/Primitive/MachDeps.o )
[ 3 of 10] Compiling Data.Primitive.Internal.Operations (
Data/Primitive/Internal/Operations.hs,
dist/build/Data/Primitive/Internal/Operations.o )
[ 4 of 10] Compiling Control.Monad.Primitive (
Control/Monad/Primitive.hs, dist/build/Control/Monad/Primitive.o )
Control/Monad/Primitive.hs:34:1: Warning:
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
Control/Monad/Primitive.hs:39:1: Warning:
Module ‘Control.Monad.Trans.Error’ is deprecated:
Use Control.Monad.Trans.Except instead
Control/Monad/Primitive.hs:98:11: Warning:
In the use of type constructor or class ‘Error’
(imported from Control.Monad.Trans.Error):
Deprecated: "Use Control.Monad.Trans.Except instead"
Control/Monad/Primitive.hs:98:47: Warning:
In the use of type constructor or class ‘ErrorT’
(imported from Control.Monad.Trans.Error):
Deprecated: "Use Control.Monad.Trans.Except instead"
Control/Monad/Primitive.hs:99:19: Warning:
In the use of type constructor or class ‘ErrorT’
(imported from Control.Monad.Trans.Error):
Deprecated: "Use Control.Monad.Trans.Except instead"
[ 5 of 10] Compiling Data.Primitive.Types ( Data/Primitive/Types.hs,
dist/build/Data/Primitive/Types.o )
[ 6 of 10] Compiling Data.Primitive.Array ( Data/Primitive/Array.hs,
dist/build/Data/Primitive/Array.o )
[ 7 of 10] Compiling Data.Primitive.ByteArray (
Data/Primitive/ByteArray.hs, dist/build/Data/Primitive/ByteArray.o )
[ 8 of 10] Compiling Data.Primitive.Addr ( Data/Primitive/Addr.hs,
dist/build/Data/Primitive/Addr.o )
[ 9 of 10] Compiling Data.Primitive ( Data/Primitive.hs,
dist/build/Data/Primitive.o )
[10 of 10] Compiling Data.Primitive.MutVar ( Data/Primitive/MutVar.hs,
dist/build/Data/Primitive/MutVar.o )
Control/Monad/Primitive.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:25:8:
Could not find module ‘GHC.Base’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:27:8:
Could not find module ‘GHC.IO’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:31:8:
Could not find module ‘GHC.ST’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:33:8:
Could not find module ‘Control.Monad.Trans.Class’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:34:8:
Could not find module ‘Data.Monoid’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:36:8:
Could not find module ‘Control.Monad.Trans.Identity’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:37:8:
Could not find module ‘Control.Monad.Trans.List’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:38:8:
Could not find module ‘Control.Monad.Trans.Maybe’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:39:8:
Could not find module ‘Control.Monad.Trans.Error’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:40:8:
Could not find module ‘Control.Monad.Trans.Reader’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:41:8:
Could not find module ‘Control.Monad.Trans.State’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:42:8:
Could not find module ‘Control.Monad.Trans.Writer’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:43:8:
Could not find module ‘Control.Monad.Trans.RWS’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:46:8:
Could not find module ‘Control.Monad.Trans.Except’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:49:18:
Could not find module ‘Control.Monad.Trans.RWS.Strict’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:50:18:
Could not find module ‘Control.Monad.Trans.State.Strict’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Control/Monad/Primitive.hs:51:18:
Could not find module ‘Control.Monad.Trans.Writer.Strict’
Perhaps you haven't installed the profiling libraries for package
‘transformers-0.4.2.0@trans_ALYlebOVzVI4kxbFX5SGhm’?
Use -v to see a list of the files searched for.
Data/Primitive/Addr.hs:34:8:
Could not find module ‘GHC.Ptr’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/Addr.hs:35:8:
Could not find module ‘Foreign.Marshal.Utils’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/ByteArray.hs:39:8:
Could not find module ‘Foreign.C.Types’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/ByteArray.hs:40:8:
Could not find module ‘Data.Word’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/Internal/Compat.hs:26:8:
Could not find module ‘GHC.Exts’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/Types.hs:27:8:
Could not find module ‘GHC.Float’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/Types.hs:30:8:
Could not find module ‘GHC.Word’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/Types.hs:33:8:
Could not find module ‘GHC.Int’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/Types.hs:42:8:
Could not find module ‘Data.Typeable’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Data/Primitive/Types.hs:43:8:
Could not find module ‘Data.Data’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Building transformers-compat-0.4.0.4...
Building syb-0.4.4...
Configuring utf8-string-1...
Failed to install transformers-compat-0.4.0.4
Build log ( /Users/py/.cabal/logs/transformers-compat-0.4.0.4.log ):
Configuring transformers-compat-0.4.0.4...
Building transformers-compat-0.4.0.4...
Preprocessing library transformers-compat-0.4.0.4...
[1 of 1] Compiling Paths_transformers_compat (
dist/build/autogen/Paths_transformers_compat.hs,
dist/build/Paths_transformers_compat.o )
dist/build/autogen/Paths_transformers_compat.hs:8:18:
Could not find module ‘Control.Exception’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
dist/build/autogen/Paths_transformers_compat.hs:9:8:
Could not find module ‘Data.Version’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
dist/build/autogen/Paths_transformers_compat.hs:10:8:
Could not find module ‘System.Environment’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
dist/build/autogen/Paths_transformers_compat.hs:11:8:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Building utf8-string-1...
Failed to install syb-0.4.4
Build log ( /Users/py/.cabal/logs/syb-0.4.4.log ):
Configuring syb-0.4.4...
Building syb-0.4.4...
Preprocessing library syb-0.4.4...
[ 1 of 16] Compiling Data.Generics.Basics (
src/Data/Generics/Basics.hs, dist/build/Data/Generics/Basics.o )
[ 2 of 16] Compiling Generics.SYB.Basics ( src/Generics/SYB/Basics.hs,
dist/build/Generics/SYB/Basics.o )
[ 3 of 16] Compiling Data.Generics.Instances (
src/Data/Generics/Instances.hs, dist/build/Data/Generics/Instances.o )
[ 4 of 16] Compiling Generics.SYB.Instances (
src/Generics/SYB/Instances.hs, dist/build/Generics/SYB/Instances.o )
[ 5 of 16] Compiling Data.Generics.Aliases (
src/Data/Generics/Aliases.hs, dist/build/Data/Generics/Aliases.o )
[ 6 of 16] Compiling Data.Generics.Schemes (
src/Data/Generics/Schemes.hs, dist/build/Data/Generics/Schemes.o )
[ 7 of 16] Compiling Generics.SYB.Schemes (
src/Generics/SYB/Schemes.hs, dist/build/Generics/SYB/Schemes.o )
[ 8 of 16] Compiling Data.Generics.Text ( src/Data/Generics/Text.hs,
dist/build/Data/Generics/Text.o )
[ 9 of 16] Compiling Generics.SYB.Text ( src/Generics/SYB/Text.hs,
dist/build/Generics/SYB/Text.o )
[10 of 16] Compiling Data.Generics.Twins ( src/Data/Generics/Twins.hs,
dist/build/Data/Generics/Twins.o )
[11 of 16] Compiling Generics.SYB.Twins ( src/Generics/SYB/Twins.hs,
dist/build/Generics/SYB/Twins.o )
[12 of 16] Compiling Data.Generics.Builders (
src/Data/Generics/Builders.hs, dist/build/Data/Generics/Builders.o )
[13 of 16] Compiling Generics.SYB.Builders (
src/Generics/SYB/Builders.hs, dist/build/Generics/SYB/Builders.o )
[14 of 16] Compiling Generics.SYB.Aliases (
src/Generics/SYB/Aliases.hs, dist/build/Generics/SYB/Aliases.o )
[15 of 16] Compiling Data.Generics ( src/Data/Generics.hs,
dist/build/Data/Generics.o )
[16 of 16] Compiling Generics.SYB ( src/Generics/SYB.hs,
dist/build/Generics/SYB.o )
src/Data/Generics.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics.hs:33:8:
Could not find module ‘Data.Data’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Aliases.hs:66:8:
Could not find module ‘Control.Monad’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Instances.hs:32:8:
Could not find module ‘GHC.IO.Handle’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Instances.hs:36:8:
Could not find module ‘GHC.Stable’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Instances.hs:37:8:
Could not find module ‘GHC.ST’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Instances.hs:38:8:
Could not find module ‘GHC.Conc’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Instances.hs:39:8:
Could not find module ‘Data.IORef’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Instances.hs:40:8:
Could not find module ‘Control.Concurrent’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Generics/Text.hs:36:8:
Could not find module ‘Text.ParserCombinators.ReadP’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Failed to install utf8-string-1
Build log ( /Users/py/.cabal/logs/utf8-string-1.log ):
Configuring utf8-string-1...
Building utf8-string-1...
Preprocessing library utf8-string-1...
[1 of 5] Compiling Codec.Binary.UTF8.String (
Codec/Binary/UTF8/String.hs, dist/build/Codec/Binary/UTF8/String.o )
[2 of 5] Compiling Codec.Binary.UTF8.Generic (
Codec/Binary/UTF8/Generic.hs, dist/build/Codec/Binary/UTF8/Generic.o )
[3 of 5] Compiling Data.String.UTF8 ( Data/String/UTF8.hs,
dist/build/Data/String/UTF8.o )
[4 of 5] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs,
dist/build/Data/ByteString/UTF8.o )
[5 of 5] Compiling Data.ByteString.Lazy.UTF8 (
Data/ByteString/Lazy/UTF8.hs, dist/build/Data/ByteString/Lazy/UTF8.o )
Codec/Binary/UTF8/Generic.hs:35:8:
Could not find module ‘Data.Int’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Codec/Binary/UTF8/Generic.hs:37:18:
Could not find module ‘Data.ByteString’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Codec/Binary/UTF8/Generic.hs:38:18:
Could not find module ‘Data.ByteString.Lazy’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
Codec/Binary/UTF8/Generic.hs:39:18:
Could not find module ‘Data.List’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Codec/Binary/UTF8/String.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Codec/Binary/UTF8/String.hs:29:8:
Could not find module ‘Data.Word’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Codec/Binary/UTF8/String.hs:30:8:
Could not find module ‘Data.Bits’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Codec/Binary/UTF8/String.hs:31:8:
Could not find module ‘Data.Char’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Failed to install hxt-charproperties-9.2.0.1
Build log ( /Users/py/.cabal/logs/hxt-charproperties-9.2.0.1.log ):
Configuring hxt-charproperties-9.2.0.1...
Building hxt-charproperties-9.2.0.1...
Preprocessing library hxt-charproperties-9.2.0.1...
[1 of 4] Compiling Data.Set.CharSet ( src/Data/Set/CharSet.hs,
dist/build/Data/Set/CharSet.o )
[2 of 4] Compiling Data.Char.Properties.XMLCharProps (
src/Data/Char/Properties/XMLCharProps.hs,
dist/build/Data/Char/Properties/XMLCharProps.o )
[3 of 4] Compiling Data.Char.Properties.UnicodeCharProps (
src/Data/Char/Properties/UnicodeCharProps.hs,
dist/build/Data/Char/Properties/UnicodeCharProps.o )
[4 of 4] Compiling Data.Char.Properties.UnicodeBlocks (
src/Data/Char/Properties/UnicodeBlocks.hs,
dist/build/Data/Char/Properties/UnicodeBlocks.o )
src/Data/Char/Properties/UnicodeBlocks.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
Failed to install SHA-1.6.4.2
Build log ( /Users/py/.cabal/logs/SHA-1.6.4.2.log ):
Configuring SHA-1.6.4.2...
Building SHA-1.6.4.2...
Preprocessing library SHA-1.6.4.2...
[1 of 1] Compiling Data.Digest.Pure.SHA ( src/Data/Digest/Pure/SHA.hs,
dist/build/Data/Digest/Pure/SHA.o )
src/Data/Digest/Pure/SHA.hs:1:1:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:42:8:
Could not find module ‘Data.Binary’
Perhaps you haven't installed the profiling libraries for package
‘binary-0.7.3.0@binar_EKE3c9Lmxb3DQpU0fPtru6’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:43:8:
Could not find module ‘Data.Binary.Get’
Perhaps you haven't installed the profiling libraries for package
‘binary-0.7.3.0@binar_EKE3c9Lmxb3DQpU0fPtru6’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:44:8:
Could not find module ‘Data.Binary.Put’
Perhaps you haven't installed the profiling libraries for package
‘binary-0.7.3.0@binar_EKE3c9Lmxb3DQpU0fPtru6’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:45:8:
Could not find module ‘Data.Bits’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:47:18:
Could not find module ‘Data.ByteString.Lazy’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:48:18:
Could not find module ‘Data.ByteString’
Perhaps you haven't installed the profiling libraries for package
‘bytestring-0.10.6.0@bytes_6vj5EoliHgNHISHCVCb069’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:49:8:
Could not find module ‘Data.Char’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
src/Data/Digest/Pure/SHA.hs:50:8:
Could not find module ‘Data.List’
Perhaps you haven't installed the profiling libraries for package
‘base-4.8.0.0’?
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
Crypto-4.2.5.1 depends on primitive-0.6 which failed to install.
HUnit-1.2.5.2 failed during the building phase. The exception was:
ExitFailure 1
IfElse-0.85 failed during the building phase. The exception was:
ExitFailure 1
MissingH-1.3.0.1 depends on regex-base-0.93.2 which failed to install.
QuickCheck-2.8.1 depends on primitive-0.6 which failed to install.
SHA-1.6.4.2 failed during the building phase. The exception was:
ExitFailure 1
bloomfilter-2.0.0.0 failed during the building phase. The exception was:
ExitFailure 1
dataenc-0.12 failed during the building phase. The exception was:
ExitFailure 1
extensible-exceptions-0.1.1.4 failed during the building phase. The exception
was:
ExitFailure 1
git-annex-3.20120406 depends on SHA-1.6.4.2 which failed to install.
hS3-0.5.9 depends on hxt-charproperties-9.2.0.1 which failed to install.
hslogger-1.2.8 failed during the building phase. The exception was:
ExitFailure 1
hxt-9.3.1.15 depends on hxt-charproperties-9.2.0.1 which failed to install.
hxt-charproperties-9.2.0.1 failed during the building phase. The exception
was:
ExitFailure 1
hxt-regex-xmlschema-9.2.0.2 depends on hxt-charproperties-9.2.0.1 which failed
to install.
hxt-unicode-9.0.2.4 depends on hxt-charproperties-9.2.0.1 which failed to
install.
json-0.9.1 depends on syb-0.4.4 which failed to install.
lifted-base-0.2.3.6 depends on transformers-compat-0.4.0.4 which failed to
install.
monad-control-1.0.0.4 depends on transformers-compat-0.4.0.4 which failed to
install.
pcre-light-0.4.0.3 failed during the building phase. The exception was:
ExitFailure 1
primitive-0.6 failed during the building phase. The exception was:
ExitFailure 1
regex-base-0.93.2 failed during the building phase. The exception was:
ExitFailure 1
regex-compat-0.95.1 depends on regex-base-0.93.2 which failed to install.
regex-posix-0.95.2 depends on regex-base-0.93.2 which failed to install.
syb-0.4.4 failed during the building phase. The exception was:
ExitFailure 1
tf-random-0.5 depends on primitive-0.6 which failed to install.
transformers-base-0.4.4 depends on transformers-compat-0.4.0.4 which failed to
install.
transformers-compat-0.4.0.4 failed during the building phase. The exception
was:
ExitFailure 1
utf8-string-1 failed during the building phase. The exception was:
ExitFailure 1
On Sat, Apr 25, 2015 at 7:37 PM, Peng Yu
On Sat, Apr 25, 2015 at 7:02 PM, Brandon Allbery
wrote: On Sat, Apr 25, 2015 at 7:46 PM, Peng Yu
wrote: I don't have cabal. How to install cabal? Do I also install with MacPorts?
Turns out if you do that you end up with hs-mtl and friends which will conflict with yesod's dependencies. You'll probably have to do an install from https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-... (apparently there are no binary builds for non-Mavericks, so if you need that then you have a problem :/ )
This will have a problem with MacPorts as show in this webpage. I do need to have MacPorts installed on my machine.
http://blog.omega-prime.co.uk/?p=96
Or you can remove the MacPorts-based ghc stuff and do an install as recommended by https://stackage.org and make certain it can't find any MacPorts-installed library because that will lead to libiconv conflicts.
This is still in conflict with iconv thing as shown in the above webpage.
~$ cabal install cabal-install Resolving dependencies... Downloading mtl-2.2.1... Downloading network-2.6.0.2... Downloading old-locale-1.0.0.7... Configuring mtl-2.2.1... Configuring network-2.6.0.2... Downloading random-1.1... Configuring old-locale-1.0.0.7... Downloading stm-2.4.4... Configuring random-1.1... Downloading text-1.2.0.4... Downloading zlib-0.5.4.2... Failed to install mtl-2.2.1 Build log ( /Users/py/.cabal/logs/mtl-2.2.1.log ): Configuring stm-2.4.4... Configuring text-1.2.0.4... Failed to install network-2.6.0.2 Build log ( /Users/py/.cabal/logs/network-2.6.0.2.log ): Failed to install old-locale-1.0.0.7 Build log ( /Users/py/.cabal/logs/old-locale-1.0.0.7.log ): Configuring zlib-0.5.4.2... Failed to install random-1.1 Build log ( /Users/py/.cabal/logs/random-1.1.log ): Failed to install stm-2.4.4 Build log ( /Users/py/.cabal/logs/stm-2.4.4.log ): Failed to install text-1.2.0.4 Build log ( /Users/py/.cabal/logs/text-1.2.0.4.log ): Failed to install zlib-0.5.4.2 Build log ( /Users/py/.cabal/logs/zlib-0.5.4.2.log ): Error while Error while updating world-file. : /Users/py/Library/Haskell/logs/: openBinaryTempFile: does not exist (No such file or directory) cabal: Error: some packages failed to install: HTTP-4000.2.19 depends on text-1.2.0.4 which failed to install. cabal-install-1.22.3.0 depends on zlib-0.5.4.2 which failed to install. mtl-2.2.1 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) network-2.6.0.2 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) network-uri-2.6.0.1 depends on text-1.2.0.4 which failed to install. old-locale-1.0.0.7 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) old-time-1.1.0.3 depends on old-locale-1.0.0.7 which failed to install. parsec-3.1.9 depends on text-1.2.0.4 which failed to install. random-1.1 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) stm-2.4.4 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) text-1.2.0.4 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ) zlib-0.5.4.2 failed during the configure step. The exception was: user error ('/Applications/ghc-7.10.1.app/Contents/bin/ghc' exited with an error: Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding3_info ) "_iconv_close", referenced from: _hs_iconv_close in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_close) "_iconv_open", referenced from: _hs_iconv_open in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(iconv.o) (maybe you meant: _hs_iconv_open) "_locale_charset", referenced from: _localeEncoding in libHSbase-4.8.0.0-I5BErHzyOm07EBNpKBEeUv.a(PrelIOUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) )
Apparently the yesod/Stackage folks think this insanity is a good thing.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng
-- Regards, Peng

On Sat, Apr 25, 2015 at 10:54 PM, Peng Yu
I installed ghc and cabal from source. But I still see the following error. Could anyone let me know what is wrong? And how to fix it?
Looks like you have cabal configured to build profiling versions of things, but you built ghc without profiling libraries (LibWays didn't include "p"). You may be able to just edit ~/.cabal/config and change any profiling options in there to False (uncommenting if necessary). This also applies to your other question about bootstrapping cabal-install, except that someone told you how to disable its attempt to build profiling versions (since obviously a cabal config can't be used when you're just installing it). -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

I have the following disabled.
~/.cabal$ grep prof config
-- line to your ~/.bash_profile:
-- library-profiling: True
-- executable-profiling: False
But I got this error. How to fix it?
~/.cabal$ cabal install git-annex
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: git-annex-5.20150420 (user goal)
trying: resourcet-1.1.4.1 (dependency of git-annex-5.20150420)
next goal: transformers-compat (dependency of resourcet-1.1.4.1)
rejecting: transformers-compat-0.4.0.4 (global constraint requires ==0.4.0.3)
trying: transformers-compat-0.4.0.3
trying: transformers-compat-0.4.0.3:-two
trying: transformers-compat-0.4.0.3:+three
next goal: transformers (dependency of git-annex-5.20150420)
rejecting: transformers-0.4.2.0/installed-c1a... (conflict:
transformers-compat-0.4.0.3:three => transformers>=0.3 && <0.4)
rejecting: transformers-0.4.3.0, 0.4.2.0, 0.4.1.0, 0.3.0.0, 0.2.2.1, 0.2.2.0,
0.2.1.0, 0.2.0.0, 0.1.4.0, 0.1.3.0, 0.1.1.0, 0.1.0.1, 0.1.0.0, 0.0.1.0,
0.0.0.0, 0.4.0.0 (global constraint requires installed instance)
Dependency tree exhaustively searched.
On Sat, Apr 25, 2015 at 9:58 PM, Brandon Allbery
On Sat, Apr 25, 2015 at 10:54 PM, Peng Yu
wrote: I installed ghc and cabal from source. But I still see the following error. Could anyone let me know what is wrong? And how to fix it?
Looks like you have cabal configured to build profiling versions of things, but you built ghc without profiling libraries (LibWays didn't include "p"). You may be able to just edit ~/.cabal/config and change any profiling options in there to False (uncommenting if necessary).
This also applies to your other question about bootstrapping cabal-install, except that someone told you how to disable its attempt to build profiling versions (since obviously a cabal config can't be used when you're just installing it).
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng

On Sun, Apr 26, 2015 at 12:34 AM, Peng Yu
I have the following disabled. ~/.cabal$ grep prof config -- line to your ~/.bash_profile: -- library-profiling: True -- executable-profiling: False
That's showing the defaults, commented out because that's what they do unless told otherwise. You need to uncomment library-profiling and change it to False. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

Now, I get this. What should I do next to fix it?
~$ cabal install git-annex
Resolving dependencies...
Configuring HUnit-1.2.5.2...
Configuring bloomfilter-2.0.0.0...
Configuring IfElse-0.85...
Configuring SHA-1.6.4.2...
Building IfElse-0.85...
Building HUnit-1.2.5.2...
Building bloomfilter-2.0.0.0...
Building SHA-1.6.4.2...
Configuring dataenc-0.12...
Failed to install bloomfilter-2.0.0.0
Build log ( /Users/py/.cabal/logs/bloomfilter-2.0.0.0.log ):
Configuring bloomfilter-2.0.0.0...
Building bloomfilter-2.0.0.0...
Preprocessing library bloomfilter-2.0.0.0...
[1 of 7] Compiling Data.BloomFilter.Array ( Data/BloomFilter/Array.hs,
dist/build/Data/BloomFilter/Array.o )
[2 of 7] Compiling Data.BloomFilter.Mutable.Internal (
Data/BloomFilter/Mutable/Internal.hs,
dist/build/Data/BloomFilter/Mutable/Internal.o )
[3 of 7] Compiling Data.BloomFilter.Util ( Data/BloomFilter/Util.hs,
dist/build/Data/BloomFilter/Util.o )
[4 of 7] Compiling Data.BloomFilter.Mutable (
Data/BloomFilter/Mutable.hs, dist/build/Data/BloomFilter/Mutable.o )
Data/BloomFilter/Mutable.hs:136:9:
Non type-variable argument
in the constraint: Data.Array.Base.MArray
(Data.Array.Base.STUArray s) Hash m
(Use FlexibleContexts to permit this)
When checking that ‘loop’ has the inferred type
loop :: forall (m :: * -> *).
Data.Array.Base.MArray (Data.Array.Base.STUArray s) Hash m =>
[Int :* Int] -> m Bool
In an equation for ‘elem’:
elem elt mb
= loop (hashesM mb elt)
where
mu = bitArray mb
loop ((word :* bit) : wbs)
= do { i <- unsafeRead mu word;
.... }
loop _ = return True
Configuring extensible-exceptions-0.1.1.4...
Installed IfElse-0.85
Building dataenc-0.12...
Building extensible-exceptions-0.1.1.4...
Configuring hslogger-1.2.8...
Installed extensible-exceptions-0.1.1.4
Building hslogger-1.2.8...
Configuring hxt-charproperties-9.2.0.1...
Installed HUnit-1.2.5.2
Building hxt-charproperties-9.2.0.1...
Configuring pcre-light-0.4.0.3...
Installed dataenc-0.12
Building pcre-light-0.4.0.3...
Configuring primitive-0.6...
Installed hslogger-1.2.8
Building primitive-0.6...
Configuring regex-base-0.93.2...
Installed pcre-light-0.4.0.3
Building regex-base-0.93.2...
Configuring syb-0.4.4...
Installed primitive-0.6
Downloading tf-random-0.5...
Building syb-0.4.4...
Configuring transformers-compat-0.4.0.4...
Installed regex-base-0.93.2
Downloading regex-posix-0.95.2...
Building transformers-compat-0.4.0.4...
Configuring utf8-string-1...
Installed transformers-compat-0.4.0.4
Downloading transformers-base-0.4.4...
Building utf8-string-1...
Configuring tf-random-0.5...
Installed hxt-charproperties-9.2.0.1
Downloading hxt-unicode-9.0.2.4...
Downloading hxt-regex-xmlschema-9.2.0.2...
Building tf-random-0.5...
Configuring regex-posix-0.95.2...
Installed syb-0.4.4
Downloading json-0.9.1...
Building regex-posix-0.95.2...
Configuring transformers-base-0.4.4...
Installed utf8-string-1
Installed tf-random-0.5
Downloading QuickCheck-2.8.1...
Configuring hxt-unicode-9.0.2.4...
Building transformers-base-0.4.4...
Building hxt-unicode-9.0.2.4...
Configuring hxt-regex-xmlschema-9.2.0.2...
Installed transformers-base-0.4.4
Downloading monad-control-1.0.0.4...
Building hxt-regex-xmlschema-9.2.0.2...
Configuring json-0.9.1...
Installed regex-posix-0.95.2
Downloading regex-compat-0.95.1...
Building json-0.9.1...
Installed hxt-unicode-9.0.2.4
Configuring QuickCheck-2.8.1...
Building QuickCheck-2.8.1...
Configuring monad-control-1.0.0.4...
Installed hxt-regex-xmlschema-9.2.0.2
Downloading hxt-9.3.1.15...
Building monad-control-1.0.0.4...
Configuring regex-compat-0.95.1...
Installed monad-control-1.0.0.4
Downloading lifted-base-0.2.3.6...
Installed json-0.9.1
Configuring hxt-9.3.1.15...
Building regex-compat-0.95.1...
Building hxt-9.3.1.15...
Configuring lifted-base-0.2.3.6...
Installed regex-compat-0.95.1
Downloading MissingH-1.3.0.1...
Building lifted-base-0.2.3.6...
Installed lifted-base-0.2.3.6
Configuring MissingH-1.3.0.1...
Building MissingH-1.3.0.1...
Installed QuickCheck-2.8.1
Downloading Crypto-4.2.5.1...
Configuring Crypto-4.2.5.1...
Building Crypto-4.2.5.1...
Installed MissingH-1.3.0.1
Installed SHA-1.6.4.2
Installed Crypto-4.2.5.1
Installed hxt-9.3.1.15
Downloading hS3-0.5.9...
Configuring hS3-0.5.9...
Building hS3-0.5.9...
Installed hS3-0.5.9
Updating documentation index
/Users/py/Library/Haskell/share/doc/x86_64-osx-ghc-7.10.1/index.html
cabal: Error: some packages failed to install:
bloomfilter-2.0.0.0 failed during the building phase. The exception was:
ExitFailure 1
git-annex-3.20120406 depends on bloomfilter-2.0.0.0 which failed to install.
On Sat, Apr 25, 2015 at 11:42 PM, Brandon Allbery
On Sun, Apr 26, 2015 at 12:34 AM, Peng Yu
wrote: I have the following disabled. ~/.cabal$ grep prof config -- line to your ~/.bash_profile: -- library-profiling: True -- executable-profiling: False
That's showing the defaults, commented out because that's what they do unless told otherwise. You need to uncomment library-profiling and change it to False.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng

The package bloomfilter failed to compile because it isn't compatible with
GHC 7.10. You can either `cabal get' the package and patch it locally or
downgrade to GHC 7.8.
Either way it would be a good idea to send a pull request or file an issue
on the package's bugtracker, you can find it here:
http://hackage.haskell.org/package/bloomfilter
On Sun, Apr 26, 2015 at 3:00 PM, Peng Yu
Now, I get this. What should I do next to fix it?
~$ cabal install git-annex Resolving dependencies... Configuring HUnit-1.2.5.2... Configuring bloomfilter-2.0.0.0... Configuring IfElse-0.85... Configuring SHA-1.6.4.2... Building IfElse-0.85... Building HUnit-1.2.5.2... Building bloomfilter-2.0.0.0... Building SHA-1.6.4.2... Configuring dataenc-0.12... Failed to install bloomfilter-2.0.0.0 Build log ( /Users/py/.cabal/logs/bloomfilter-2.0.0.0.log ): Configuring bloomfilter-2.0.0.0... Building bloomfilter-2.0.0.0... Preprocessing library bloomfilter-2.0.0.0... [1 of 7] Compiling Data.BloomFilter.Array ( Data/BloomFilter/Array.hs, dist/build/Data/BloomFilter/Array.o ) [2 of 7] Compiling Data.BloomFilter.Mutable.Internal ( Data/BloomFilter/Mutable/Internal.hs, dist/build/Data/BloomFilter/Mutable/Internal.o ) [3 of 7] Compiling Data.BloomFilter.Util ( Data/BloomFilter/Util.hs, dist/build/Data/BloomFilter/Util.o ) [4 of 7] Compiling Data.BloomFilter.Mutable ( Data/BloomFilter/Mutable.hs, dist/build/Data/BloomFilter/Mutable.o )
Data/BloomFilter/Mutable.hs:136:9: Non type-variable argument in the constraint: Data.Array.Base.MArray (Data.Array.Base.STUArray s) Hash m (Use FlexibleContexts to permit this) When checking that ‘loop’ has the inferred type loop :: forall (m :: * -> *). Data.Array.Base.MArray (Data.Array.Base.STUArray s) Hash m => [Int :* Int] -> m Bool In an equation for ‘elem’: elem elt mb = loop (hashesM mb elt) where mu = bitArray mb loop ((word :* bit) : wbs) = do { i <- unsafeRead mu word; .... } loop _ = return True Configuring extensible-exceptions-0.1.1.4... Installed IfElse-0.85 Building dataenc-0.12... Building extensible-exceptions-0.1.1.4... Configuring hslogger-1.2.8... Installed extensible-exceptions-0.1.1.4 Building hslogger-1.2.8... Configuring hxt-charproperties-9.2.0.1... Installed HUnit-1.2.5.2 Building hxt-charproperties-9.2.0.1... Configuring pcre-light-0.4.0.3... Installed dataenc-0.12 Building pcre-light-0.4.0.3... Configuring primitive-0.6... Installed hslogger-1.2.8 Building primitive-0.6... Configuring regex-base-0.93.2... Installed pcre-light-0.4.0.3 Building regex-base-0.93.2... Configuring syb-0.4.4... Installed primitive-0.6 Downloading tf-random-0.5... Building syb-0.4.4... Configuring transformers-compat-0.4.0.4... Installed regex-base-0.93.2 Downloading regex-posix-0.95.2... Building transformers-compat-0.4.0.4... Configuring utf8-string-1... Installed transformers-compat-0.4.0.4 Downloading transformers-base-0.4.4... Building utf8-string-1... Configuring tf-random-0.5... Installed hxt-charproperties-9.2.0.1 Downloading hxt-unicode-9.0.2.4... Downloading hxt-regex-xmlschema-9.2.0.2... Building tf-random-0.5... Configuring regex-posix-0.95.2... Installed syb-0.4.4 Downloading json-0.9.1... Building regex-posix-0.95.2... Configuring transformers-base-0.4.4... Installed utf8-string-1 Installed tf-random-0.5 Downloading QuickCheck-2.8.1... Configuring hxt-unicode-9.0.2.4... Building transformers-base-0.4.4... Building hxt-unicode-9.0.2.4... Configuring hxt-regex-xmlschema-9.2.0.2... Installed transformers-base-0.4.4 Downloading monad-control-1.0.0.4... Building hxt-regex-xmlschema-9.2.0.2... Configuring json-0.9.1... Installed regex-posix-0.95.2 Downloading regex-compat-0.95.1... Building json-0.9.1... Installed hxt-unicode-9.0.2.4 Configuring QuickCheck-2.8.1... Building QuickCheck-2.8.1... Configuring monad-control-1.0.0.4... Installed hxt-regex-xmlschema-9.2.0.2 Downloading hxt-9.3.1.15... Building monad-control-1.0.0.4... Configuring regex-compat-0.95.1... Installed monad-control-1.0.0.4 Downloading lifted-base-0.2.3.6... Installed json-0.9.1 Configuring hxt-9.3.1.15... Building regex-compat-0.95.1... Building hxt-9.3.1.15... Configuring lifted-base-0.2.3.6... Installed regex-compat-0.95.1 Downloading MissingH-1.3.0.1... Building lifted-base-0.2.3.6... Installed lifted-base-0.2.3.6 Configuring MissingH-1.3.0.1... Building MissingH-1.3.0.1... Installed QuickCheck-2.8.1 Downloading Crypto-4.2.5.1... Configuring Crypto-4.2.5.1... Building Crypto-4.2.5.1... Installed MissingH-1.3.0.1 Installed SHA-1.6.4.2 Installed Crypto-4.2.5.1 Installed hxt-9.3.1.15 Downloading hS3-0.5.9... Configuring hS3-0.5.9... Building hS3-0.5.9... Installed hS3-0.5.9 Updating documentation index /Users/py/Library/Haskell/share/doc/x86_64-osx-ghc-7.10.1/index.html cabal: Error: some packages failed to install: bloomfilter-2.0.0.0 failed during the building phase. The exception was: ExitFailure 1 git-annex-3.20120406 depends on bloomfilter-2.0.0.0 which failed to install.
On Sat, Apr 25, 2015 at 11:42 PM, Brandon Allbery
wrote: On Sun, Apr 26, 2015 at 12:34 AM, Peng Yu
wrote: I have the following disabled. ~/.cabal$ grep prof config -- line to your ~/.bash_profile: -- library-profiling: True -- executable-profiling: False
That's showing the defaults, commented out because that's what they do unless told otherwise. You need to uncomment library-profiling and change it to False.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel
participants (3)
-
Adam Bergmark
-
Brandon Allbery
-
Peng Yu