<div dir="auto">Hi,<div dir="auto">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.</div><div dir="auto">You could try to use a virtual environment for installing the version 8.4.3</div><div dir="auto"><br></div><div dir="auto"><a href="http://hackage.haskell.org/package/hsenv">http://hackage.haskell.org/package/hsenv</a><br></div><div dir="auto"><br></div><div dir="auto">(I've never tried so I am not sure it works)</div><div dir="auto">Regards</div></div><br><div class="gmail_quote"><div dir="ltr">Il lun 4 giu 2018, 09:08 Andreas Röhler <<a href="mailto:andreas.roehler@easy-emacs.de">andreas.roehler@easy-emacs.de</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">While installing ghc-8.4.3-i386-deb8-linux.tar.xz at Debian8 went <br>
smoothly, can't se how to install ghc-8.4.3 at Ubuntu resp. Xubuntu:<br>
<br>
<br>
in dir ghc-8.4.3/<br>
<br>
./configure<br>
checking for gfind... no<br>
checking for find... /usr/bin/find<br>
checking for sort... /usr/bin/sort<br>
checking for GHC Git commit id... given <br>
51abb1c88b53e2989a2a8c2939ac4abc04bef194<br>
checking for ghc... /usr/bin/ghc<br>
checking version of ghc... 7.10.3<br>
configure: error: GHC version 8.0 or later is required to compile GHC.<br>
<br>
Did cabal update<br>
<br>
and tried haskell-platform for ubuntu<br>
<a href="https://www.haskell.org/platform/linux.html#linux-ubuntu" rel="noreferrer noreferrer" target="_blank">https://www.haskell.org/platform/linux.html#linux-ubuntu</a><br>
<br>
which seems broken<br>
<br>
Tried Haskell-platform from source:<br>
<br>
./platform.sh<br>
***<br>
*** Building hptool<br>
***<br>
cabal: unrecognised command: new-build (try --help)<br>
<br>
<br>
Any help?<br>
<br>
Cheers,<br>
Andreas<br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank" rel="noreferrer">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div>