
Hi I'm having trouble installing Haskell platform using Ubuntu (Karmic Koala). When I run ./configure I get the message configure: error: The Haskell Platform version 2010.1.0.0 requires ghc-6.12.1 It is recommended that you upgrade to ghc-6.12.1 however if you really want to use this release with an unsupported version of GHC then use ./configure --enable-unsupported-ghc-version In synaptic the latest version of ghc is 6.10.xx; I've tried doing ./configure --enable-unsupported-ghc-version, but make fails to set up Cabal. Any suggestions? Should I just try to set up everything piece-meal? Do I need to remove the currently installed version of ghc using synaptic before I try to use the 6.12.1 installer or build it from source. Thanks. Best, Irvin

You can just download and install the binary version of 6.12.1 from
the GHC website [1]. It will stick the GHC binary and libraries under
/usr/local. This shouldn't interfere with Karmic which installs it to
/usr/ and '/usr/local' is usually first on the search path.
Once you have your compiler installed Haskell Platform should be a breeze.
Once everything's working you can then delete using Synaptic.
BTW I know that other people on this list differ but I think
installing any Haskell-related packages using apt-get is a bad idea.
Cabal is so easy that it makes apt-get obsolete.
hth,
-deech
[1] http://www.haskell.org/ghc/download_ghc_6_12_1.html#x86linux
On 4/2/10, Irvin
Hi I'm having trouble installing Haskell platform using Ubuntu (Karmic Koala). When I run ./configure I get the message
configure: error: The Haskell Platform version 2010.1.0.0 requires ghc-6.12.1 It is recommended that you upgrade to ghc-6.12.1 however if you really want to use this release with an unsupported version of GHC then use ./configure --enable-unsupported-ghc-version
In synaptic the latest version of ghc is 6.10.xx; I've tried doing ./configure --enable-unsupported-ghc-version, but make fails to set up Cabal. Any suggestions? Should I just try to set up everything piece-meal? Do I need to remove the currently installed version of ghc using synaptic before I try to use the 6.12.1 installer or build it from source. Thanks. Best, Irvin _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

El vie, 02-04-2010 a las 10:50 -0500, aditya siram escribió:
BTW I know that other people on this list differ but I think installing any Haskell-related packages using apt-get is a bad idea. Cabal is so easy that it makes apt-get obsolete.
hth, -deech
Although I now download and install ghc, and ghc related code, compile and install, and later use cabal exclusively, the advantages of using apt-get ('aptitude', really) were quite evident in the past: - Not too long ago, cabal-installing was by default user-specific, while the manual 'runhaskell Setup.(hs|lhs) install' was system-wide. This caused many problems. - The previously stated issue caused hellish nightmares to beginners when uninstalling some haskell-related package. This was very simple when using apt-get (although it sometimes posed it difficulties, relating crossed dependencies). - (omni)present difference: cabal downloads and compiles code... this means you have to (apt-get )install dev libraries... a lot of them, for some fresh systems (like Ubuntu) which are clearly not oriented toward this task. Presently cabal is much simpler to use... or perhaps it is I who has learned to master its configuration. 'stow' has helped greatly.

Am Freitag 02 April 2010 17:40:53 schrieb Irvin:
Hi I'm having trouble installing Haskell platform using Ubuntu (Karmic Koala). When I run ./configure I get the message
configure: error: The Haskell Platform version 2010.1.0.0 requires ghc-6.12.1 It is recommended that you upgrade to ghc-6.12.1 however if you really want to use this release with an unsupported version of GHC then use ./configure --enable-unsupported-ghc-version
In synaptic the latest version of ghc is 6.10.xx; I've tried doing ./configure --enable-unsupported-ghc-version, but make fails to set up Cabal. Any suggestions?
You could use the previous version of the platform, which was for 6.10.x. Perhaps there's a 6.12.1 in debian unstable, IIRC, Ubuntu uses debian packages, so you could install that then. Or you could build 6.12 from source.
Should I just try to set up everything piece-meal?
Or that. Install just the packages you actually use. That worked before the platform, it will continue to work, though getting a comprehensive set of libraries is a bit more inconvenient.
Do I need to remove the currently installed version of ghc using synaptic before I try to use the 6.12.1 installer or build it from source. Thanks.
If you build from source, you need a working GHC installed, so no. Don't know about the binary, but usually there's no problem having multiple versions of GHC at once, so probably you don't need to uninstall anyway.
Best, Irvin
participants (4)
-
aditya siram
-
Daniel Fischer
-
Irvin
-
MAN