Cabal install needs C library: Windows

后端 未结 1 771
后悔当初
后悔当初 2021-02-15 15:53

I am trying to cabal install yesod on my Windows machine. I have a relatively fresh install of the Haskell Platform. The cabal install failed, reporting that I need

1条回答
  •  情话喂你
    2021-02-15 16:40

    So, facepalm. I didn't need the source, I didn't need the exe. I needed the dll.

    Under the "precompiled binaries for Windows" section of the website mentioned in my question, I downloaded and extracted the zip file with sqlite3.def and sqlite.dll. Then I used

    cabal install persistent --extra-lib-dirs=C:\Path\To\DllAndDef
    

    The installation appears to have completed successfully. Afterwards, I did a cabal install yesod, which also appears to have completed successfully.

    I suppose if I had put the dll somewhere magical, then I wouldn't have had to use the --extra-lib-dirs= option.

    0 讨论(0)
提交回复
热议问题