Cabal failed to install unix-2.7.0.0

I am trying to install a unix package on a windows environment. I use Cygwin, but it still does not work.

The following is a snippet of the error I am getting:

$ cabal install unix Resolving dependencies... Configuring unix-2.7.0.0... Warning: Unknown extensions: CApiFFI, InterruptibleFFI configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for gcc... gcc . . . configure: creating ./config.status config.status: creating unix.buildinfo config.status: creating include/HsUnixConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-gcc cabal.exe: Package unix-2.7.0.0 can't be built on this system. Failed to install unix-2.7.0.0 cabal.exe: Error: some packages failed to install: unix-2.7.0.0 failed during the building phase. The exception was: ExitFailure 1 
+6
source share
1 answer

Cygwin is a partial linux toolkit for windows, it’s great if you need basic things, but installing the full-blown unix cabal plugin may be beyond. You can install the full version of linux os in a virtual machine (the tramp does a great job of this) or use the cloud-based real Unix machine. Linux hosts work fine with remote

Happy walking

+1
source

Source: https://habr.com/ru/post/959323/


All Articles