Re: Installing GHC on my MacBook Air
George Colpitts <[email protected]> Fri, 17 Mar 2023 09:12:46 -0300
| Newsgroups | gmane.comp.lang.haskell.ghc.devel,gmane.comp.lang.haskell.glasgow.user |
|---|---|
| Message-ID | <CAB-d4A4-_YNwCNCgC-FKd6WHKh-2KQDMn4dHVgPQ=H29GbPHVA@mail.gmail.com> |
--===============3834775355364864850== Content-Type: multipart/alternative; boundary="000000000000f5c60105f717801d" --000000000000f5c60105f717801d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Type the following at the command line: xcode-select --install and then try ghci again. I'm not sure what you mean by "the software" in the phrase "Should I delete and reinstall the software you told me to install?" but in any case don't delete anything. Please try to be as specific as possible. When you first encounter a problem you should Google for a solution. If that doesn't work you can send mail to me but also cc [email protected] and [email protected] Cheers George On Thu, Mar 16, 2023 at 11:09=E2=80=AFPM William McEnaney < [email protected]> wrote: > Hi, George, > > Sorry to bother you. Though ghc seems to run properly, here's what ghci > prints on my screen. What mistake did I make? Should I delete and reinsta= ll > the software you told me to install? > > "GHCi, version 9.4.4: https://www.haskell.org/ghc/ :? for help > > xcrun: error: invalid active developer path > (/Library/Developer/CommandLineTools), missing xcrun at: > /Library/Developer/CommandLineTools/usr/bin/xcrun > > `gcc' failed in phase `gcc'. (Exit code: 1) > > williammcenaney@Williams-Air bin" > > > Thanks. > > > Bill > > > Bill > > On Wed, Mar 15, 2023 at 7:59=E2=80=AFAM George Colpitts <george.colpitts@= gmail.com> > 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 chi= ps, >> 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 chos= e. If >>>> there is a dmg file for MacOS 12.5.1, please 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 chos= e. If >>>> there is a dmg file for MacOS 12.5.1, please 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 >>> >> --000000000000f5c60105f717801d 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">Type=C2=A0the f= ollowing=C2=A0at the command line:</div><div class=3D"gmail_default" style= =3D"font-family:"times new roman",serif;font-size:large"><br></di= v><div class=3D"gmail_default" style=3D""><blockquote style=3D"font-family:= "times new roman",serif;font-size:large;margin:0px 0px 0px 40px;b= order:none;padding:0px"><div class=3D"gmail_default" style=3D"font-family:&= quot;times new roman",serif;font-size:large"><span style=3D"color:rgb(= 48,48,48);font-family:monospace;font-size:15.6px;background-color:rgb(243,2= 43,243)">xcode-select --install</span><br></div><div class=3D"gmail_default= " style=3D"font-family:"times new roman",serif;font-size:large"><= span style=3D"color:rgb(48,48,48);font-family:monospace;font-size:15.6px;ba= ckground-color:rgb(243,243,243)"><br></span></div></blockquote><font color= =3D"#303030" face=3D"monospace"><span style=3D"font-size:15.6px">and then t= ry ghci again.</span></font></div><div class=3D"gmail_default" style=3D""><= font color=3D"#303030" face=3D"monospace"><span style=3D"font-size:15.6px">= <br></span></font></div><div class=3D"gmail_default" style=3D""><font color= =3D"#303030" face=3D"monospace"><span style=3D"font-size:15.6px">I'm no= t sure what you mean by "the=C2=A0software" in=C2=A0the phrase &q= uot;</span></font>Should I delete and reinstall the software you told me to= install?" but in=C2=A0any case don't delete anything. Please=C2= =A0try to be as specific as possible.</div><div class=3D"gmail_default" sty= le=3D""><br><font color=3D"#303030" face=3D"monospace"><span style=3D"font-= size:15.6px">When you first encounter a problem you should Google for a sol= ution. If that=C2=A0doesn't work you can send mail=C2=A0to me but also = cc=C2=A0</span></font><a href=3D"mailto:[email protected]">ghc-devs@hask= ell.org</a> and=C2=A0 <a href=3D"mailto:[email protected]">= [email protected]</a></div><div class=3D"gmail_default" sty= le=3D""><br></div><div class=3D"gmail_default" style=3D"">Cheers</div><div = class=3D"gmail_default" style=3D"">George</div><div class=3D"gmail_default"= style=3D""><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr"= class=3D"gmail_attr">On Thu, Mar 16, 2023 at 11:09=E2=80=AFPM William McEn= aney <<a href=3D"mailto:[email protected]">bill.mcenaney.jr@gma= il.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin: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>Sorry to bother=C2=A0= you. Though ghc seems to run properly, here's what ghci prints on my sc= reen. What mistake did I make? Should I delete and reinstall the software y= ou told me to install?</div><div><br></div><div>"<span style=3D"color:= rgb(0,0,0);font-family:Menlo;font-size:11px">GHCi, version 9.4.4: <a href= =3D"https://www.haskell.org/ghc/" target=3D"_blank">https://www.haskell.org= /ghc/</a></span><span style=3D"color:rgb(0,0,0);font-family:Menlo;font-size= :11px">=C2=A0 </span><span style=3D"color:rgb(0,0,0);font-family:Menlo;font= -size:11px">:? for help</span></div> <p style=3D"margin:0px;font-stretch:normal;font-size:11px;line-height:norma= l;font-family:Menlo;color:rgb(0,0,0)"><span style=3D"font-variant-ligatures= :no-common-ligatures">xcrun: error: invalid active developer path (/Library= /Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandL= ineTools/usr/bin/xcrun</span></p> <p style=3D"margin:0px;font-stretch:normal;font-size:11px;line-height:norma= l;font-family:Menlo;color:rgb(0,0,0)"><span style=3D"font-variant-ligatures= :no-common-ligatures">`gcc' failed in phase `gcc'. (Exit code: 1)</= span></p> <p style=3D"margin:0px;font-stretch:normal;font-size:11px;line-height:norma= l;font-family:Menlo;color:rgb(0,0,0)"><span style=3D"font-variant-ligatures= :no-common-ligatures">williammcenaney@Williams-Air bin"</span></p><p s= tyle=3D"margin:0px;font-stretch:normal;font-size:11px;line-height:normal;fo= nt-family:Menlo;color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-= common-ligatures"><br></span></p><p style=3D"margin:0px;font-stretch:normal= ;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><spa= n style=3D"font-variant-ligatures:no-common-ligatures">Thanks.</span></p><p= style=3D"margin:0px;font-stretch:normal;font-size:11px;line-height:normal;= font-family:Menlo;color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:n= o-common-ligatures"><br></span></p><p style=3D"margin:0px;font-stretch:norm= al;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><s= pan style=3D"font-variant-ligatures:no-common-ligatures">Bill</span></p><p = style=3D"margin:0px;font-stretch:normal;font-size:11px;line-height:normal;f= ont-family:Menlo;color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no= -common-ligatures"><br></span></p><p style=3D"margin:0px;font-stretch:norma= l;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><sp= an style=3D"font-variant-ligatures:no-common-ligatures">Bill</span></p></di= v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On W= ed, Mar 15, 2023 at 7:59=E2=80=AFAM George Colpitts <<a href=3D"mailto:g= [email protected]" target=3D"_blank">[email protected]</a>&g= t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p= x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div d= ir=3D"ltr"><div dir=3D"ltr"><div style=3D"font-family:"times new roman= ",serif;font-size:large">Hi Bill</div><div style=3D"font-family:"= times new roman",serif;font-size:large"><br></div><div style=3D"font-f= amily:"times new roman",serif;font-size:large">Yes,GHC will run o= n your new MacBook Air. The cpu in that is Apple Silicon , the=C2=A0aarch64= -apple-darwin platform. Older Macs run on Intel chips, the=C2=A0x86_64-appl= e-darwin platform.=C2=A0</div><div style=3D"font-family:"times new rom= an",serif;font-size:large"><br></div><div style=3D"font-family:"t= imes new roman",serif;font-size:large">I'm not sure how you instal= led the compiler. I believe the standard way is described on=C2=A0<a href= =3D"https://www.haskell.org/ghcup/" target=3D"_blank">https://www.haskell.o= rg/ghcup/</a>. Can you tell us how you installed it?</div><div style=3D"fon= t-family:"times new roman",serif;font-size:large"><br></div><div = style=3D"font-family:"times new roman",serif;font-size:large">Tha= nks=C2=A0</div><div style=3D"font-family:"times new roman",serif;= font-size:large">George</div><div style=3D"font-family:"times new roma= n",serif;font-size:large"><br></div></div><div class=3D"gmail_quote"><= div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 8:22=E2=80=AFA= M Simon Peyton Jones <<a href=3D"mailto:[email protected]" tar= get=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 style=3D"fo= nt-family:tahoma,sans-serif">Redirecting this query to ghc-devs.=C2=A0 Can = anyone help William?=C2=A0 Thanks!</div><div style=3D"font-family:tahoma,sa= ns-serif"><br></div><div style=3D"font-family:tahoma,sans-serif"> <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>Will GHC run on my n= ew MacBook Air? After installing the compiler,=20 my laptop said its processor was wrong for the binary distribution I=20 chose. If there is a dmg file for MacOS 12.5.1, please please link your=20 reply to it.</div></blockquote> </div><div style=3D"font-family:tahoma,sans-serif"><br></div><div style=3D"= font-family:tahoma,sans-serif">Simon<br></div></div><br><div class=3D"gmail= _quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, 14 Mar 2023 at 23:33,= 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">Dear Dr. Jones,<div>= <br></div><div>Will GHC run on my new MacBook Air? After installing the com= piler, my laptop said its processor was wrong for the binary distribution I= chose. If there is a dmg file for MacOS 12.5.1, please please link your re= ply to it.</div><div><br></div><div>Thanks for your help.</div><div><br></d= iv><div>Best,</div><div>Bill</div></div> </blockquote></div> _______________________________________________<br> ghc-devs mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">ghc-devs@haskell.= 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/mailman/l= istinfo/ghc-devs</a><br> </blockquote></div> </div> </blockquote></div> </blockquote></div></div> --000000000000f5c60105f717801d-- --===============3834775355364864850== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ2hjLWRldnMg bWFpbGluZyBsaXN0CmdoYy1kZXZzQGhhc2tlbGwub3JnCmh0dHA6Ly9tYWlsLmhhc2tlbGwub3Jn L2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9naGMtZGV2cwo= --===============3834775355364864850==--