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

can't install dmd on apple silicon Mac #798

Closed
1 task done
greggjaskiewicz opened this issue Aug 4, 2023 · 3 comments
Closed
1 task done

can't install dmd on apple silicon Mac #798

greggjaskiewicz opened this issue Aug 4, 2023 · 3 comments
Labels

Comments

@greggjaskiewicz
Copy link

greggjaskiewicz commented Aug 4, 2023

Can't install DMD (D compiler)

  • your problem was from running the official install or uninstall script?
  • [x ] after installation: ran brew config and brew doctor and included their output with your issue? If you couldn't install: provided your OS version with the output of your issue?

What you were trying to do (and why)

Trying to install D compiler, DMD. Binary and source compilation.
Both fail with the same error.

What happened (include command output)

fails to install, even when requested installation from sources!

Command output

dmd: The x86_64 architecture is required for this software.
Error: dmd: An unsatisfied requirement failed this build.

What you expected to happen

I was expecting to at least be able to rebuild it from sources for apple silicon platform.

Step-by-step reproduction instructions (by running brew commands)

brew install dmd
brew install -s --force dmd

@vitorgalvao
Copy link
Member

You’re in the wrong repository, this one is for the scripts to (un)install Homebrew itself, not packages. You’re looking for Homebrew/homebrew-core.

@SMillerDev SMillerDev closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2023
@SMillerDev
Copy link
Member

As is documented in https://dlang.org/download.html, you can't install dmd on Apple silicon. Homebrew can't change the way software developers write their tools.

@osalbahr
Copy link
Contributor

osalbahr commented Aug 4, 2023

You might want to look more into dmd-specific resources for M1, such as https://forum.dlang.org/thread/[email protected] (https://www.google.com/search?q=running+dmd+on+m1).

I’m not sure how it would play with Rosetta, but that’s something else to look into. Not sure if it plays well with dmd (you can start a discussion on their forum). If so, you might be able to use a brewed x86 dmd.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants