[Haskell-cafe] Can't install vector-0.10.9.1 on OS X Maverick

Alfredo Di Napoli alfredo.dinapoli at gmail.com
Sat Nov 2 21:06:08 UTC 2013


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.1
cabal: Error: some packages failed to install:
vector-0.10.9.1 failed during the building phase. The exception was:
ExitFailure 1



I've did the trick of installing gcc-4.8 as described here:

http://cp.reddit.com/r/haskell/comments/1ozukp/anyone_running_ghc_763_on_osx_mavericks/ccxpla5

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131102/3a2b6e5c/attachment-0001.html>


More information about the Haskell-Cafe mailing list