Skip to content

Haskell stack error when installing on Ubuntu #47

@Svalorzen

Description

@Svalorzen

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions