haskell - Which unix compatibility toolchain to use with cabal install on windows? -
trying install blogliterately on win7/64.
- installed hp 2014.2/64
cabal updatecabal install cabal-install- renamed
c:\program files\haskell platform\2014.2.0.0\lib\extralibs\bin\cabal.exe*.old cabal updatecabal install blogliteratelyfails cuz needs unix toolchain install new version ofnetwork- tried installing
mingw, gave cuz package manager pops lists packages suffix32, want64, can't tell http://www.mingw.org/ if supports 64 bit. - tried installing
cygwin64, addedc:\cygwin64\binend ofpath, didn't work, see on internet people thinkcygwindoesn't work ghc anymore, though original error saidcygwinwork - found http://msys2.github.io/, installed it, followed instructions update
pacmanon page, usedwin64 shell - got error
hsopensslmissing c libseay32 ssl32, googling says install http://slproweb.com/products/win32openssl.htmlcabal install hsopenssl --extra-include-dirs="c:/openssl-win64/include" --extra-lib-dirs="c:/openssl-win64"-- works, can't find official looking docs saying needwin32openssl-- why can't cabal install me? - now
cabal install blogliteratelyfails cuzghc.exe: unable load package 'hs-bibutils-5.5'
the error:
ghc.exe: warning: _stricmp msvcrt linked instead of __imp__stricmp ghc.exe: warning: _stricmp msvcrt linked instead of __imp__stricmp ghc.exe: warning: _atoi64 msvcrt linked instead of __imp__atoi64 ghc.exe: warning: toupper msvcrt linked instead of __imp_toupper ghc.exe: warning: _strnicmp msvcrt linked instead of __imp__strnicmp ghc.exe: c:\users\nlab\appdata\roaming\cabal\x86_64-windows-ghc-7.8.3\hs-bibutils-5.5\hshs-bibutils-5.5.o: unknown symbol `strdup' cabal install hs-bibutils --reinstall --force-reinstalls succeeds, same error when retrying blogliterately install. tried moving /c/program files/haskell platform/2014.2.0.0/mingw/bin front of path , again reinstalling hs-bibutils, same result.
what right way this?!?! unix toolchain supposed use, , how supposed configure it? why isn't enough hp includes mingw's binaries? gah.
for posterity, new versions of haskell platform windows (since 8.0.1) allow network build if cabal file augmented few settings described on platform website: https://www.haskell.org/platform/
modify cabal config file (you can verify location running "cabal user-config init") contain following lines: extra-prog-path: c:\program files\haskell platform\8.0.1\msys\usr\bin extra-lib-dirs: c:\program files\haskell platform\8.0.1\mingw\lib extra-include-dirs: c:\program files\haskell platform\8.
Comments
Post a Comment