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

ghcup install of ghc 9.8.4 fails on mac 15.1 ('iostream' file not found), needs env var #1173

Open
simonmichael opened this issue Dec 9, 2024 · 1 comment

Comments

@simonmichael
Copy link

Here's the workaround I found.

  1. Ensure a suitable older llvm version is installed. The latest that ghc accepts currently is 15.
brew install llvm@15
  1. Set the CXX env var:
export CXX=/opt/homebrew/opt/llvm@15/bin/clang++
ghcup install ghc 9.8.4  # works
@simonmichael
Copy link
Author

Though strangely ghcup tui didn't show it installed afterward. Fixed with:

export CXX=/opt/homebrew/opt/llvm@15/bin/clang++; ghcup tui

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