[Haskell-cafe] Can't install vector-0.10.9.1 on OS X Maverick
Carter Schonwald
carter.schonwald at gmail.com
Sun Nov 3 17:41:56 UTC 2013
Those are the directions for using gcc-4.8 too. I wrote them. Sounds like
you were actually not using GCC 4.8 before..?
On Sunday, November 3, 2013, Alfredo Di Napoli wrote:
> Eventually, this is what worked for me (so gcc 4.8 was a no-go for me):
>
>
> http://haskell-workshop.github.io/tutorials/osx/2013-10-23-mavericks-ghc.html
>
> HTH,
> A.
>
>
> On 2 November 2013 23:17, Alfredo Di Napoli <alfredo.dinapoli at gmail.com>wrote:
>
> Oh, before I forgot (sorry for the spam):
>
> The above cabal cmd worked NOT in a cabal sandbox. Issuing that into a
> cabal sandbox still triggers the problems. I'll try to ask into the cabal
> issue tracker to see if I discover something.
>
> A.
>
>
> On 2 November 2013 23:14, Alfredo Di Napoli <alfredo.dinapoli at gmail.com>wrote:
>
> Ok, for the lost souls which will find this thread, I've solved the
> problem in two steps:
>
> a) Used the script here:
> http://justtesting.org/post/64947952690/the-glasgow-haskell-compiler-ghc-on-os-x-10-9
>
> b) Specifically for the snap problem, I've solved it following the FAQ
> here:
> http://www.haskell.org/haskellwiki/GHC/FAQ#I_get_an_error_message_from_GHCi_about_a_.22duplicate_definition_for_symbol_module_registered.22
>
> The command was:
> cabal install snap --ld-options="-x"
>
> HTH,
> A.
>
>
> On 2 November 2013 22:40, Alfredo Di Napoli <alfredo.dinapoli at gmail.com>wrote:
>
> I'm trying to fiddle with clang scripts from Manuel Chakavarty and this
> one:
>
> https://gist.github.com/mzero/7245290
>
> the former works (vector builds fine), but when installing Snap it
> generates the following error:
>
> Loading package network-2.4.2.0 ...
>
> GHCi runtime linker: fatal error: I found a duplicate definition for symbol
> _hsnet_freeaddrinfo
> whilst processing object file
>
> /Users/adinapoli/programming/haskell/faceguess/.cabal-sandbox/lib/x86_64-osx-ghc-7.6.3/network-2.4.2.0/libHSnetwork-2.4.2.0.a
> This could be caused by:
> * Loading two different object files which export the same symbol
> * Specifying the same object file twice on the GHCi command line
> * An incorrect `package.conf' entry, causing some object to be
> loaded twice.
> GHCi cannot safely continue in this situation. Exiting now. Sorry.
>
> Failed to install snap-0.13.0.4
> cabal: Error: some packages failed to install:
> snap-0.13.0.4 failed during the building phase. The exception was:
> ExitFailure 1
>
>
> I haven't tried the latter, though.
>
> A.
>
>
> On 2 November 2013 22:23, Carter Schonwald <carter.schonwald at gmail.com>wrote:
>
> 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 rei
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131103/7da8a905/attachment.html>
More information about the Haskell-Cafe
mailing list