Installing haskell-platform in Ubuntu 9.10 “Karmic Koala”

Now you can try the Karmic Wallpaper Contest script. Special thanks to Jesse Hallet.

11 comments

  1. davidad wrote,

    I needed libghc6-mtl-prof as well…
    http://gist.github.com/230010

  2. llayland wrote,

    I had to comment out the following in build.sh in order to avoid an invalid option error:

    # if [ -x ../${CABAL_INSTALL_INPLACE} ]; then
    # CABAL_INSTALL_FLAG=”–with-cabal-install=../${CABAL_INSTALL_INPLACE}”
    # fi

  3. Thanks for the tips, but it does not work: haskell-platform fails to install with “sudo checkinstall -y”:

    Installing GLUT-2.1.1.2…

    Error:
    The GLUT-2.1.1.2/Setup script does not exist or cannot be run
    make: *** [install] Error 2

    **** Installation failed. Aborting package creation.

    Restoring overwritten files from backup…OK

    Cleaning up…OK

    Bye.

    So cabal is never installed.

    Help appreciated in fixing this error.

  4. As of Jan 16 2010, there seem to be a problem with the install.sh … Problem and solution discussed here:
    http://trac.haskell.org/haskell-platform/ticket/84

  5. CBrowne wrote,

    @3:
    The wget package link is outdated, should be:
    http://hackage.haskell.org/platform/2010.1.0.0/haskell-platform-2010.1.0.0.tar.gz
    That will get you the latest haskell package.

  6. David Carter wrote,

    Well, I’m defeated. I too get the error reported in comment 3, but the version of Haskell Platform recommended in comment 5 requires GHC 6.12, but the GHC home page says ordinary users shouldn’t use 6.12, but Haskell Platform (with 6.10) instead, and the apt-get commands listed there didn’t upgrade me to 6.12 anyway. Meanwhile I can’t act on comment 4 because trac.haskell.org is down.

    I thought the whole point of Haskell Platform was that newbies like me shouldn’t have to battle with version problems. Could this page be upgraded to a complete set of instructions that will work with Koala? Thanks.

  7. greg wrote,

    I needed to install libghc6-parsec3-prof

  8. Lambdor wrote,

    please create a symbolic link to the latest version! this keeps links in tutorial texts up-to-date.

    also in Ubuntu 10.04 libglut-dev is libglut3-dev

  9. Ken wrote,

    After failing several times on Jaunty, I upgraded to Karmic. To get it working on Karmic, I

    1. Downloaded and built (need this to bootstrap haskell-platform) using sudo:

    ghc-6.12.1-i386-unknown-linux-n.tar.gz

    2. Downloaded and built (sudo make install):

    haskell-platform-2010.1.0.0.tar.gz

    This appeared to work cleanly on my system.

  10. Frederik wrote,

    Works with Lucid Lynx as wellsu

  11. Marcus wrote,

    Following Ken: on an (almost) fresh install of Ubuntu 10.04 Lucid Lynx (amd64), the binary ghc6.12 at

    http://www.haskell.org/ghc/dist/6.12.1/ghc-6.12.1-x86_64-unknown-linux-n.tar.bz2

    configured and installed cleanly.

    Configuring the Haskell platform revealed the following dependencies:

    libgmp3-dev
    zlib1g-dev
    libglut3-dev

    After installing those the rest went smoothly.