1
我有Win 10 @ x64
計算機。我安裝了Haskell平臺(HP) 8.0.1
,但後來意識到我需要在使用GHC 8
構建時遇到麻煩。所以我卸載了HP 8
,而是安裝了HP 7.10.3
。 cabal目錄中的config
文件仍然是從8安裝的,所以我手動刪除它(因爲7.10.3
的cabal無法解析它)。在cabal-install期間ld.exe找不到庫(Haskell Platform)
現在我有問題cabal安裝任何隱含建設可執行文件的軟件包。請參閱下面的建築物cheapskate
的示例。在構建yaml
時,我有非常類似的消息,所以我想沒有什麼具體的包裝本身。就像我說任何安裝可執行程序包的問題一樣。
Linking dist\build\cheapskate\cheapskate.exe ...
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSxss-sanitize-0.3.5.7-HScF09TDCPn9q2HNPyr3jY
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSutf8-string-1.0.1.1-L8eKHa7Iv9q7FVKUYW6u4b
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHStagsoup-0.14-LkUWVoqDDljLCcz7bB5oLY
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHScss-text-0.1.2.1-EIrTNZIusX93HMVzZkp9UD
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSuniplate-1.6.12-DgRHum07M0vBMdvTsdo5gV
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSdata-default-0.7.1.1-3MPp9dYgnh90NQDAZx5NXx
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSdata-default-instances-old-locale-0.0.1-K6L8Um6XgJK7vZZFbrTNny
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSdata-default-instances-dlist-0.0.1-H5f5Qu8KYxpJlVdwCzbtAY
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSdlist-0.7.1.2-AO7XAasbAeyL0XLKeq1Aui
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSdata-default-instances-containers-0.0.1-Lel7wFldMDA1Zs74nVWKYF
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSdata-default-class-0.1.2.0-4JL8mCHvyuoKtdHwhiuMnt
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSblaze-html-0.8.1.1-89cVIlB12sFJRMi1lQAdfn
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSblaze-markup-0.7.0.3-7gHcQviMQE9GGsKcO1ZT0j
C:/Program Files/Haskell Platform/7.10.3/mingw/bin/ld.exe: cannot find -lHSblaze-builder-0.4.0.2-4HkRnVv5mkB1jlZDT6uaGq
collect2.exe: error: ld returned 1 exit status
cabal: Error: some packages failed to install:
cheapskate-0.1.0.5 failed during the building phase. The exception was:
ExitFailure 1