Hacker News new | past | comments | ask | show | jobs | submit login

Hmm...

  $ cabal install stack
  Resolving dependencies...
  Configuring stack-0.0.1...
  Building stack-0.0.1...
  Failed to install stack-0.0.1
  Build log ( /Users/Tyilo/.cabal/logs/stack-0.0.1.log ):
  Configuring stack-0.0.1...
  Building stack-0.0.1...
  Preprocessing library stack-0.0.1...
  ...
  [45 of 45] Compiling Stack.Config     ( src/Stack/Config.hs, dist/build/Stack/Config.o )
  ghc: panic! (the 'impossible' happened)
    (GHC version 7.10.1 for x86_64-apple-darwin):
  	Loading temp shared object failed: dlopen(/var/folders/db/kt60mzx93p110r61jzjbf3nw0000gn/T/ghc19215_0/libghc19215_228.dylib, 5): Symbol not found: _stackzuIf4F8EsotzzFA5770kfJV6V_StackziTypesziFlagName_zdfBinaryFlagName_closure
    Referenced from: /var/folders/db/kt60mzx93p110r61jzjbf3nw0000gn/T/ghc19215_0/libghc19215_228.dylib
    Expected in: flat namespace
   in /var/folders/db/kt60mzx93p110r61jzjbf3nw0000gn/T/ghc19215_0/libghc19215_228.dylib
  
  Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
  
  cabal: Error: some packages failed to install:
  stack-0.0.1 failed during the building phase. The exception was:
  ExitFailure 1



This is a bug in GHC 7.10.1 on OS X: https://ghc.haskell.org/trac/ghc/ticket/10322. Until GHC 7.10.2 is released, we recommend building with 7.8.4 on Mac.


The earlier you see failure, the luckier you are. The haskellverse is jammed packed with popular packages that won't build and run properly on your platform.

Nothing quite works except for small toy projects and Haskell +systems whizzes who can dig into native platform arcana.


> The haskellverse is jammed packed with popular packages that won't build and run properly on your platform

This tool is aimed at fixing that, ironically the GP used cabal in an attempt to install a tool fixing cabals problems.

> Nothing quite works except for small toy projects and Haskell +systems whizzes who can dig into native platform arcana.

Not true. Did you have a bad experience building a Haskell package for a specific platform in the past? Stack might let you install it all seamlessly, you should give it a try :)

I recommend installing one of their binaries though: https://github.com/commercialhaskell/stack/wiki/Downloads




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: