spacepaste

  1.  
  2. $ stack setup
  3. Preparing to install GHC to an isolated location.
  4. This will not interfere with any system-level installation.
  5. Preparing to download ghc-8.0.2 ...
  6. Already downloaded.
  7. Unpacking GHC into /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ ...
  8. Configuring GHC ...
  9. Running /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/configure --prefix=/home/avi/.stack/programs/x86_64-linux/ghc-8.0.2/ in directory /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/ exited with ExitFailure 1
  10. checking for path to top of build tree...
  11. /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/configure: utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist: /bin/bash: bad interpreter: No such file or directory
  12. configure: error: cannot determine current directory
  13. Error: Error encountered while configuring GHC with
  14. /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/configure --prefix=/home/avi/.stack/programs/x86_64-linux/ghc-8.0.2/
  15. run in /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2/
  16. The following directories may now contain files, but won't be used by stack:
  17. - /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2.temp/
  18. - /home/avi/.stack/programs/x86_64-linux/ghc-8.0.2/
  19.