Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the problem with building from source? #2331

Open
HiPhish opened this issue Jul 24, 2024 · 1 comment
Open

What is the problem with building from source? #2331

HiPhish opened this issue Jul 24, 2024 · 1 comment

Comments

@HiPhish
Copy link

HiPhish commented Jul 24, 2024

A few days ago I built the Elm compiler from source even though I barely know anything about Haskell. One machine was running Ubuntu 22.04, the other Void Linux (a rolling release distro). In both cases I only had to install the ghc and cabal-install packages, no messing around with specific versions (Void currently ships GHC 9.0.2 and Cabal 3.6.3.0).

All I had to run was:

rm worker/elm.cabal  # Might not even be needed?
cabal new-configure --ghc-option=-optl=-pthread
cabal new-build

No messing around with ghcup or anything. Am I missing something here? The binary worked fine for me when I was working through the guide. I have not done any further development because I have come to the conclusion that unfortunately Elm is not suitable for my use-case (I need seamless Javascript interoperability, but Elm does not offer that; I'm not complaining, it simply isn't what I need), but I would like to keep it as a potential option for the future.

Copy link

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant