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

Fails to build/install on a Mac M1 Pro #373

Open
asarkar opened this issue Jul 6, 2022 · 1 comment
Open

Fails to build/install on a Mac M1 Pro #373

asarkar opened this issue Jul 6, 2022 · 1 comment

Comments

@asarkar
Copy link

asarkar commented Jul 6, 2022

stack install brittany

hashable                     > /private/var/folders/94/bkkwz0cd7nd2_j_xn2fwr8ph0000gn/T/stack-0ddfdd20f131c516/hashable-1.3.5.0/In file included from /var/folders/94/bkkwz0cd7nd2_j_xn2fwr8ph0000gn/T/ghc48724_0/ghc_20.c:4:0: error:
hashable                     >                                                             
hashable                     >                                                             
hashable                     > In file included from /Users/me/.stack/programs/aarch64-osx/ghc-9.0.2/lib/ghc-9.0.2/lib/../lib/aarch64-osx-ghc-9.0.2/rts-1.0.2/include/ffi.h:66:0: error:
hashable                     >                                                             
hashable                     >                                                             
hashable                     > /Users/me/.stack/programs/aarch64-osx/ghc-9.0.2/lib/ghc-9.0.2/lib/../lib/aarch64-osx-ghc-9.0.2/rts-1.0.2/include/ffitarget.h:6:10: error:
hashable                     >      fatal error: 'ffitarget_arm64.h' file not found        
hashable                     >   |                                                         
hashable                     > 6 | #include "ffitarget_arm64.h"                            
hashable                     >   |          ^                                              
hashable                     > #include "ffitarget_arm64.h"                                
hashable                     >          ^~~~~~~~~~~~~~~~~~~                                
hashable                     > 1 error generated.                                          
hashable                     > `gcc' failed in phase `C Compiler'. (Exit code: 1) 
@AleXoundOS
Copy link

@asarkar, have you tried installing with nix? Or nix-shell -p haskellPackages.brittany --run "brittany --help"?

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

2 participants