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

WSL haskell installation issue #26

Open
njr2128 opened this issue Nov 15, 2022 · 0 comments
Open

WSL haskell installation issue #26

njr2128 opened this issue Nov 15, 2022 · 0 comments
Assignees

Comments

@njr2128
Copy link
Member

njr2128 commented Nov 15, 2022

when trying to download haskell to run script in WSL (following https://www.haskell.org/ghcup/#), we keep getting this error:

[ Info  ] Upgrading GHCup...
[ Warn  ] No GHCup update available

System requirements
  Please ensure the following distro packages are installed before continuing (you can exit ghcup and return at any time): build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
Press ENTER to proceed or ctrl-c to abort.
Installation may take a while.


[ Info  ] verifying digest of: ghc-9.2.5-x86_64-deb9-linux.tar.xz
[ Info  ] Unpacking: ghc-9.2.5-x86_64-deb9-linux.tar.xz to /home/njr2128/.ghcup/tmp/ghcup-c5af05f62a7fddfe
[ Info  ] Installing GHC (this may take a while)
[ ghc-make ] "/home/njr2128/.ghcup/tmp/ghcup-859015486b32c112/home/njr2128/.ghcup/ghc/9.2.5/lib/ghc-...
[ ghc-make ] ghc-pkg: Couldn't open database /home/njr2128/.ghcup/tmp/ghcup-859015486b32c112/home/nj...
[ ghc-make ] ghc.mk:983: recipe for target 'install_packages' failed
[ ghc-make ] make[1]: *** [install_packages] Error 1
[ ghc-make ] Makefile:51: recipe for target 'install' failed
[ ghc-make ] make: *** [install] Error 2
[ Error ] Process "make" with arguments ["DESTDIR=/home/njr2128/.ghcup/tmp/ghcup-859015486b32c112",
[ ...   ]                                "install"] failed with exit code 2.
[ Error ] Also check the logs in /home/njr2128/.ghcup/logs
"_eghcup --cache install ghc recommended" failed!
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

2 participants