# Glassglow Haskell Compiler (GHC) Loading Problem

**URL:** <https://discourse.haskell.org/t/glassglow-haskell-compiler-ghc-loading-problem/3485>\
**Category:** Learn\
**Created:** [October 21, 2021, 7:43pm UTC](https://discourse.haskell.org/t/glassglow-haskell-compiler-ghc-loading-problem/3485 "2021-10-21T19:43:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![codynova](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@codynova](https://discourse.haskell.org/u/codynova)\
**Post date:** [October 21, 2021, 7:43pm UTC](https://discourse.haskell.org/t/glassglow-haskell-compiler-ghc-loading-problem/3485/1 "2021-10-21T19:43:28Z")

</div>

I run into this alert when I try to load the GHC, see snip.

[Error] BuildFailed failed in dir /tmp/ghcup-370d999d36f501e7: Process “make” with arguments [“install”] failed with exit code 2.  
[…] Check the logs at /home/codynova/.ghcup/logs and the build directory /tmp/ghcup-370d999d36f501e7 for more clues.  
[…] Make sure to clean up /tmp/ghcup-370d999d36f501e7 afterwards.

I’m relatively sure I need to increase the size of my temp folder to allow for a 160G. Can any body show me how to fix this issue?

 ![Haskell Capture](https://us1.discourse-cdn.com/flex002/uploads/haskell/original/2X/2/24da3dea0018fc9e435ac1c995ca04532fd3bb68.png)

Thanks for any tips you may have.

---

<div class="post-metadata">

**Author:** ![hasufell](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/hasufell/32/1250_2.png) [@hasufell](https://discourse.haskell.org/u/hasufell)\
**Post date:** [October 21, 2021, 8:04pm UTC](https://discourse.haskell.org/t/glassglow-haskell-compiler-ghc-loading-problem/3485/2 "2021-10-21T20:04:30Z")

</div>

Check out [https://www.haskell.org/ghcup/guide/#env-variables](https://www.haskell.org/ghcup/guide/#env-variables)

You can set a bash alias to something like:

```haskell
alias ghcup='TMPDIR=/home/codynova/.ghcup-tmp ghcup'

```

And then run an initial `mkdir /home/codynova/.ghcup-tmp`.
