Euterpea / Euterpea2

Euterpea version 2
zlib License
220 stars 71 forks source link

Issue for fail to install time-1.11 while using Cabal v1-install Euterpea #44

Closed kaijCH closed 3 years ago

kaijCH commented 3 years ago

Followed instruction on Haskell.org & Euterpea, installed ghci & cabal;

Used cabal v1-install, for cabal --version = 3.2.0.0, ghci --verson =8.10.x

================== logs are printed below:

PS C:\WINDOWS\system32> cabal v1-update Downloading the latest package list from hackage.haskell.org To revert to previous state run: cabal update --index-state='2020-11-14T19:24:56Z' 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 Starting PortMidi-0.2.0.0 Starting bytestring-0.10.8.2 Downloaded heap-1.0.4 Downloading semigroups-0.19.1 Starting heap-1.0.4 Downloaded lazysmallcheck-0.6 Downloading splitmix-0.1.0.3 Starting lazysmallcheck-0.6 Downloaded semigroups-0.19.1 Starting semigroups-0.19.1 Downloaded splitmix-0.1.0.3 Starting splitmix-0.1.0.3 Building PortMidi-0.2.0.0 Building bytestring-0.10.8.2 Building heap-1.0.4 Building lazysmallcheck-0.6 Building semigroups-0.19.1 Building splitmix-0.1.0.3 Completed semigroups-0.19.1 Completed lazysmallcheck-0.6 Completed heap-1.0.4 Completed splitmix-0.1.0.3 Completed PortMidi-0.2.0.0 Completed bytestring-0.10.8.2 Downloading Win32-2.10.1.0 Downloaded Win32-2.10.1.0 Starting Win32-2.10.1.0 Building Win32-2.10.1.0 Completed Win32-2.10.1.0 Downloading time-1.11 Downloaded time-1.11 Starting time-1.11 Failed to install time-1.11 Build log ( C:\Users\12798\AppData\Roaming\cabal\logs\ghc-8.10.2\time-1.11-F1Qsy6rxZ47IoWwgcSJwTt.log ): Configuring time-1.11... cabal.exe: The package has a './configure' script. If you are on Windows, This requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. If you are not on Windows, ensure that an 'sh' command is discoverable in your path.

cabal: Leaving directory 'C:\Users\12798\AppData\Local\Temp\cabal-tmp-15788\time-1.11' cabal.exe: Error: some packages failed to install: Euterpea-2.0.7-ColvwyaxypFCnc4FRIvJLb depends on Euterpea-2.0.7 which failed to install. HCodecs-0.5.1-AAjS44xnOv9HSlbJcq9x2A depends on HCodecs-0.5.1 which failed to install. QuickCheck-2.14.1-Ebkcmho0B6yDKxHRXytSEu depends on QuickCheck-2.14.1 which failed to install. Stream-0.4.7.2-90g1dX2sDa3C8AXsrJox3t depends on Stream-0.4.7.2 which failed to install. arrows-0.4.4.2-DJpYj03BhLOKVYmYpYuBSZ depends on arrows-0.4.4.2 which failed to install. random-1.1-85k8850AB1II1hH9qRabRQ depends on random-1.1 which failed to install. time-1.11-F1Qsy6rxZ47IoWwgcSJwTt failed during the configure step. The exception was: ExitFailure 1

kaijCH commented 3 years ago

just a reminder, Cygwin installation did not helped, it is the env check after Haskell installed I did not finished quite completely