Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Re: ghc-8.4.3 at Ubuntu (Ut Primum) 2. Re: ghc-8.4.3 at Ubuntu (Andreas Röhler) ---------------------------------------------------------------------- Message: 1 Date: Mon, 4 Jun 2018 09:30:10 +0200 From: Ut Primum <utpri...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] ghc-8.4.3 at Ubuntu Message-ID: <canjdmk+_xzakf3is5v-5kpxerfehr-r_kw75zmucvjrxsb6...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 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.roeh...@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@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180604/7bcacb1d/attachment-0001.html> ------------------------------ Message: 2 Date: Mon, 4 Jun 2018 11:22:15 +0200 From: Andreas Röhler <andreas.roeh...@easy-emacs.de> To: beginners@haskell.org Subject: Re: [Haskell-beginners] ghc-8.4.3 at Ubuntu Message-ID: <a39a46b5-881b-9509-1c77-99455ea76...@easy-emacs.de> Content-Type: text/plain; charset=utf-8; format=flowed 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.roeh...@easy-emacs.de > <mailto:andreas.roeh...@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@haskell.org <mailto:Beginners@haskell.org> > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > > > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 120, Issue 2 *****************************************