Strange error when cabal installing.

After installing the *Haskell Platform* on my Windows 10 machine, I attempted to cabal install something and got: 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. I've confirmed that the following line is in my cabal config file: extra-prog-path: C:\Program Files\Haskell Platform\8.6.5\msys\usr\bin, C:\Users\capnf\AppData\Roaming\cabal\bin and that there *is* a *sh.exe* file in the "C:\Program Files\Haskell Platform\8.6.5\msys\usr\bin" directory. What am I missing? Thanks, -db

On Sun, 22 Mar 2020, David Banas wrote:
After installing the Haskell Platform on my Windows 10 machine, I attempted to cabal install something and got:
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.
Is this message related to your package or to a package that you import?

To a package that I import. On Sun, Mar 22, 2020 at 5:02 PM Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Sun, 22 Mar 2020, David Banas wrote:
After installing the Haskell Platform on my Windows 10 machine, I attempted to cabal install something and got:
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.
Is this message related to your package or to a package that you import?

This might be an instance of https://github.com/haskell/cabal/issues/3462
Try removing spaces and/or newlines around the comma.
пн, 23 мар. 2020 г. в 07:21, David Banas
To a package that I import.
On Sun, Mar 22, 2020 at 5:02 PM Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Sun, 22 Mar 2020, David Banas wrote:
After installing the Haskell Platform on my Windows 10 machine, I attempted to cabal install something and got:
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.
Is this message related to your package or to a package that you import?
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
participants (3)
-
Alexey Vagarenko
-
David Banas
-
Henning Thielemann