0

So I was trying to set up a Haskell project (ghcup-hs to be precise) but all attempts at building it, be it just cabal run or using HLS in VSCode, fail at alex package. In the terminal, it says "Building", my computer gets hot and loud, and then I just have to force quit the virtual machine since nothing is responding.

I believe it may have something to do with the fact I try to build it on my Ubuntu virtual machine (using Parallels Desktop) but I don't know much about Linux or virtual machines so will be glad to provide any relevant details.

charrsky
  • 11
  • 2
  • Perhaps try to build natively on the mac? – n. m. could be an AI Jul 21 '22 at 16:48
  • @n.1.8e9-where's-my-sharem. Already tried that one, I got different set of problems (not related to alex package). – charrsky Jul 21 '22 at 18:23
  • Sorry, I don't understand. are you trying to build `ghcup` from source?. – lsmor Jul 22 '22 at 07:03
  • I am assuming you just want to have a `haskell` development environment within vscode. If that the case, you don't need to install `ghcup` from source – lsmor Jul 22 '22 at 07:41
  • @lsmor I would like to contribute to ghcup so I try to build it from source – charrsky Jul 22 '22 at 11:14
  • Oh that makes sense. How much RAM are you giving to the virtual machine?. Maybe it needs more. Also, which kind of problems do you have on your mac? I'd be worth to solve them first – lsmor Jul 23 '22 at 11:43

0 Answers0