Re: Installing GHC on my MacBook Air
George Colpitts <[email protected]> Wed, 15 Mar 2023 15:14:07 -0300
| Newsgroups | gmane.comp.lang.haskell.ghc.devel,gmane.comp.lang.haskell.glasgow.user |
|---|---|
| Message-ID | <CAB-d4A4AKxnFiQ6GM7KDfFdU3vzPNnYosAeuNdbBhuSePHVy=g@mail.gmail.com> |
--===============4755737690761381414== Content-Type: multipart/alternative; boundary="0000000000008a04b405f6f451d8" --0000000000008a04b405f6f451d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Somehow I missed that it is now working for you. Great! Definitely no need to report a bug. Haskell is a great language. Enjoy! Cheers George On Wed, Mar 15, 2023 at 3:07=E2=80=AFPM William McEnaney <bill.mcenaney.jr@= gmail.com> wrote: > Hi, George, > > Now that the compiler runs, maybe I don't need to report a bug. > ... > Thanks for everything. > > Bill > > On Wed, Mar 15, 2023 at 1:17=E2=80=AFPM George Colpitts <george.colpitts@= gmail.com> > wrote: > >> Hi Bill, >> >> It's easy to forget to do replay all in gmail but it's important to do s= o >> in these emails. >> >> In your original email you wrote: >> >> After installing the compiler, my laptop said its processor was wrong fo= r >> the binary distribution I chose. If there is a dmg file for *MacOS >> 12.5.1,* please please link your reply to it. >> >> >> Can you confirm that you no longer have the problem "of processor was >> wrong for the binary distribution I chose." ? >> >> My understanding is that after that you got the error: >> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib=E2=80=9D can=E2=80=99t be opened be= cause Apple >> cannot check it for malicious software. >> >> I then suggested you had encountered >> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 and I >> suggested you do: >> >> rm -fr /usr/local/bin/ghc* >> rm -fr /usr/local/lib/ghc* >> ./configure >> sudo xattr -rc . >> sudo make install >> >> >> You said you did and got a warning "that some program wanted to access m= y >> photos when I don't have any." >> >> Can you repeat those steps and cut and paste your terminal session into >> an email? >> >> Unfortunately I am too busy to continue replying but with the above I >> think somebody will be able to help you. >> >> Cheers, >> George >> >> >> On Wed, Mar 15, 2023 at 1:59=E2=80=AFPM William McEnaney < >> [email protected]> wrote: >> >>> Hi, George, >>> >>> I'd be happy to do that for you. But I'm sure I can recall the >>> information a GHC maintainer would need. >>> >>> Best, >>> Bill >>> >>> On Wed, Mar 15, 2023 at 12:41=E2=80=AFPM George Colpitts < >>> [email protected]> wrote: >>> >>>> Hi William >>>> >>>> I think it's best if you submit a bug as described here >>>> <https://gitlab.haskell.org/ghc/ghc/-/wikis/report-a-bug> >>>> >>>> Whether in email or in the bug report it is critical that you >>>> describe how the reader can reproduce the bug, i.e. starting from the >>>> beginning, describe what you did and what error message(s) you got. >>>> >>>> Regards, >>>> George >>>> >>>> >>>> On Wed, Mar 15, 2023 at 1:34=E2=80=AFPM William McEnaney < >>>> [email protected]> wrote: >>>> >>>>> Hi, George, >>>>> >>>>> Yes, I did. But I must have made a mistake. After I pasted them into = a >>>>> Terminal window, the machine warned me that some program wanted to ac= cess >>>>> my photos when I don't have any. >>>>> >>>>> >>>>> On Wed, Mar 15, 2023 at 12:26=E2=80=AFPM George Colpitts < >>>>> [email protected]> wrote: >>>>> >>>>>> Bill >>>>>> >>>>>> For your latest problem >>>>>> >>>>>> libHSterminfo-0.4.1.5-ghc9.4.4.dylib=E2=80=9D can=E2=80=99t be open= ed because Apple >>>>>> cannot check it for malicious software. >>>>>> >>>>>> Did you try what I wrote in my last email: >>>>>> >>>>>> rm -fr /usr/local/bin/ghc* >>>>>> rm -fr /usr/local/lib/ghc* >>>>>> ./configure >>>>>> sudo xattr -rc . >>>>>> sudo make install >>>>>> >>>>>> George >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Mar 15, 2023 at 1:20=E2=80=AFPM William McEnaney < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi, everyone, >>>>>>> >>>>>>> Thank you for the help. Someone will tell me how to solve >>>>>>> the problem, I hope because it stumped me. >>>>>>> >>>>>>> Bill >>>>>>> >>>>>>> On Wed, Mar 15, 2023 at 12:10=E2=80=AFPM Brandon Allbery < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> That seems unlikely; it would report a permission error in that >>>>>>>> case, >>>>>>>> not that it had the wrong architecture. >>>>>>>> >>>>>>>> On Wed, Mar 15, 2023 at 12:04=E2=80=AFPM George Colpitts >>>>>>>> <[email protected]> wrote: >>>>>>>> > >>>>>>>> > Hi Bill >>>>>>>> > >>>>>>>> > I'm cc'ing GHC dev and GHC users as someone else may have a >>>>>>>> better answer, catch a mistake I made etc. Please don't delete the= m. >>>>>>>> > >>>>>>>> > I believe you have encountered >>>>>>>> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 >>>>>>>> > >>>>>>>> > I believe the way to fix this is to do the following: >>>>>>>> > >>>>>>>> > rm -fr /usr/local/bin/ghc* >>>>>>>> > rm -fr /usr/local/lib/ghc* >>>>>>>> > ./configure >>>>>>>> > sudo xattr -rc . >>>>>>>> > sudo make install >>>>>>>> > >>>>>>>> > >>>>>>>> > However I am unsure why you are encountering this as the issue i= s >>>>>>>> supposed to have been fixed. >>>>>>>> > >>>>>>>> > Cheers >>>>>>>> > George >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > On Wed, Mar 15, 2023 at 11:21=E2=80=AFAM William McEnaney < >>>>>>>> [email protected]> wrote: >>>>>>>> >> >>>>>>>> >> Hi, George, >>>>>>>> >> >>>>>>>> >> I got this message when I ran make install with the sudo >>>>>>>> command. What should I do? >>>>>>>> >> >>>>>>>> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib=E2=80=9D can=E2=80=99t be = opened because >>>>>>>> Apple cannot check it for malicious software. >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> What should I do now? >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> Thanks. >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> Bill >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> On Wed, Mar 15, 2023 at 9:29=E2=80=AFAM William McEnaney < >>>>>>>> [email protected]> wrote: >>>>>>>> >>> >>>>>>>> >>> Hi George, >>>>>>>> >>> >>>>>>>> >>> Thank you for your reply. I forget what I did to install it. >>>>>>>> But the compiler and other ghc-related programs live in /usr/local= /bin. >>>>>>>> Since I installed the wrong binaries, I changed the directory to >>>>>>>> /usr/local/bin and tried to empty that directory with rm -rf ghc*.= *, but >>>>>>>> that didn't delete anything. So I wonder whether I'll need to remo= ve those >>>>>>>> programs before reinstalling ghc. >>>>>>>> >>> >>>>>>>> >>> Thanks for your help, too. >>>>>>>> >>> >>>>>>>> >>> Best, >>>>>>>> >>> Bill >>>>>>>> >>> >>>>>>>> >>> On Wed, Mar 15, 2023 at 7:59=E2=80=AFAM George Colpitts < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>> >>>>>>>> >>>> Hi Bill >>>>>>>> >>>> >>>>>>>> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that is >>>>>>>> Apple Silicon , the aarch64-apple-darwin platform. Older Macs run = on Intel >>>>>>>> chips, the x86_64-apple-darwin platform. >>>>>>>> >>>> >>>>>>>> >>>> I'm not sure how you installed the compiler. I believe the >>>>>>>> standard way is described on https://www.haskell.org/ghcup/. Can >>>>>>>> you tell us how you installed it? >>>>>>>> >>>> >>>>>>>> >>>> Thanks >>>>>>>> >>>> George >>>>>>>> >>>> >>>>>>>> >>>> On Wed, Mar 15, 2023 at 8:22=E2=80=AFAM Simon Peyton Jones < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>> >>>>>>>> >>>>> Redirecting this query to ghc-devs. Can anyone help >>>>>>>> William? Thanks! >>>>>>>> >>>>> >>>>>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>>>>>> compiler, my laptop said its processor was wrong for the binary >>>>>>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, ple= ase >>>>>>>> please link your reply to it. >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> Simon >>>>>>>> >>>>> >>>>>>>> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>> >>>>>>>> >>>>>> Dear Dr. Jones, >>>>>>>> >>>>>> >>>>>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>>>>>> compiler, my laptop said its processor was wrong for the binary >>>>>>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, ple= ase >>>>>>>> please link your reply to it. >>>>>>>> >>>>>> >>>>>>>> >>>>>> Thanks for your help. >>>>>>>> >>>>>> >>>>>>>> >>>>>> Best, >>>>>>>> >>>>>> Bill >>>>>>>> >>>>> >>>>>>>> >>>>> _______________________________________________ >>>>>>>> >>>>> ghc-devs mailing list >>>>>>>> >>>>> [email protected] >>>>>>>> >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>>>>>> > >>>>>>>> > _______________________________________________ >>>>>>>> > ghc-devs mailing list >>>>>>>> > [email protected] >>>>>>>> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> brandon s allbery kf8nh >>>>>>>> [email protected] >>>>>>>> >>>>>>> --0000000000008a04b405f6f451d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:"times new roman",serif;font-size:large">Somehow I misse= d that it is now working for you. Great! Definitely no need to report a bug= . Haskell is a great language. Enjoy!</div><div class=3D"gmail_default" sty= le=3D"font-family:"times new roman",serif;font-size:large"><br></= div><div class=3D"gmail_default" style=3D"font-family:"times new roman= ",serif;font-size:large">Cheers</div><div class=3D"gmail_default" styl= e=3D"font-family:"times new roman",serif;font-size:large">George<= /div><div class=3D"gmail_default" style=3D"font-family:"times new roma= n",serif;font-size:large"><br></div></div><br><div class=3D"gmail_quot= e"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 3:07=E2=80= =AFPM William McEnaney <<a href=3D"mailto:[email protected]">bi= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail= _quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204= ,204);padding-left:1ex"><div dir=3D"ltr">Hi, George,<div><br></div><div>Now= that the compiler runs, maybe I don't need to report a bug.=C2=A0</div= ><div><div class=3D"gmail_default" style=3D"font-family:"times new rom= an",serif;font-size:large">...</div></div><div>Thanks for everything.<= /div><div><br></div><div>Bill</div></div><br><div class=3D"gmail_quote"><di= v dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 1:17=E2=80=AFPM = George Colpitts <<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div sty= le=3D"font-family:"times new roman",serif;font-size:large">Hi Bil= l,</div><div style=3D"font-family:"times new roman",serif;font-si= ze:large"><br></div><div style=3D"font-family:"times new roman",s= erif;font-size:large">It's easy to forget to do replay all in gmail but= it's important to do so in these emails.</div><div style=3D"font-famil= y:"times new roman",serif;font-size:large"><br></div><div style= =3D"font-family:"times new roman",serif;font-size:large">In your = original email you wrote:</div><div style=3D"font-family:"times new ro= man",serif;font-size:large"><br></div></div><blockquote style=3D"margi= n:0px 0px 0px 40px;border:none;padding:0px"><div dir=3D"ltr"><div style=3D"= font-family:"times new roman",serif;font-size:large"><span style= =3D"font-family:Arial,Helvetica,sans-serif;font-size:small">After installin= g the compiler, my laptop said its processor was wrong for the binary distr= ibution I chose. If there is a dmg file for <b>MacOS 12.5.1,</b> please ple= ase link your reply to it.</span></div></div></blockquote><div dir=3D"ltr">= <div style=3D"font-family:"times new roman",serif;font-size:large= "><br></div><div style=3D"font-family:"times new roman",serif;fon= t-size:large">Can you confirm that you no longer have the problem "of= =C2=A0processor was wrong for the binary distribution I chose." ?</div= ><div style=3D"font-family:"times new roman",serif;font-size:larg= e"><br></div><div style=3D"font-family:"times new roman",serif;fo= nt-size:large">My understanding is that after that you got the error:=C2=A0= </div><div style=3D"font-family:"times new roman",serif;font-size= :large"><br></div></div><blockquote style=3D"margin:0px 0px 0px 40px;border= :none;padding:0px"><div dir=3D"ltr"><div style=3D"font-family:"times n= ew roman",serif;font-size:large"><span style=3D"font-family:Arial,Helv= etica,sans-serif;font-size:small">libHSterminfo-0.4.1.5-ghc9.4.</span><span= style=3D"font-family:Arial,Helvetica,sans-serif;font-size:small">4.dylib= =E2=80=9D can=E2=80=99t be opened because Apple cannot check it for malicio= us software.</span></div><div style=3D"font-family:"times new roman&qu= ot;,serif;font-size:large"><span style=3D"font-family:Arial,Helvetica,sans-= serif;font-size:small"><br></span></div></div></blockquote><div dir=3D"ltr"= ><div style=3D"font-family:"times new roman",serif;font-size:larg= e">I then suggested you had encountered=C2=A0 <a href=3D"https://gitlab.has= kell.org/ghc/ghc/-/issues/21506#note_447206" target=3D"_blank">https://gitl= ab.haskell.org/ghc/ghc/-/issues/21506#note_447206</a>=C2=A0 and I suggested= you do:</div><div style=3D"font-family:"times new roman",serif;f= ont-size:large"><br></div></div><blockquote style=3D"margin:0px 0px 0px 40p= x;border:none;padding:0px"><div><div style=3D"font-family:"times new r= oman",serif;font-size:large"><span style=3D"font-family:Arial,Helvetic= a,sans-serif;font-size:small">=C2=A0rm -fr /usr/local/bin/ghc*</span></div>= </div><div><div style=3D"font-family:"times new roman",serif;font= -size:large"><span style=3D"font-family:Arial,Helvetica,sans-serif;font-siz= e:small">rm -fr /usr/local/lib/ghc*</span></div></div><div><div style=3D"fo= nt-family:"times new roman",serif;font-size:large"><span style=3D= "font-family:Arial,Helvetica,sans-serif;font-size:small">./configure</span>= </div></div><div><div style=3D"font-family:"times new roman",seri= f;font-size:large"><span style=3D"font-family:Arial,Helvetica,sans-serif;fo= nt-size:small">sudo xattr -rc .</span></div></div><div><div style=3D"font-f= amily:"times new roman",serif;font-size:large"><span style=3D"fon= t-family:Arial,Helvetica,sans-serif;font-size:small">sudo make install</spa= n></div></div></blockquote><div dir=3D"ltr"><div style=3D"font-family:"= ;times new roman",serif;font-size:large"><br></div><div style=3D"font-= family:"times new roman",serif;font-size:large">You said=C2=A0you= =C2=A0did=C2=A0and got a warning "that some program wanted to access m= y photos when I don't have any."</div><div style=3D"font-family:&q= uot;times new roman",serif;font-size:large"><br></div><div style=3D"fo= nt-family:"times new roman",serif;font-size:large">Can you repeat= those steps and cut and paste your terminal session into an email?=C2=A0</= div><div style=3D"font-family:"times new roman",serif;font-size:l= arge"><br></div><div style=3D"font-family:"times new roman",serif= ;font-size:large">Unfortunately I am too busy to continue replying but with= the above I think somebody will be able to help you.</div><div style=3D"fo= nt-family:"times new roman",serif;font-size:large"><br></div><div= style=3D"font-family:"times new roman",serif;font-size:large">Ch= eers,</div><div style=3D"font-family:"times new roman",serif;font= -size:large">George</div><div style=3D"font-family:"times new roman&qu= ot;,serif;font-size:large"><br></div></div><br><div class=3D"gmail_quote"><= div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 1:59=E2=80=AFP= M William McEnaney <<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>> wrote:<br></div><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi, George,<div><br>= </div><div>I'd be happy to do that for you. But I'm sure I can reca= ll the information a GHC maintainer would need.</div><div><br></div><div>Be= st,</div><div>Bill</div></div><br><div class=3D"gmail_quote"><div dir=3D"lt= r" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 12:41=E2=80=AFPM George Col= pitts <<a href=3D"mailto:[email protected]" target=3D"_blank">ge= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div style=3D"font= -family:"times new roman",serif;font-size:large">Hi William</div>= <div style=3D"font-family:"times new roman",serif;font-size:large= "><br></div><div style=3D"font-family:"times new roman",serif;fon= t-size:large">I think it's best if you submit a bug as described <a hre= f=3D"https://gitlab.haskell.org/ghc/ghc/-/wikis/report-a-bug" target=3D"_bl= ank">here</a></div><div style=3D"font-family:"times new roman",se= rif;font-size:large"><br></div><div style=3D"font-family:"times new ro= man",serif;font-size:large">Whether in email or in the bug report it i= s critical that you describe=C2=A0how the reader can reproduce the bug, i.e= . starting from the beginning,=C2=A0 describe=C2=A0what you did and what er= ror message(s) you got.</div><div style=3D"font-family:"times new roma= n",serif;font-size:large"><br></div><div style=3D"font-family:"ti= mes new roman",serif;font-size:large">Regards,</div><div style=3D"font= -family:"times new roman",serif;font-size:large">George</div><div= style=3D"font-family:"times new roman",serif;font-size:large"><b= r></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai= l_attr">On Wed, Mar 15, 2023 at 1:34=E2=80=AFPM William McEnaney <<a hre= f=3D"mailto:[email protected]" target=3D"_blank">bill.mcenaney.jr@= gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><div dir=3D"ltr">Hi, George,<div><br></div><div>Yes, I did. But = I must have made a=C2=A0mistake. After I pasted them into a Terminal window= , the machine warned me that some program wanted to access my photos when I= don't have any.</div><div><br></div></div><br><div class=3D"gmail_quot= e"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 12:26=E2= =80=AFPM George Colpitts <<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>> wrote:<br></div><blockqu= ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px= solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"= ><div style=3D"font-family:"times new roman",serif;font-size:larg= e">Bill=C2=A0</div><div style=3D"font-family:"times new roman",se= rif;font-size:large"><br></div><div style=3D"font-family:"times new ro= man",serif;font-size:large">For your latest problem</div><div style=3D= "font-family:"times new roman",serif;font-size:large"><br></div><= /div><blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px">= <div dir=3D"ltr"><div style=3D"font-family:"times new roman",seri= f;font-size:large"><span style=3D"font-family:Arial,Helvetica,sans-serif;fo= nt-size:small">=C2=A0libHSterminfo-0.4.1.5-ghc9.4.</span><span style=3D"fon= t-family:Arial,Helvetica,sans-serif;font-size:small">4.dylib=E2=80=9D can= =E2=80=99t be opened because Apple cannot check it for malicious software.<= /span><br></div><div style=3D"font-family:"times new roman",serif= ;font-size:large"><span style=3D"font-family:Arial,Helvetica,sans-serif;fon= t-size:small"><br></span></div></div></blockquote><div style=3D"font-family= :"times new roman",serif;font-size:large">Did you try what I wrot= e in my last email:</div><div style=3D"font-family:"times new roman&qu= ot;,serif;font-size:large"><br></div><blockquote style=3D"margin:0px 0px 0p= x 40px;border:none;padding:0px"><div style=3D"font-family:"times new r= oman",serif;font-size:large"></div>=C2=A0rm -fr /usr/local/bin/ghc*<br= >rm -fr /usr/local/lib/ghc*<br>./configure<br>sudo xattr -rc .<br>sudo make= install<br><br></blockquote><div style=3D"font-family:"times new roma= n",serif;font-size:large">George</div><div style=3D"font-family:"= times new roman",serif;font-size:large"></div><br><blockquote style=3D= "margin:0px 0px 0px 40px;border:none;padding:0px"><br></blockquote><br><br>= <div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Ma= r 15, 2023 at 1:20=E2=80=AFPM William McEnaney <<a href=3D"mailto:bill.m= [email protected]" target=3D"_blank">[email protected]</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir= =3D"ltr">Hi, everyone,<div><br></div><div>Thank you for the help. Someone w= ill tell me how to solve the=C2=A0problem, I hope because it stumped me.</d= iv><div><br></div><div>Bill</div></div><br><div class=3D"gmail_quote"><div = dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 12:10=E2=80=AFPM B= randon Allbery <<a href=3D"mailto:[email protected]" target=3D"_blank"= >[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quo= te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204= );padding-left:1ex">That seems unlikely; it would report a permission error= in that case,<br> not that it had the wrong architecture.<br> <br> On Wed, Mar 15, 2023 at 12:04=E2=80=AFPM George Colpitts<br> <<a href=3D"mailto:[email protected]" target=3D"_blank">george.c= [email protected]</a>> wrote:<br> ><br> > Hi Bill<br> ><br> > I'm cc'ing GHC dev and GHC users as someone else may have a be= tter answer, catch a mistake I made etc. Please don't delete them.<br> ><br> > I believe you have encountered <a href=3D"https://gitlab.haskell.org/g= hc/ghc/-/issues/21506#note_447206" rel=3D"noreferrer" target=3D"_blank">htt= ps://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206</a><br> ><br> > I believe the way to fix this is to do the following:<br> ><br> > rm -fr /usr/local/bin/ghc*<br> > rm -fr /usr/local/lib/ghc*<br> > ./configure<br> > sudo xattr -rc .<br> > sudo make install<br> ><br> ><br> > However I am unsure why you are encountering this as the issue is supp= osed to have been fixed.<br> ><br> > Cheers<br> > George<br> ><br> ><br> ><br> ><br> ><br> > On Wed, Mar 15, 2023 at 11:21=E2=80=AFAM William McEnaney <<a href= =3D"mailto:[email protected]" target=3D"_blank">bill.mcenaney.jr@g= mail.com</a>> wrote:<br> >><br> >> Hi, George,<br> >><br> >> I got this message when I ran make install with the sudo command. = What should I do?<br> >><br> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib=E2=80=9D can=E2=80=99t be ope= ned because Apple cannot check it for malicious software.<br> >><br> >><br> >> What should I do now?<br> >><br> >><br> >> Thanks.<br> >><br> >><br> >> Bill<br> >><br> >><br> >><br> >><br> >> On Wed, Mar 15, 2023 at 9:29=E2=80=AFAM William McEnaney <<a hr= ef=3D"mailto:[email protected]" target=3D"_blank">bill.mcenaney.jr= @gmail.com</a>> wrote:<br> >>><br> >>> Hi George,<br> >>><br> >>> Thank you for your reply. I forget what I did to install it. B= ut the compiler and other ghc-related programs live in /usr/local/bin. Sinc= e I installed the wrong binaries, I changed the directory to /usr/local/bin= and tried to empty that directory with rm -rf ghc*.*, but that didn't = delete anything. So I wonder whether I'll need to remove those programs= before reinstalling ghc.<br> >>><br> >>> Thanks for your help, too.<br> >>><br> >>> Best,<br> >>> Bill<br> >>><br> >>> On Wed, Mar 15, 2023 at 7:59=E2=80=AFAM George Colpitts <<a= href=3D"mailto:[email protected]" target=3D"_blank">george.colpitt= [email protected]</a>> wrote:<br> >>>><br> >>>> Hi Bill<br> >>>><br> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that = is Apple Silicon , the aarch64-apple-darwin platform. Older Macs run on Int= el chips, the x86_64-apple-darwin platform.<br> >>>><br> >>>> I'm not sure how you installed the compiler. I believe= the standard way is described on <a href=3D"https://www.haskell.org/ghcup/= " rel=3D"noreferrer" target=3D"_blank">https://www.haskell.org/ghcup/</a>. = Can you tell us how you installed it?<br> >>>><br> >>>> Thanks<br> >>>> George<br> >>>><br> >>>> On Wed, Mar 15, 2023 at 8:22=E2=80=AFAM Simon Peyton Jones= <<a href=3D"mailto:[email protected]" target=3D"_blank">simon= [email protected]</a>> wrote:<br> >>>>><br> >>>>> Redirecting this query to ghc-devs.=C2=A0 Can anyone h= elp William?=C2=A0 Thanks!<br> >>>>><br> >>>>>> Will GHC run on my new MacBook Air? After installi= ng the compiler, my laptop said its processor was wrong for the binary dist= ribution I chose. If there is a dmg file for MacOS 12.5.1, please please li= nk your reply to it.<br> >>>>><br> >>>>><br> >>>>> Simon<br> >>>>><br> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney <<a = href=3D"mailto:[email protected]" target=3D"_blank">bill.mcenaney.= [email protected]</a>> wrote:<br> >>>>>><br> >>>>>> Dear Dr. Jones,<br> >>>>>><br> >>>>>> Will GHC run on my new MacBook Air? After installi= ng the compiler, my laptop said its processor was wrong for the binary dist= ribution I chose. If there is a dmg file for MacOS 12.5.1, please please li= nk your reply to it.<br> >>>>>><br> >>>>>> Thanks for your help.<br> >>>>>><br> >>>>>> Best,<br> >>>>>> Bill<br> >>>>><br> >>>>> _______________________________________________<br> >>>>> ghc-devs mailing list<br> >>>>> <a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a><br> >>>>> <a href=3D"http://mail.haskell.org/cgi-bin/mailman/lis= tinfo/ghc-devs" rel=3D"noreferrer" target=3D"_blank">http://mail.haskell.or= g/cgi-bin/mailman/listinfo/ghc-devs</a><br> ><br> > _______________________________________________<br> > ghc-devs mailing list<br> > <a href=3D"mailto:[email protected]" target=3D"_blank">ghc-devs@has= kell.org</a><br> > <a href=3D"http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" = rel=3D"noreferrer" target=3D"_blank">http://mail.haskell.org/cgi-bin/mailma= n/listinfo/ghc-devs</a><br> <br> <br> <br> -- <br> brandon s allbery kf8nh<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= m</a><br> </blockquote></div> </blockquote></div></div> </blockquote></div> </blockquote></div></div> </blockquote></div> </blockquote></div></div> </blockquote></div> </blockquote></div></div> --0000000000008a04b405f6f451d8-- --===============4755737690761381414== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ2hjLWRldnMg bWFpbGluZyBsaXN0CmdoYy1kZXZzQGhhc2tlbGwub3JnCmh0dHA6Ly9tYWlsLmhhc2tlbGwub3Jn L2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9naGMtZGV2cwo= --===============4755737690761381414==--