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 <pengyu...@gmail.com> wrote: > On Sat, Apr 25, 2015 at 7:02 PM, Brandon Allbery <allber...@gmail.com> wrote: >> >> On Sat, Apr 25, 2015 at 7:46 PM, Peng Yu <pengyu...@gmail.com> 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-x86_64-apple-darwin-mavericks.tar.gz >> (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 >> allber...@gmail.com ballb...@sinenomine.net >> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net > > > > -- > Regards, > Peng -- Regards, Peng _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel