Euterpea / Euterpea2

Euterpea version 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot install Euterpea 2 with windows 10 powershell

Narcolembia opened this issue · comments

logs:
PS C:\WINDOWS\system32> cabal v1-install Euterpea
Resolving dependencies...
Downloading PortMidi-0.2.0.0
Downloading bytestring-0.10.8.2
Downloaded PortMidi-0.2.0.0
Downloading heap-1.0.4
Downloaded bytestring-0.10.8.2
Downloading lazysmallcheck-0.6
Downloaded heap-1.0.4
Downloading semigroups-0.19.1
Starting PortMidi-0.2.0.0
Downloaded lazysmallcheck-0.6
Starting heap-1.0.4
Downloaded semigroups-0.19.1
Starting semigroups-0.19.1
Starting bytestring-0.10.8.2
Starting lazysmallcheck-0.6
Building PortMidi-0.2.0.0
Building heap-1.0.4
Building semigroups-0.19.1
Building lazysmallcheck-0.6
Building bytestring-0.10.8.2
Completed semigroups-0.19.1
Completed lazysmallcheck-0.6
Completed heap-1.0.4
Completed PortMidi-0.2.0.0
Completed bytestring-0.10.8.2
Downloading Win32-2.9.0.0
Downloaded Win32-2.9.0.0
Starting Win32-2.9.0.0
Building Win32-2.9.0.0
Failed to install Win32-2.9.0.0
Build log ( C:\Users\maste\AppData\Roaming\cabal\logs\ghc-8.10.2\Win32-2.9.0.0-EPfUgG2Fx9tFAt2DQemzpq.log ):
Preprocessing library for Win32-2.9.0.0..
Building library for Win32-2.9.0.0..
[ 1 of 65] Compiling System.Win32.Exception.Unsupported ( System\Win32\Exception\Unsupported.hs, dist\build\System\Win32\Exception\Unsupported.o )
[ 2 of 65] Compiling System.Win32.Types ( dist\build\System\Win32\Types.hs, dist\build\System\Win32\Types.o )
[ 3 of 65] Compiling System.Win32.Time ( dist\build\System\Win32\Time.hs, dist\build\System\Win32\Time.o )
[ 4 of 65] Compiling System.Win32.String ( System\Win32\String.hs, dist\build\System\Win32\String.o )
[ 5 of 65] Compiling System.Win32.Security ( dist\build\System\Win32\Security.hs, dist\build\System\Win32\Security.o )
[ 6 of 65] Compiling System.Win32.NLS ( dist\build\System\Win32\NLS.hs, dist\build\System\Win32\NLS.o )
[ 7 of 65] Compiling System.Win32.Mem ( dist\build\System\Win32\Mem.hs, dist\build\System\Win32\Mem.o )
[ 8 of 65] Compiling System.Win32.Info ( dist\build\System\Win32\Info.hs, dist\build\System\Win32\Info.o )
[ 9 of 65] Compiling System.Win32.File ( dist\build\System\Win32\File.hs, dist\build\System\Win32\File.o )
[10 of 65] Compiling System.Win32.SymbolicLink ( dist\build\System\Win32\SymbolicLink.hs, dist\build\System\Win32\SymbolicLink.o )
[11 of 65] Compiling System.Win32.Registry ( dist\build\System\Win32\Registry.hs, dist\build\System\Win32\Registry.o )
[12 of 65] Compiling System.Win32.Path ( dist\build\System\Win32\Path.hs, dist\build\System\Win32\Path.o )
[13 of 65] Compiling System.Win32.HardLink ( System\Win32\HardLink.hs, dist\build\System\Win32\HardLink.o )
[14 of 65] Compiling System.Win32.FileMapping ( dist\build\System\Win32\FileMapping.hs, dist\build\System\Win32\FileMapping.o )
[15 of 65] Compiling System.Win32.DebugApi ( dist\build\System\Win32\DebugApi.hs, dist\build\System\Win32\DebugApi.o )
[16 of 65] Compiling System.Win32.Thread ( System\Win32\Thread.hs, dist\build\System\Win32\Thread.o )
[17 of 65] Compiling System.Win32.Process ( dist\build\System\Win32\Process.hs, dist\build\System\Win32\Process.o )
[18 of 65] Compiling System.Win32.DLL ( dist\build\System\Win32\DLL.hs, dist\build\System\Win32\DLL.o )
[19 of 65] Compiling Graphics.Win32.Resource ( dist\build\Graphics\Win32\Resource.hs, dist\build\Graphics\Win32\Resource.o )
[20 of 65] Compiling Graphics.Win32.Message ( dist\build\Graphics\Win32\Message.hs, dist\build\Graphics\Win32\Message.o )
[21 of 65] Compiling Graphics.Win32.GDI.Types ( dist\build\Graphics\Win32\GDI\Types.hs, dist\build\Graphics\Win32\GDI\Types.o )
[22 of 65] Compiling System.Win32.SimpleMAPI ( dist\build\System\Win32\SimpleMAPI.hs, dist\build\System\Win32\SimpleMAPI.o )
[23 of 65] Compiling System.Win32.Shell ( dist\build\System\Win32\Shell.hs, dist\build\System\Win32\Shell.o )
[24 of 65] Compiling Graphics.Win32.Window.PostMessage ( dist\build\Graphics\Win32\Window\PostMessage.hs, dist\build\Graphics\Win32\Window\PostMessage.o )
[25 of 65] Compiling Graphics.Win32.Window.AnimateWindow ( dist\build\Graphics\Win32\Window\AnimateWindow.hs, dist\build\Graphics\Win32\Window\AnimateWindow.o )
[26 of 65] Compiling Graphics.Win32.Window ( dist\build\Graphics\Win32\Window.hs, dist\build\Graphics\Win32\Window.o )
ghc.exe: could not execute: C:/GitLabRunner/builds/2WeHDSFP/0/ghc/ghc/inplace/mingw/bin/ld.exe
cabal: Leaving directory 'C:\Users\maste\AppData\Local\Temp\cabal-tmp-11108\Win32-2.9.0.0'
cabal.exe: Error: some packages failed to install:
Euterpea-2.0.7-6vOzXFQEAEpSQebQpj4oe depends on Euterpea-2.0.7 which failed to
install.
HCodecs-0.5.1-K8REhzFuLy55nvJ6hna2p1 depends on HCodecs-0.5.1 which failed to
install.
QuickCheck-2.14.1-GUeF9hZfEIbB1XLk6l5yis depends on QuickCheck-2.14.1 which
failed to install.
Stream-0.4.7.2-6NJiXYwzghdAlgemj66SEb depends on Stream-0.4.7.2 which failed
to install.
Win32-2.9.0.0-EPfUgG2Fx9tFAt2DQemzpq failed during the building phase. The
exception was:
ExitFailure 1
arrows-0.4.4.2-LB3XI7kxdYPKBZ8D22vCkw depends on arrows-0.4.4.2 which failed
to install.
random-1.1-EZDk0Wy9E2fJc9XB8N115r depends on random-1.1 which failed to
install.
splitmix-0.1.0.1-CEtbg7mzKF36qgXlhVRs8C depends on splitmix-0.1.0.1 which
failed to install.
time-1.10-4Ru8klpD7Pq7FDA2fXxtoz depends on time-1.10 which failed to install.

It looks like you used ghc-8.10.2; the GHC version may be the issue. Please see recommended GHC versions by OS here: http://www.euterpea.com/