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

Haskell stack error when installing on Ubuntu #47

Open
Svalorzen opened this issue Dec 7, 2023 · 0 comments
Open

Haskell stack error when installing on Ubuntu #47

Svalorzen opened this issue Dec 7, 2023 · 0 comments

Comments

@Svalorzen
Copy link

Here is the output of my installation run:

$ stack install
Stack has not been tested with GHC versions above 8.10, and using 9.4.7, this may fail
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-9.4.7.                                      
Did not find executable at specified path: /home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7.temp/ghc-9.4.7/configure
                   
Error: Error encountered while configuring GHC with
         /home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7.temp/ghc-9.4.7/configure --prefix=/home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7/
         run in /home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7.temp/ghc-9.4.7/
       
       The following directories may now contain files, but won't be used by stack:
         - /home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7.temp/
         - /home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7/
       
       For more information consider rerunning with --verbose flag
       
Configuring GHC ...

I've looked in the folder, and it seems that the name of the folder the configuration file is in is wrong. The above requests /home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7.temp/ghc-9.4.7/, but I actually have the folder /home/svalorzen/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7.temp/ghc-9.4.7-x86_64-unknown-linux/

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