[Haskell-beginners] ghc-8.4.3 at Ubuntu

Andreas Röhler andreas.roehler at easy-emacs.de
Mon Jun 4 09:22:15 UTC 2018


Thanks all!

Will try hsenv.

Meanwhile recipe found here was succesful:

https://www.reddit.com/r/haskell/comments/5jsyr0/announce_ghc_802_release_candidate_2/

Did
sudo apt-add-repository ppa:hvr/ghc
sudo apt update
sudo apt install ghc-8.0.2 cabal-install-1.24

added /opt/ghc/bin to $PATH

Configure done so and make is running...

On 04.06.2018 09:30, Ut Primum wrote:
> Hi,
> It seems as if you have also another version of GHC installed on your 
> computer in another directory (usr/bin/ghc), and its version is 7.10.3, 
> and it is considered the global version.
> You could try to use a virtual environment for installing the version 8.4.3
> 
> http://hackage.haskell.org/package/hsenv
> 
> (I've never tried so I am not sure it works)
> Regards
> 
> Il lun 4 giu 2018, 09:08 Andreas Röhler <andreas.roehler at easy-emacs.de 
> <mailto:andreas.roehler at easy-emacs.de>> ha scritto:
> 
>     While installing ghc-8.4.3-i386-deb8-linux.tar.xz at Debian8 went
>     smoothly, can't se how to install ghc-8.4.3 at Ubuntu resp. Xubuntu:
> 
> 
>     in dir ghc-8.4.3/
> 
>     ./configure
>     checking for gfind... no
>     checking for find... /usr/bin/find
>     checking for sort... /usr/bin/sort
>     checking for GHC Git commit id... given
>     51abb1c88b53e2989a2a8c2939ac4abc04bef194
>     checking for ghc... /usr/bin/ghc
>     checking version of ghc... 7.10.3
>     configure: error: GHC version 8.0 or later is required to compile GHC.
> 
>     Did cabal update
> 
>     and tried haskell-platform for ubuntu
>     https://www.haskell.org/platform/linux.html#linux-ubuntu
> 
>     which seems broken
> 
>     Tried Haskell-platform from source:
> 
>     ./platform.sh
>     ***
>     *** Building hptool
>     ***
>     cabal: unrecognised command: new-build (try --help)
> 
> 
>     Any help?
> 
>     Cheers,
>     Andreas
> 
>     _______________________________________________
>     Beginners mailing list
>     Beginners at haskell.org <mailto:Beginners at haskell.org>
>     http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
> 
> 
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
> 



More information about the Beginners mailing list