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

Carter Schonwald carter.schonwald at gmail.com
Sat Nov 2 22:23:37 UTC 2013


i have no clue.  Doesn't GHC also come prebuilt with Vector?

might be worth filing a ticket on GHC track too. perhaps.


On Sat, Nov 2, 2013 at 6:02 PM, Alfredo Di Napoli <
alfredo.dinapoli at gmail.com> wrote:

> 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 at 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 at 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.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
>>>
>>> _______________________________________________
>>> Haskell-Cafe mailing list
>>> Haskell-Cafe at haskell.org
>>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131102/fb788d0c/attachment.html>


More information about the Haskell-Cafe mailing list