Em Cygwin, como faço para instalar onda de hackage?
Pergunta
A partir de um comando do Windows rápida,
c:\>cabal install curl Resolving dependencies... Configuring curl-1.3.5... cabal: Error: some packages failed to install: curl-1.3.5 failed during the configure step. The exception was: sh: runGenProcess: does not exist (No such file or directory)
Eu instalei o pacote curl-devel do Cygwin, mas a partir de um prompt de cabal install curl
Cygwin também falhar, mesmo se eu ponto --extra-lib-dirs
e --extra-include-dirs
para ele, por exemplo. ,
$ cabal install curl --extra-include-dirs=c:/cygwin/usr/include \ --extra-lib-dirs=c:/cygwin/usr/lib Resolving dependencies... Configuring curl-1.3.5... [...] configure: error: curl libraries not found, so curl package cannot be built See `config.log' for more details. cabal.exe: Error: some packages failed to install: curl-1.3.5 failed during the configure step. The exception was: exit: ExitFailure 1
As tentativas acima são com ghc-6.10.3, Cabal-1.6.0.3, e cabal-install-0.6.2.
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow