Gentoo/HaskellPlatform: Difference between revisions
(Mentioned Cabal in the list of things pulled in by emerge) |
(update the masking section to show recent changes) |
||
Line 1: | Line 1: | ||
Gentoo supports the Haskell Platform! | Gentoo supports the Haskell Platform! | ||
==Unmasking | ==Masking and Unmasking== | ||
As of this writing the Gentoo ebuilds for Haskell Platform are no longer hard masked, which means unmasking them is no longer needed. However, on 64 bit systems the ebuilds is not stable yet, so they need to be enabled by adding these entries to /etc/portage/package.keywords | |||
< | <pre> | ||
dev-haskell/haskell-platform | |||
dev-haskell/fgl | |||
dev-haskell/haskell-src | |||
dev-haskell/html | |||
</ | dev-haskell/network | ||
dev-haskell/zlib | |||
dev-haskell/mtl | |||
dev-haskell/cabal-install | |||
dev-haskell/stm | |||
dev-haskell/parsec | |||
dev-haskell/regex-posix | |||
dev-haskell/happy | |||
dev-haskell/xhtml | |||
dev-haskell/editline | |||
dev-haskell/cgi | |||
dev-haskell/parallel | |||
dev-haskell/time | |||
dev-haskell/quickcheck | |||
dev-lang/ghc | |||
dev-haskell/glut | |||
dev-haskell/http | |||
dev-haskell/regex-base | |||
app-admin/haskell-updater | |||
dev-haskell/haddock | |||
</pre> | |||
Furthermore, because the ebuild for haskell-platform (dev-haskell/haskell-platform-2009.2.0.2) uses the old version of ghc (dev-lang/ghc-6.10.4), it will conflict with newer ebuilds that use newer versions such as ghc-6.12.3. In order to resolve this conflict the newer ebuilds that uses ghc-6.12.3 need to be masked by adding these entries to /etc/portage/package.mask | |||
<pre> | |||
=dev-lang/ghc-6.12.3 | |||
=app-admin/haskell-updater-1.1.3.0 | |||
=dev-haskell/stm-2.1.2.2 | |||
=dev-haskell/haddock-2.6.1 | |||
</pre> | |||
==Install== | ==Install== | ||
Line 25: | Line 46: | ||
<code> | <code> | ||
emerge haskell-platform | |||
</code> | </code> | ||
Revision as of 10:48, 5 October 2010
Gentoo supports the Haskell Platform!
Masking and Unmasking
As of this writing the Gentoo ebuilds for Haskell Platform are no longer hard masked, which means unmasking them is no longer needed. However, on 64 bit systems the ebuilds is not stable yet, so they need to be enabled by adding these entries to /etc/portage/package.keywords
dev-haskell/haskell-platform dev-haskell/fgl dev-haskell/haskell-src dev-haskell/html dev-haskell/network dev-haskell/zlib dev-haskell/mtl dev-haskell/cabal-install dev-haskell/stm dev-haskell/parsec dev-haskell/regex-posix dev-haskell/happy dev-haskell/xhtml dev-haskell/editline dev-haskell/cgi dev-haskell/parallel dev-haskell/time dev-haskell/quickcheck dev-lang/ghc dev-haskell/glut dev-haskell/http dev-haskell/regex-base app-admin/haskell-updater dev-haskell/haddock
Furthermore, because the ebuild for haskell-platform (dev-haskell/haskell-platform-2009.2.0.2) uses the old version of ghc (dev-lang/ghc-6.10.4), it will conflict with newer ebuilds that use newer versions such as ghc-6.12.3. In order to resolve this conflict the newer ebuilds that uses ghc-6.12.3 need to be masked by adding these entries to /etc/portage/package.mask
=dev-lang/ghc-6.12.3 =app-admin/haskell-updater-1.1.3.0 =dev-haskell/stm-2.1.2.2 =dev-haskell/haddock-2.6.1
Install
Now, to install, run:
emerge haskell-platform
This will pull the GHC compiler, Cabal, and all the libraries included in HP. If you want haddock documentation, set your USE="doc"
. If you also want profiling libraries, set USE="profile"
.
Feedback
Got any feedback for the packages above? Let us know!
You'll find us in #gentoo-haskell @ freenode
, or send your comments to haskell@gentoo.org.