Difference between revisions of "Talk:ThreadScope Tour/Install"

From HaskellWiki
Jump to navigation Jump to search
(Description of the installation on Mac OS X)
 
(Update with latest release of ghc)
Line 1: Line 1:
 
For what it's worth, I managed to install ThreadScope on Mac OS X Lion:
 
For what it's worth, I managed to install ThreadScope on Mac OS X Lion:
   
  +
* Installed gtk2 through macports (port install gtk2)
* GHC 7.4 rc1 http://www.haskell.org/ghc/dist/7.4.1-rc1/
 
  +
* GHC 7.4.1
 
* Installed the latest version of cabal-install from http://darcs.haskell.org/cabal/
 
* Installed the latest version of cabal-install from http://darcs.haskell.org/cabal/
* Installed alex through cabal
+
* Installed alex and happy through cabal
* Installed happy through cabal. This required one easy type fix: an instance of Num a needed to be replaced by (Eq a, Num a).
 
 
* Installed the latest version of gtk2hs from http://code.haskell.org/gtk2hs/
 
* Installed the latest version of gtk2hs from http://code.haskell.org/gtk2hs/
 
* Installed threadscope through cabal, passing in the option --extra-lib-dirs=/usr/lib to avoid a problem with it linking against the wrong version of libiconv.
 
* Installed threadscope through cabal, passing in the option --extra-lib-dirs=/usr/lib to avoid a problem with it linking against the wrong version of libiconv.

Revision as of 15:45, 13 February 2012

For what it's worth, I managed to install ThreadScope on Mac OS X Lion:

  • Installed gtk2 through macports (port install gtk2)
  • GHC 7.4.1
  • Installed the latest version of cabal-install from http://darcs.haskell.org/cabal/
  • Installed alex and happy through cabal
  • Installed the latest version of gtk2hs from http://code.haskell.org/gtk2hs/
  • Installed threadscope through cabal, passing in the option --extra-lib-dirs=/usr/lib to avoid a problem with it linking against the wrong version of libiconv.