Whe je tente d'installer le paquet Haskell "call-haskell-de-rien" que je reçois des messages d'erreur suivants:Haskell cabale: bibliothèque manquante C
cabal.exe: Missing dependency on a foreign library:
* Missing C library: HSrts-ghc8.0.1
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
cabal: Leaving directory 'C:\Users\Manfred\AppData\Local\Temp\cabal-tmp-2460\call-haskell-from-anything-1.0.1.0'
cabal: Error: some packages failed to install:
call-haskell-from-anything-1.0.1.0 failed during the configure step. The
exception was:
ExitFailure 1
Qu'est-ce que ce HSrts-ghc8.0.1 bibliothèque et où puis-je le trouver sur un système Windows? Ou dois-je installer manuellement cette bibliothèque dans Windows?
Edit 1:
En attendant j'ai essayé l'outil "pile" et a obtenu une erreur semblable:
[1 of 1] Compiling Main (C:\Users\Manfred\AppData\Local\Temp\stack4480\call-haskell-from-anything-1.0.1.0\Setup.hs, C:\Users\Manfred\AppData\Local\Temp\stack4480\call-haskell-from-anything-1.0.1.0\.stack-work\dist\2672c1f3\setup\Main.o)
Linking C:\Users\Manfred\AppData\Local\Temp\stack4480\call-haskell-from-anything-1.0.1.0\.stack-work\dist\2672c1f3\setup\setup.exe ...
Configuring call-haskell-from-anything-1.0.1.0...
Determining GHC version: 7.10.3
setup.exe: Missing dependency on a foreign library:
* Missing C library: HSrts-ghc7.10.3
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
Il me semble que cela fait partie de GHC (en particulier, le RTS ou "système d'exécution"). Quelle version de GHC utilisez-vous? – MathematicalOrchid
J'utilise la version 8.0.1 32 bits sur Windows 10 – ManzMoody
OK. Vous n'avez donc pas besoin de * installer * quoi que ce soit, vous avez juste besoin de comprendre où se trouve la DLL, et convaincre Cabal de le trouver. Je ne suis pas exactement sûr de la réponse à l'une de ces parties ... – MathematicalOrchid