diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-26 18:31:18 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-26 18:31:18 -0400 |
commit | 6194258bdd7cb37fefac87f409f6ebcd84d6406a (patch) | |
tree | 5d16b0a36b0e4ab0283ce14b5a5c53a3df73ec1e /doc/todo/windows_support.mdwn | |
parent | 0ba323cac15c4d4f8d7677dda01e32b05d9bc1a4 (diff) |
tiny process on XMPP
Diffstat (limited to 'doc/todo/windows_support.mdwn')
-rw-r--r-- | doc/todo/windows_support.mdwn | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/doc/todo/windows_support.mdwn b/doc/todo/windows_support.mdwn index 599fbbbbf..67dfc970c 100644 --- a/doc/todo/windows_support.mdwn +++ b/doc/todo/windows_support.mdwn @@ -12,14 +12,25 @@ now! --[[Joey]] This should work to install the deps, using libs from cygwin - cabal install libxml-sax --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\libxml2 - cabal install gnuidn --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\ - cabal install gnutls --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\ +<pre> +cabal install libxml-sax --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\libxml2 +cabal install gnuidn --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\ +cabal install gnutls --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\ +</pre> While the 1st line works, the rest fail oddly. Looks like lack of - quoting when cabal runs c2hs and gcc, as "Haskell Platform" is - taken as 2 filenames. Needs investigation why this happens here - and not other times.. + quoting when cabal runs c2hs. This can be worked around by + unpacking the tarball, manually running c2hs, and deleting the .chs + files. + + However, then it fails: + +<pre> +Building gnuidn-0.2.1... +Preprocessing library gnuidn-0.2.1... +[1 of 4] Compiling Data.Text.IDN.Internal ( lib\Data\Text\IDN\Internal.hs, dist\build\Data\Text\IDN\Internal.o ) +C:/Program Files/Haskell Platform/2013.2.0.0/mingw/bin/../lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16' +</pre> Also needs gsasl, which is not in cygwin. See <http://josefsson.org/gsasl4win/README.html> |