Su Cygwin, come installo curl dall'hackage?
Domanda
Da un prompt dei comandi di Windows,
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)
Ho installato il pacchetto curl-devel di Cygwin, ma da un prompt di Cygwin cabal install curl
fallisce, anche se indico --extra-lib-dirs
e --extra-include-dirs
, ad esempio ,
$ 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
I tentativi precedenti sono con ghc-6.10.3, Cabal-1.6.0.3 e cabal-install-0.6.2.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow