Created
July 30, 2022 16:53
-
-
Save nyck33/6e1010e604d7a68dcf70e50058ac4619 to your computer and use it in GitHub Desktop.
Errors installing Stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nobu@nobukim-IdeaPad-3-15IIL05:/media/nobu/NTFSUbuWin/1_func_langs/GetProgHaskell/test-project$ stack setup | |
Preparing to install GHC (tinfo6) to an isolated location. | |
This will not interfere with any system-level installation. | |
Downloaded ghc-tinfo6-9.0.2. | |
Unpacking GHC into /home/nobu/.stack/programs/x86_64-linux/ghc-tinfo6-9.0.2.temp gcc: error: unrecognized command line option '--target=x86_64-unknown-linux' | |
Installed GHC. | |
stack will use a sandboxed GHC it installed | |
For more information on paths, see 'stack path' and 'stack exec env' | |
To use this GHC and packages outside of a project, consider using: | |
stack ghc, stack ghci, stack runghc, or stack exec | |
nobu@nobukim-IdeaPad-3-15IIL05:/media/nobu/NTFSUbuWin/1_func_langs/GetProgHaskell/test-project$ stack build | |
[1 of 2] Compiling Main ( /home/nobu/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /home/nobu/.stack/setup-exe-src/setup-mPHDZzAJ.o ) | |
[2 of 2] Compiling StackSetupShim ( /home/nobu/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /home/nobu/.stack/setup-exe-src/setup-shim-mPHDZzAJ.o ) | |
Linking /home/nobu/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_mPHDZzAJ_3.4.1.0_ghc-9.0.2 ... | |
Building all executables for `test-project' once. After a successful build of all of them, only specified executables will be rebuilt. | |
test-project> configure (lib + exe) | |
Configuring test-project-0.1.0.0... | |
test-project> build (lib + exe) | |
Preprocessing library for test-project-0.1.0.0.. | |
Building library for test-project-0.1.0.0.. | |
[1 of 2] Compiling Lib | |
[2 of 2] Compiling Paths_test_project | |
Preprocessing executable 'test-project-exe' for test-project-0.1.0.0.. | |
Building executable 'test-project-exe' for test-project-0.1.0.0.. | |
[1 of 2] Compiling Main | |
[2 of 2] Compiling Paths_test_project | |
Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.4.1.0/build/test-project-exe/test-project-exe ... | |
test-project> copy/register | |
Installing library in /media/nobu/NTFSUbuWin/1_func_langs/GetProgHaskell/test-project/.stack-work/install/x86_64-linux-tinfo6/f7d7ac830b341ac5ecc643f7724513003b409806acb3d75383322be3ada01efb/9.0.2/lib/x86_64-linux-ghc-9.0.2/test-project-0.1.0.0-8Fu9lISuOGGEjC8dHbHzhC | |
Installing executable test-project-exe in /media/nobu/NTFSUbuWin/1_func_langs/GetProgHaskell/test-project/.stack-work/install/x86_64-linux-tinfo6/f7d7ac830b341ac5ecc643f7724513003b409806acb3d75383322be3ada01efb/9.0.2/bin | |
Registering library for test-project-0.1.0.0.. | |
nobu@nobukim-IdeaPad-3-15IIL05:/media/nobu/NTFSUbuWin/1_func_langs/GetProgHaskell/test-project$ stack exec test-project-exec | |
Executable named test-project-exec not found on path: ["/media/nobu/NTFSUbuWin/1_func_langs/GetProgHaskell/test-project/.stack-work/install/x86_64-linux-tinfo6/f7d7ac830b341ac5ecc643f7724513003b409806acb3d75383322be3ada01efb/9.0.2/bin","/home/nobu/.stack/snapshots/x86_64-linux-tinfo6/f7d7ac830b341ac5ecc643f7724513003b409806acb3d75383322be3ada01efb/9.0.2/bin","/home/nobu/.stack/compiler-tools/x86_64-linux-tinfo6/ghc-9.0.2/bin","/home/nobu/.stack/programs/x86_64-linux/ghc-tinfo6-9.0.2/bin","/home/nobu/.amplify/bin","/home/nobu/.kusanagi/bin","/home/nobu/anaconda3/condabin","/home/nobu/.cargo/bin","/home/nobu/.amplify/bin","/home/nobu/.rbenv/shims","/home/nobu/.rbenv/shims","/home/nobu/.rbenv/bin","/home/nobu/.poetry/bin","/home/nobu/.local/bin","/usr/local/sbin","/usr/local/bin","/usr/sbin","/usr/bin","/sbin","/bin","/usr/games","/usr/local/games","/snap/bin","/usr/local/go/bin","/home/nobu/go/bin","/usr/local/go/bin","/home/nobu/go/bin","/home/nobu/.pub-cache/bin","/home/nobu/snap/flutter/common/flutter/.pub-cache/bin"] | |
nobu@nobukim-IdeaPad-3-15IIL05:/media/nobu/NTFSUbuWin/1_func_langs/GetProgHaskell/test-project$ stack exec test-project-exe | |
someFunc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment