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):HTH,A.On 2 November 2013 23:17, Alfredo Di Napoli <alfredo.dinapoli@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@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-9b) 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.22The command was:cabal install snap --ld-options="-x"HTH,A.
On 2 November 2013 22:40, Alfredo Di Napoli <alfredo.dinapoli@gmail.com> wrote:
I'm trying to fiddle with clang scripts from Manuel Chakavarty and this one:
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_freeaddrinfowhilst 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.aThis 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 beloaded twice.GHCi cannot safely continue in this situation. Exiting now. Sorry.Failed to install snap-0.13.0.4cabal: Error: some packages failed to install:snap-0.13.0.4 failed during the building phase. The exception was:ExitFailure 1I haven't tried the latter, though.A.On 2 November 2013 22:23, Carter Schonwald <carter.schonwald@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@gmail.com> wrote:Hi Carter,I do have Xcode 5 installed, this is the strange thing.Do you suggest to try rei