Hi Carter,I do have Xcode 5 installed, this is the strange thing.Do you suggest to try reinstall Xcode or to downgrade gcc? (I'm using 4.8 atm).Also, the error is triggered by base, do you think I should try reinstalling ghc compiling with the newly installed gcc?Thanks,A.On 2 November 2013 21:09, Carter Schonwald <carter.schonwald@gmail.com> wrote:
You need to have xcode 5 installed if you wish for the lib issues to go way if you're using the gcc approach, it sounds like you don't have xcode 5 installed.On Sat, Nov 2, 2013 at 5:06 PM, Alfredo Di Napoli <alfredo.dinapoli@gmail.com> wrote:
_______________________________________________Hello Cafè,this is what I'm getting:╰─$ cabal install vector-0.10.9.1 1 ↵Resolving dependencies...Configuring vector-0.10.9.1...Building vector-0.10.9.1...Preprocessing library vector-0.10.9.1...[ 1 of 19] Compiling Data.Vector.Storable.Internal ( Data/Vector/Storable/Internal.hs, dist/build/Data/Vector/Storable/Internal.o )[ 2 of 19] Compiling Data.Vector.Fusion.Util ( Data/Vector/Fusion/Util.hs, dist/build/Data/Vector/Fusion/Util.o )[ 3 of 19] Compiling Data.Vector.Fusion.Stream.Size ( Data/Vector/Fusion/Stream/Size.hs, dist/build/Data/Vector/Fusion/Stream/Size.o )Data/Vector/Fusion/Stream/Size.hs:25:10: Warning:No explicit method or default declaration for `*'In the instance declaration for `Num Size'Data/Vector/Fusion/Stream/Size.hs:25:10: Warning:No explicit method or default declaration for `abs'In the instance declaration for `Num Size'Data/Vector/Fusion/Stream/Size.hs:25:10: Warning:No explicit method or default declaration for `signum'In the instance declaration for `Num Size'[ 4 of 19] Compiling Data.Vector.Internal.Check ( Data/Vector/Internal/Check.hs, dist/build/Data/Vector/Internal/Check.o )[ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o )Loading package ghc-prim ... linking ... done.Loading package integer-gmp ... linking ... done.Loading package base ... <command line>: can't load .so/.DLL for: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libiconv.dylib (dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libiconv.dylib, 9): no suitable image found. Did find:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libiconv.dylib: mach-o, but wrong filetype)Failed to install vector-0.10.9.1cabal: Error: some packages failed to install:vector-0.10.9.1 failed during the building phase. The exception was:ExitFailure 1I've did the trick of installing gcc-4.8 as described here:I'm running a compiled version of ghc 7.6.3 (so not installed via the Haskell platform).Have anyone stumbled upon this?Thanks,Alfredo
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe