Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install 3.1.1.1 on Windows #528

Open
stla opened this issue Apr 17, 2022 · 0 comments
Open

Cannot install 3.1.1.1 on Windows #528

stla opened this issue Apr 17, 2022 · 0 comments

Comments

@stla
Copy link

stla commented Apr 17, 2022

Hello,

I've just spent a couple of hours trying to install network on Windows, with no luck:

network> config.status: creating include/HsNetworkConfig.h
network> config.status: include/HsNetworkConfig.h is unchanged
network> configure: WARNING: unrecognized options: --with-compiler
network> setup.EXE: Missing dependency on a foreign library:
network> * Missing (or bad) header file: HsNet.h
network> This problem can usually be solved by installing the system package that
network> provides this library (you may need the "-dev" version). If the library is
network> already installed but in a non-standard location then you can use the flags
network> --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
network> library file does exist, it may contain errors that are caught by the C
network> compiler at the preprocessing stage. In this case you can re-run configure
network> with the verbosity flag -v3 to see the error messages.
network> If the header file does exist, it may contain errors that are caught by the C
network> compiler at the preprocessing stage. In this case you can re-run configure
network> with the verbosity flag -v3 to see the error messages.
network>

--  While building package network-3.1.1.1 (scroll up to its section to see the error) using:
      C:\Users\sdl96354\AppData\Local\Temp\stack-15125554c10405a2\network-3.1.1.1\.stack-work\dist\29cc6475\setup\setup --builddir=.stack-work\dist\29cc6475 configure --with-ghc=C:\Users\sdl96354\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.4\bin\ghc-8.8.4.exe --with-ghc-pkg=C:\Users\sdl96354\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.4\bin\ghc-pkg.exe --user --package-db=clear --package-db=global --package-db=C:\sr\snapshots\ce41ca4b\pkgdb --libdir=C:\sr\snapshots\ce41ca4b\lib --bindir=C:\sr\snapshots\ce41ca4b\bin --datadir=C:\sr\snapshots\ce41ca4b\share --libexecdir=C:\sr\snapshots\ce41ca4b\libexec --sysconfdir=C:\sr\snapshots\ce41ca4b\etc --docdir=C:\sr\snapshots\ce41ca4b\doc\network-3.1.1.1 --htmldir=C:\sr\snapshots\ce41ca4b\doc\network-3.1.1.1 --haddockdir=C:\sr\snapshots\ce41ca4b\doc\network-3.1.1.1 --dependency=base=base-4.13.0.0 --dependency=bytestring=bytestring-0.10.10.1 --dependency=deepseq=deepseq-1.4.4.0  --extra-include-dirs=C:\Users\sdl96354\AppData\Local\Programs\stack\x86_64-windows\msys2-20210604\mingw64\include --extra-lib-dirs=C:\Users\sdl96354\AppData\Local\Programs\stack\x86_64-windows\msys2-20210604\mingw64\lib --extra-lib-dirs=C:\Users\sdl96354\AppData\Local\Programs\stack\x86_64-windows\msys2-20210604\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
    Process exited with code: ExitFailure 1

In fact this is for my Hakyll blog. Previously I worked on Linux and this worked fine, but now my Linux laptop is broken, so I tried to install on Windows. I'm using stack with the resolver lts-16.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant