Re: Installing GHC on my MacBook Air

George Colpitts <[email protected]> Wed, 15 Mar 2023 14:17:18 -0300
Newsgroups gmane.comp.lang.haskell.glasgow.user,gmane.comp.lang.haskell.ghc.devel
Message-ID <CAB-d4A6FatCooJy3_=5dYJXK+MG_cTW1R7dEXf2Kf_g_xHV9-w@mail.gmail.com>
--===============2944718576401330141==
Content-Type: multipart/alternative; boundary="0000000000005b3b3b05f6f386b8"

--0000000000005b3b3b05f6f386b8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Bill,

It's easy to forget to do replay all in gmail but it's important to do so
in these emails.

In your original email you wrote:

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,*
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 becau=
se 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 my
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 <bill.mcenaney.jr@=
gmail.com>
wrote:

> Hi, George,
>
> I'd be happy to do that for you. But I'm sure I can recall the informatio=
n
> 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 acce=
ss
>>> 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 opened=
 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 <allbery.b@g=
mail.com>
>>>>> 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 them.
>>>>>> >
>>>>>> > 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 is
>>>>>> 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 op=
ened 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 de=
lete
>>>>>> anything. So I wonder whether I'll need to remove those programs bef=
ore
>>>>>> 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, pleas=
e
>>>>>> 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, pleas=
e
>>>>>> 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]
>>>>>>
>>>>>

--0000000000005b3b3b05f6f386b8
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:&quot;times new roman&quot;,serif;font-size:large">Hi Bill,</div><=
div class=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot=
;,serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"fo=
nt-family:&quot;times new roman&quot;,serif;font-size:large">It&#39;s easy =
to forget to do replay all in gmail but it&#39;s important to do so in thes=
e emails.</div><div class=3D"gmail_default" style=3D"font-family:&quot;time=
s new roman&quot;,serif;font-size:large"><br></div><div class=3D"gmail_defa=
ult" style=3D"font-family:&quot;times new roman&quot;,serif;font-size:large=
">In your original email you wrote:</div><div class=3D"gmail_default" style=
=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"><br></di=
v></div><blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><di=
v dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:&quot;times=
 new roman&quot;,serif;font-size:large"><span style=3D"font-family:Arial,He=
lvetica,sans-serif;font-size:small">After installing the compiler, my lapto=
p said its processor was wrong for the binary distribution I chose. If ther=
e is a dmg file for <b>MacOS 12.5.1,</b> please please link your reply to i=
t.</span></div></div></blockquote><div dir=3D"ltr"><div class=3D"gmail_defa=
ult" style=3D"font-family:&quot;times new roman&quot;,serif;font-size:large=
"><br></div><div class=3D"gmail_default" style=3D"font-family:&quot;times n=
ew roman&quot;,serif;font-size:large">Can you confirm that you no longer ha=
ve the problem &quot;of=C2=A0processor was wrong for the binary distributio=
n I chose.&quot; ?</div><div class=3D"gmail_default" style=3D"font-family:&=
quot;times new roman&quot;,serif;font-size:large"><br></div><div class=3D"g=
mail_default" style=3D"font-family:&quot;times new roman&quot;,serif;font-s=
ize:large">My understanding is that after that you got the error:=C2=A0</di=
v><div class=3D"gmail_default" style=3D"font-family:&quot;times new roman&q=
uot;,serif;font-size:large"><br></div></div><blockquote style=3D"margin:0 0=
 0 40px;border:none;padding:0px"><div dir=3D"ltr"><div class=3D"gmail_defau=
lt" style=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"=
><span style=3D"font-family:Arial,Helvetica,sans-serif;font-size:small">lib=
HSterminfo-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 becau=
se Apple cannot check it for malicious software.</span></div><div class=3D"=
gmail_default" style=3D"font-family:&quot;times new roman&quot;,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 class=3D"=
gmail_default" style=3D"font-family:&quot;times new roman&quot;,serif;font-=
size:large">I then suggested you had encountered=C2=A0 <a href=3D"https://g=
itlab.haskell.org/ghc/ghc/-/issues/21506#note_447206">https://gitlab.haskel=
l.org/ghc/ghc/-/issues/21506#note_447206</a>=C2=A0 and I suggested you do:<=
/div><div class=3D"gmail_default" style=3D"font-family:&quot;times new roma=
n&quot;,serif;font-size:large"><br></div></div><blockquote style=3D"margin:=
0 0 0 40px;border:none;padding:0px"><div><div class=3D"gmail_default" style=
=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"><span st=
yle=3D"font-family:Arial,Helvetica,sans-serif;font-size:small">=C2=A0rm -fr=
 /usr/local/bin/ghc*</span></div></div><div><div class=3D"gmail_default" st=
yle=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"><span=
 style=3D"font-family:Arial,Helvetica,sans-serif;font-size:small">rm -fr /u=
sr/local/lib/ghc*</span></div></div><div><div class=3D"gmail_default" style=
=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"><span st=
yle=3D"font-family:Arial,Helvetica,sans-serif;font-size:small">./configure<=
/span></div></div><div><div class=3D"gmail_default" style=3D"font-family:&q=
uot;times new roman&quot;,serif;font-size:large"><span style=3D"font-family=
:Arial,Helvetica,sans-serif;font-size:small">sudo xattr -rc .</span></div><=
/div><div><div class=3D"gmail_default" style=3D"font-family:&quot;times new=
 roman&quot;,serif;font-size:large"><span style=3D"font-family:Arial,Helvet=
ica,sans-serif;font-size:small">sudo make install</span></div></div></block=
quote><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:&q=
uot;times new roman&quot;,serif;font-size:large"><br></div><div class=3D"gm=
ail_default" style=3D"font-family:&quot;times new roman&quot;,serif;font-si=
ze:large">You said=C2=A0you=C2=A0did=C2=A0and got a warning &quot;that some=
 program wanted to access my photos when I don&#39;t have any.&quot;</div><=
div class=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot=
;,serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"fo=
nt-family:&quot;times new roman&quot;,serif;font-size:large">Can you repeat=
 those steps and cut and paste your terminal session into an email?=C2=A0</=
div><div class=3D"gmail_default" style=3D"font-family:&quot;times new roman=
&quot;,serif;font-size:large"><br></div><div class=3D"gmail_default" style=
=3D"font-family:&quot;times new roman&quot;,serif;font-size:large">Unfortun=
ately I am too busy to continue replying but with the above I think somebod=
y will be able to help you.</div><div class=3D"gmail_default" style=3D"font=
-family:&quot;times new roman&quot;,serif;font-size:large"><br></div><div c=
lass=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot;,ser=
if;font-size:large">Cheers,</div><div class=3D"gmail_default" style=3D"font=
-family:&quot;times new roman&quot;,serif;font-size:large">George</div><div=
 class=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot;,s=
erif;font-size:large"><br></div></div><br><div class=3D"gmail_quote"><div d=
ir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 1:59=E2=80=AFPM Wil=
liam McEnaney &lt;<a href=3D"mailto:[email protected]">bill.mcenan=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr">Hi, George,<div><br></div><div>I&#39;d be h=
appy to do that for you. But I&#39;m sure I can recall the information a GH=
C maintainer would need.</div><div><br></div><div>Best,</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:41=E2=80=AFPM George Colpitts &lt;<a href=3D"ma=
ilto:[email protected]" target=3D"_blank">[email protected]=
</a>&gt; 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:&quot;times new=
 roman&quot;,serif;font-size:large">Hi William</div><div style=3D"font-fami=
ly:&quot;times new roman&quot;,serif;font-size:large"><br></div><div style=
=3D"font-family:&quot;times new roman&quot;,serif;font-size:large">I think =
it&#39;s best if you submit a bug as described <a href=3D"https://gitlab.ha=
skell.org/ghc/ghc/-/wikis/report-a-bug" target=3D"_blank">here</a></div><di=
v style=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"><=
br></div><div style=3D"font-family:&quot;times new roman&quot;,serif;font-s=
ize:large">Whether in email or in the bug report it is critical that you de=
scribe=C2=A0how the reader can reproduce the bug, i.e. starting from the be=
ginning,=C2=A0 describe=C2=A0what you did and what error message(s) you got=
.</div><div style=3D"font-family:&quot;times new roman&quot;,serif;font-siz=
e:large"><br></div><div style=3D"font-family:&quot;times new roman&quot;,se=
rif;font-size:large">Regards,</div><div style=3D"font-family:&quot;times ne=
w roman&quot;,serif;font-size:large">George</div><div style=3D"font-family:=
&quot;times new roman&quot;,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:34=E2=80=AFPM William McEnaney &lt;<a href=3D"mailto:bill.mcena=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrot=
e:<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"l=
tr">Hi, George,<div><br></div><div>Yes, I did. But I must have made a=C2=A0=
mistake. After I pasted them into a Terminal window, the machine warned me =
that some program wanted to access my photos when I don&#39;t have any.</di=
v><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas=
s=3D"gmail_attr">On Wed, Mar 15, 2023 at 12:26=E2=80=AFPM George Colpitts &=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">george.co=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div style=3D"font-family=
:&quot;times new roman&quot;,serif;font-size:large">Bill=C2=A0</div><div st=
yle=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"><br><=
/div><div style=3D"font-family:&quot;times new roman&quot;,serif;font-size:=
large">For your latest problem</div><div style=3D"font-family:&quot;times n=
ew roman&quot;,serif;font-size:large"><br></div></div><blockquote style=3D"=
margin:0px 0px 0px 40px;border:none;padding:0px"><div dir=3D"ltr"><div styl=
e=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"><span s=
tyle=3D"font-family:Arial,Helvetica,sans-serif;font-size:small">=C2=A0libHS=
terminfo-0.4.1.5-ghc9.4.</span><span style=3D"font-family:Arial,Helvetica,s=
ans-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:&quot;times new roman&quot;,serif;font-size:large"><span st=
yle=3D"font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span><=
/div></div></blockquote><div style=3D"font-family:&quot;times new roman&quo=
t;,serif;font-size:large">Did you try what I wrote in my last email:</div><=
div style=3D"font-family:&quot;times new roman&quot;,serif;font-size:large"=
><br></div><blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding=
:0px"><div style=3D"font-family:&quot;times new roman&quot;,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></blockquo=
te><div style=3D"font-family:&quot;times new roman&quot;,serif;font-size:la=
rge">George</div><div style=3D"font-family:&quot;times new roman&quot;,seri=
f;font-size:large"></div><br><blockquote style=3D"margin:0px 0px 0px 40px;b=
order:none;padding:0px"><br></blockquote><br><br><div class=3D"gmail_quote"=
><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 15, 2023 at 1:20=E2=80=
=AFPM William McEnaney &lt;<a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a>&gt; 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">Hi, everyone,<di=
v><br></div><div>Thank you for the help. Someone will tell me how to solve =
the=C2=A0problem, I hope because it stumped me.</div><div><br></div><div>Bi=
ll</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Wed, Mar 15, 2023 at 12:10=E2=80=AFPM Brandon Allbery &lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 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>
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">george.c=
[email protected]</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Bill<br>
&gt;<br>
&gt; I&#39;m cc&#39;ing GHC dev and GHC users as someone else may have a be=
tter answer, catch a mistake I made etc. Please don&#39;t delete them.<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; I believe the way to fix this is to do the following:<br>
&gt;<br>
&gt; rm -fr /usr/local/bin/ghc*<br>
&gt; rm -fr /usr/local/lib/ghc*<br>
&gt; ./configure<br>
&gt; sudo xattr -rc .<br>
&gt; sudo make install<br>
&gt;<br>
&gt;<br>
&gt; However I am unsure why you are encountering this as the issue is supp=
osed to have been fixed.<br>
&gt;<br>
&gt; Cheers<br>
&gt; George<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Mar 15, 2023 at 11:21=E2=80=AFAM William McEnaney &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">bill.mcenaney.jr@g=
mail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi, George,<br>
&gt;&gt;<br>
&gt;&gt; I got this message when I ran make install with the sudo command. =
What should I do?<br>
&gt;&gt;<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; What should I do now?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Bill<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Mar 15, 2023 at 9:29=E2=80=AFAM William McEnaney &lt;<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">bill.mcenaney.jr=
@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi George,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 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&#39;t =
delete anything. So I wonder whether I&#39;ll need to remove those programs=
 before reinstalling ghc.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks for your help, too.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best,<br>
&gt;&gt;&gt; Bill<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Mar 15, 2023 at 7:59=E2=80=AFAM George Colpitts &lt;<a=
 href=3D"mailto:[email protected]" target=3D"_blank">george.colpitt=
[email protected]</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Bill<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 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>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;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>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt;&gt; George<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Mar 15, 2023 at 8:22=E2=80=AFAM Simon Peyton Jones=
 &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">simon=
[email protected]</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Redirecting this query to ghc-devs.=C2=A0 Can anyone h=
elp William?=C2=A0 Thanks!<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 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>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Simon<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Tue, 14 Mar 2023 at 23:33, William McEnaney &lt;<a =
href=3D"mailto:[email protected]" target=3D"_blank">bill.mcenaney.=
[email protected]</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Dear Dr. Jones,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 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>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Thanks for your help.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Best,<br>
&gt;&gt;&gt;&gt;&gt;&gt; Bill<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; ghc-devs mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a><br>
&gt;&gt;&gt;&gt;&gt; <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>
&gt;<br>
&gt; _______________________________________________<br>
&gt; ghc-devs mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">ghc-devs@has=
kell.org</a><br>
&gt; <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>

--0000000000005b3b3b05f6f386b8--

--===============2944718576401330141==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KR2xhc2dvdy1o
YXNrZWxsLXVzZXJzIG1haWxpbmcgbGlzdApHbGFzZ293LWhhc2tlbGwtdXNlcnNAaGFza2VsbC5v
cmcKaHR0cDovL21haWwuaGFza2VsbC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL2dsYXNn
b3ctaGFza2VsbC11c2Vycwo=

--===============2944718576401330141==--