Re: Installing GHC on my MacBook Air

2023-03-15 Thread Simon Peyton Jones
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, please please link your reply to it.
>

Simon

On Tue, 14 Mar 2023 at 23:33, William McEnaney 
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, please please link your reply to it.
>
> Thanks for your help.
>
> Best,
> Bill
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
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 AM Simon Peyton Jones <
simon.peytonjo...@gmail.com> 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, please please link your reply to it.
>>
>
> Simon
>
> On Tue, 14 Mar 2023 at 23:33, William McEnaney 
> 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, please please link your reply to it.
>>
>> Thanks for your help.
>>
>> Best,
>> Bill
>>
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
Spam detection software, running on the system "mail.haskell.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  Hi Bill I just noticed that you said you installed a binary
   distribution. If for example you chose the 9.4.4 distribution at 
https://www.haskell.org/ghc/download_ghc_9_4_4.html#macosx_x86_64
   you should choose one of: [...] 

Content analysis details:   (5.8 points, 5.0 required)

 pts rule name  description
 -- --
 0.0 FREEMAIL_FROM  Sender email is commonly abused enduser mail 
provider
(george.colpitts[at]gmail.com)
-0.0 SPF_PASS   SPF: sender matches SPF record
 5.0 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired language
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.8 BAYES_50   BODY: Bayes spam probability is 40 to 60%
[score: 0.5000]
 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---
Hi Bill

I  just noticed that you said you installed a binary distribution. If for
example you chose the 9.4.4 distribution at
https://www.haskell.org/ghc/download_ghc_9_4_4.html#macosx_x86_64 you
should choose one of:


   - ghc-9.4.4-aarch64-apple-darwin.tar.xz
   

(187.0
   MB, sig
   

   )
   - ghc-9.4.4-aarch64-apple-darwin.tar.bz2
   

(300.0
   MB, sig
   

   )

rather than


   - ghc-9.4.4-x86_64-apple-darwin.tar.xz
   

(177.9
   MB, sig
   

   )
   - ghc-9.4.4-x86_64-apple-darwin.tar.bz2
   

(281.9
   MB, sig
   

   )


On Wed, Mar 15, 2023 at 8:59 AM George Colpitts 
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 AM Simon Peyton Jones <
> simon.peytonjo...@gmail.com> 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, please please link your reply to it.
>>>
>>
>> Simon
>>
>> On Tue, 14 Mar 2023 at 23:33, William McEnaney <
>> bill.mcenaney...@gmail.com> 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, please please link your reply to it.
>>>
>>> Thanks for your help.
>>>
>>> Best,
>>> Bill
>>>
>> ___
>> ghc-devs mailing list
>> ghc-devs@haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>>
>
--- End Message ---
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Help! Can't build HEAD

2023-03-15 Thread Simon Peyton Jones
Aargh!  I can't build HEAD!

I get this:
./hadrian/build
Up to date
]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no rule
available:
  utils/hpc/hpc-bin.cabal
Build failed.


This is after
hadrian/build clean
./boot
./configure

I'm very stalled.  All my trees are borked.  Can anyone help?

Simon
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Help! Can't build HEAD

2023-03-15 Thread Matthew Pickering
You need to run `git submodule update` I think.

On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
 wrote:
>
> Aargh!  I can't build HEAD!
>
> I get this:
> ./hadrian/build
> Up to date
> ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no rule 
> available:
>   utils/hpc/hpc-bin.cabal
> Build failed.
>
>
> This is after
> hadrian/build clean
> ./boot
> ./configure
>
> I'm very stalled.  All my trees are borked.  Can anyone help?
>
> Simon
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Help! Can't build HEAD

2023-03-15 Thread Sam Derbyshire
Spam detection software, running on the system "mail.haskell.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  Perhaps even `git submodule update --init`. On Wed, 15 Mar
   2023 at 13:41, Matthew Pickering  wrote: > You
   need to run `git submodule update` I think. > > On Wed, Mar 15, 2023 at 
12:36 PM
   Simon Peyton Jones >  wrote: > > > > Aargh!
  I can't build HEAD! > > > > I get this: > > ./hadrian/build > > Up to date
   > > ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no
   > rule available: > > utils/hpc/hpc-bin.cabal > > Build failed. > > > > >
   > This is after > > hadrian/build clean > > ./boot > > ./configure > > >
  > I'm very stalled. All my trees are borked. Can anyone help? > > > > Simon
   > > ghc-devs mailing list > ghc-devs@haskell.org > 
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
   > [...] 

Content analysis details:   (5.8 points, 5.0 required)

 pts rule name  description
 -- --
 0.0 FREEMAIL_FROM  Sender email is commonly abused enduser mail 
provider
(sam.derbyshire[at]gmail.com)
 5.0 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired language
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.8 BAYES_50   BODY: Bayes spam probability is 40 to 60%
[score: 0.5000]
 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---
Perhaps even `git submodule update --init`.

On Wed, 15 Mar 2023 at 13:41, Matthew Pickering 
wrote:

> You need to run `git submodule update` I think.
>
> On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
>  wrote:
> >
> > Aargh!  I can't build HEAD!
> >
> > I get this:
> > ./hadrian/build
> > Up to date
> > ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no
> rule available:
> >   utils/hpc/hpc-bin.cabal
> > Build failed.
> >
> >
> > This is after
> > hadrian/build clean
> > ./boot
> > ./configure
> >
> > I'm very stalled.  All my trees are borked.  Can anyone help?
> >
> > Simon
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
--- End Message ---


Re: Help! Can't build HEAD

2023-03-15 Thread Simon Peyton Jones
Spam detection software, running on the system "mail.haskell.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  I forgot to say -- I always do `git submodule update`. On
  this occasion it's a no op S [...] 

Content analysis details:   (5.8 points, 5.0 required)

 pts rule name  description
 -- --
 0.0 FREEMAIL_FROM  Sender email is commonly abused enduser mail 
provider
(simon.peytonjones[at]gmail.com)
 5.0 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired language
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.8 BAYES_50   BODY: Bayes spam probability is 40 to 60%
[score: 0.5000]
 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---
I forgot to say -- I always do `git submodule update`.

On this occasion it's a no op

S

On Wed, 15 Mar 2023 at 12:41, Matthew Pickering 
wrote:

> You need to run `git submodule update` I think.
>
> On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
>  wrote:
> >
> > Aargh!  I can't build HEAD!
> >
> > I get this:
> > ./hadrian/build
> > Up to date
> > ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no
> rule available:
> >   utils/hpc/hpc-bin.cabal
> > Build failed.
> >
> >
> > This is after
> > hadrian/build clean
> > ./boot
> > ./configure
> >
> > I'm very stalled.  All my trees are borked.  Can anyone help?
> >
> > Simon
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
--- End Message ---


Re: Help! Can't build HEAD

2023-03-15 Thread Simon Peyton Jones
Oh I didn't know you had to say "--init".  Anyway that fails

git submodule update --init
Submodule 'utils/hpc' (https://gitlab.haskell.org/hpc/hpc-bin.git)
registered for path 'utils/hpc'
fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already
exists and is not an empty directory.
fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into submodule
path '/home/simonpj/code/HEAD-15/utils/hpc' failed
Failed to clone 'utils/hpc'. Retry scheduled
fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already
exists and is not an empty directory.
fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into submodule
path '/home/simonpj/code/HEAD-15/utils/hpc' failed
Failed to clone 'utils/hpc' a second time, aborting
simonpj@LHR-WD-22561:~/code/HEAD-15$

Simon

On Wed, 15 Mar 2023 at 12:46, Sam Derbyshire 
wrote:

> Perhaps even `git submodule update --init`.
>
> On Wed, 15 Mar 2023 at 13:41, Matthew Pickering <
> matthewtpicker...@gmail.com> wrote:
>
>> You need to run `git submodule update` I think.
>>
>> On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
>>  wrote:
>> >
>> > Aargh!  I can't build HEAD!
>> >
>> > I get this:
>> > ./hadrian/build
>> > Up to date
>> > ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no
>> rule available:
>> >   utils/hpc/hpc-bin.cabal
>> > Build failed.
>> >
>> >
>> > This is after
>> > hadrian/build clean
>> > ./boot
>> > ./configure
>> >
>> > I'm very stalled.  All my trees are borked.  Can anyone help?
>> >
>> > Simon
>> ___
>> ghc-devs mailing list
>> ghc-devs@haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>>
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Help! Can't build HEAD

2023-03-15 Thread Simon Peyton Jones
Ah.

rm utils/hpc
git submodule update

does the job.  Who would have guessed that?  Maybe this thread will help
others.

Could hadrian have avoided this, perhaps?

Anyway, I'm rolling again, thanks

Simon

On Wed, 15 Mar 2023 at 12:54, Simon Peyton Jones <
simon.peytonjo...@gmail.com> wrote:

> Oh I didn't know you had to say "--init".  Anyway that fails
>
> git submodule update --init
> Submodule 'utils/hpc' (https://gitlab.haskell.org/hpc/hpc-bin.git)
> registered for path 'utils/hpc'
> fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already
> exists and is not an empty directory.
> fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into
> submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed
> Failed to clone 'utils/hpc'. Retry scheduled
> fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already
> exists and is not an empty directory.
> fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into
> submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed
> Failed to clone 'utils/hpc' a second time, aborting
> simonpj@LHR-WD-22561:~/code/HEAD-15$
>
> Simon
>
> On Wed, 15 Mar 2023 at 12:46, Sam Derbyshire 
> wrote:
>
>> Perhaps even `git submodule update --init`.
>>
>> On Wed, 15 Mar 2023 at 13:41, Matthew Pickering <
>> matthewtpicker...@gmail.com> wrote:
>>
>>> You need to run `git submodule update` I think.
>>>
>>> On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
>>>  wrote:
>>> >
>>> > Aargh!  I can't build HEAD!
>>> >
>>> > I get this:
>>> > ./hadrian/build
>>> > Up to date
>>> > ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and no
>>> rule available:
>>> >   utils/hpc/hpc-bin.cabal
>>> > Build failed.
>>> >
>>> >
>>> > This is after
>>> > hadrian/build clean
>>> > ./boot
>>> > ./configure
>>> >
>>> > I'm very stalled.  All my trees are borked.  Can anyone help?
>>> >
>>> > Simon
>>> ___
>>> ghc-devs mailing list
>>> ghc-devs@haskell.org
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>>>
>>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re[2]: Help! Can't build HEAD

2023-03-15 Thread Sebastian Graf

Hi Simon,

I had that very issue a few days ago, but saw this thread too late.
For me it was enough to cd into utils/hpc and do a `git checkout .`.

Sebastian

-- Originalnachricht --
Von: "Simon Peyton Jones" 
An: "Sam Derbyshire" 
Cc: "Sam Derbyshire" ; "GHC developers" 


Gesendet: 15.03.2023 13:57:03
Betreff: Re: Help! Can't build HEAD


Ah.

rm utils/hpc
git submodule update

does the job.  Who would have guessed that?  Maybe this thread will 
help others.


Could hadrian have avoided this, perhaps?

Anyway, I'm rolling again, thanks

Simon

On Wed, 15 Mar 2023 at 12:54, Simon Peyton Jones 
 wrote:

Oh I didn't know you had to say "--init".  Anyway that fails

git submodule update --init
Submodule 'utils/hpc' (https://gitlab.haskell.org/hpc/hpc-bin.git) 
registered for path 'utils/hpc'
fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already 
exists and is not an empty directory.
fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into 
submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed

Failed to clone 'utils/hpc'. Retry scheduled
fatal: destination path '/home/simonpj/code/HEAD-15/utils/hpc' already 
exists and is not an empty directory.
fatal: clone of 'https://gitlab.haskell.org/hpc/hpc-bin.git' into 
submodule path '/home/simonpj/code/HEAD-15/utils/hpc' failed

Failed to clone 'utils/hpc' a second time, aborting
simonpj@LHR-WD-22561:~/code/HEAD-15$

Simon

On Wed, 15 Mar 2023 at 12:46, Sam Derbyshire 
 wrote:

Perhaps even `git submodule update --init`.

On Wed, 15 Mar 2023 at 13:41, Matthew Pickering 
 wrote:

You need to run `git submodule update` I think.

On Wed, Mar 15, 2023 at 12:36 PM Simon Peyton Jones
 wrote:
>
> Aargh!  I can't build HEAD!
>
> I get this:
> ./hadrian/build
> Up to date
> ]0;Starting... ]0;Finished in 0.04s Error, file does not exist and 
no rule available:

>   utils/hpc/hpc-bin.cabal
> Build failed.
>
>
> This is after
> hadrian/build clean
> ./boot
> ./configure
>
> I'm very stalled.  All my trees are borked.  Can anyone help?
>
> Simon
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Coordination on FreeBSD CI, default WinIO and Info Tables profiling work

2023-03-15 Thread Hécate

Hi everyone,

I have created topical aggregators of tickets that go beyond the rhythm 
of releases (aka. "epics") for  the following topics:


* Info Tables Profiling: https://gitlab.haskell.org/groups/ghc/-/epics/3

* Setting WinIO "on" by default: 
https://gitlab.haskell.org/groups/ghc/-/epics/4


* FreeBSD CI revival: https://gitlab.haskell.org/groups/ghc/-/epics/5

These epics have no deadline and their purpose is to track the evolution 
of our workload for certain "big" tasks that go beyond a single ticket.


They are also useful as they are a (albeit imprecise) tool to help 
determine after the fact the magnitude of a project and the efforts it 
took. This will certainly be helpful for future estimations.


And finally their prime purpose is to enable more awareness about our 
co-contributors work, so that we get all a better sense of what it takes 
to do certain things. :)


Please do feel free to create your own for projects that are not fit for 
a single milestone (or are not related to release milestones at all).



Cheers,
Hécate

--
Hécate ✨
🐦: @TechnoEmpress
IRC: Hecate
WWW: https://glitchbra.in
RUN: BSD

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
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 AM William McEnaney <
bill.mcenaney...@gmail.com> 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” can’t 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 AM William McEnaney <
> bill.mcenaney...@gmail.com> 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 remove those programs
>> before reinstalling ghc.
>>
>> Thanks for your help, too.
>>
>> Best,
>> Bill
>>
>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts <
>> george.colpi...@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 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 AM Simon Peyton Jones <
>>> simon.peytonjo...@gmail.com> 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, please please link your reply to it.
>

 Simon

 On Tue, 14 Mar 2023 at 23:33, William McEnaney <
 bill.mcenaney...@gmail.com> 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, please please link your reply to it.
>
> Thanks for your help.
>
> Best,
> Bill
>
 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

>>>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Installing GHC on my MacBook Air

2023-03-15 Thread Brandon Allbery
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 PM George Colpitts
 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 AM William McEnaney 
>  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” can’t 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 AM William McEnaney 
>>  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 remove those programs before 
>>> reinstalling ghc.
>>>
>>> Thanks for your help, too.
>>>
>>> Best,
>>> Bill
>>>
>>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts  
>>> 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 AM Simon Peyton Jones 
  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, please please link your reply 
>> to it.
>
>
> Simon
>
> On Tue, 14 Mar 2023 at 23:33, William McEnaney 
>  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, please please link your reply 
>> to it.
>>
>> Thanks for your help.
>>
>> Best,
>> Bill
>
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs



-- 
brandon s allbery kf8nh
allber...@gmail.com
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
cc'ing others

On Wed, Mar 15, 2023 at 1:20 PM George Colpitts 
wrote:

> Thanks Brandon. There were some earlier emails that somehow got dropped
> from this.
>
> I believe we have already solved the wrong architecture issue; this is the
> next issue.
>
> Here is the earlier email:
>
> I  just noticed that you said you installed a binary distribution. If for
> example you chose the 9.4.4 distribution at
> https://www.haskell.org/ghc/download_ghc_9_4_4.html#macosx_x86_64 you
> should choose one of:
>
>
>- ghc-9.4.4-aarch64-apple-darwin.tar.xz
>   
> 
>  (187.0
>   MB, sig
>   
> 
>   )
>   - ghc-9.4.4-aarch64-apple-darwin.tar.bz2
>   
> 
>  (300.0
>   MB, sig
>   
> 
>   )
>
> rather than
>
>
>- ghc-9.4.4-x86_64-apple-darwin.tar.xz
>   
> 
>  (177.9
>   MB, sig
>   
> 
>   )
>   - ghc-9.4.4-x86_64-apple-darwin.tar.bz2
>   
> 
>  (281.9
>   MB, sig
>   
> 
>   )
>
>
> On Wed, Mar 15, 2023 at 1:10 PM Brandon Allbery 
> 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 PM George Colpitts
>>  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 AM William McEnaney <
>> bill.mcenaney...@gmail.com> 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” can’t 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 AM William McEnaney <
>> bill.mcenaney...@gmail.com> 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 remove those programs before
>> reinstalling ghc.
>> >>>
>> >>> Thanks for your help, too.
>> >>>
>> >>> Best,
>> >>> Bill
>> >>>
>> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts <
>> george.colpi...@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 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 AM Simon Peyton Jones <
>> simon.peytonjo...@gmail.com> 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, please please link your reply to
>> it.
>> >
>> >
>> > Simon
>> >
>> > On Tue, 14 Mar 2023 at 23:33, William McEnaney <
>> bill.mcenaney...@gmail.com> 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, please please link your reply to
>> it.
>> >>
>> >> Thanks for your help.
>>

Re: Installing GHC on my MacBook Air

2023-03-15 Thread Ben Gamari
George Colpitts  writes:

> 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.
>
It may be that the reason is either a GHC bug
(https://gitlab.haskell.org/ghc/ghc/-/issues/23009) or further changes
by Apple (https://gitlab.haskell.org/ghc/ghc/-/issues/23115)

Cheers,

- Ben



signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
Bill

For your latest problem

 libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t 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 PM William McEnaney 
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 PM Brandon Allbery 
> 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 PM George Colpitts
>>  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 AM William McEnaney <
>> bill.mcenaney...@gmail.com> 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” can’t 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 AM William McEnaney <
>> bill.mcenaney...@gmail.com> 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 remove those programs before
>> reinstalling ghc.
>> >>>
>> >>> Thanks for your help, too.
>> >>>
>> >>> Best,
>> >>> Bill
>> >>>
>> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts <
>> george.colpi...@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 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 AM Simon Peyton Jones <
>> simon.peytonjo...@gmail.com> 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, please please link your reply to
>> it.
>> >
>> >
>> > Simon
>> >
>> > On Tue, 14 Mar 2023 at 23:33, William McEnaney <
>> bill.mcenaney...@gmail.com> 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, please please link your reply to
>> it.
>> >>
>> >> Thanks for your help.
>> >>
>> >> Best,
>> >> Bill
>> >
>> > ___
>> > ghc-devs mailing list
>> > ghc-devs@haskell.org
>> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>> >
>> > ___
>> > ghc-devs mailing list
>> > ghc-devs@haskell.org
>> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>>
>>
>>
>> --
>> brandon s allbery kf8nh
>> allber...@gmail.com
>>
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
Hi William

I think it's best if you submit a bug as described here


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 PM William McEnaney 
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 access
> my photos when I don't have any.
>
>
> On Wed, Mar 15, 2023 at 12:26 PM George Colpitts <
> george.colpi...@gmail.com> wrote:
>
>> Bill
>>
>> For your latest problem
>>
>>  libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t 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 PM William McEnaney <
>> bill.mcenaney...@gmail.com> 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 PM Brandon Allbery 
>>> 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 PM George Colpitts
  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 AM William McEnaney <
 bill.mcenaney...@gmail.com> 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” can’t 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 AM William McEnaney <
 bill.mcenaney...@gmail.com> 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 remove those programs before
 reinstalling ghc.
 >>>
 >>> Thanks for your help, too.
 >>>
 >>> Best,
 >>> Bill
 >>>
 >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts <
 george.colpi...@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 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 AM Simon Peyton Jones <
 simon.peytonjo...@gmail.com> 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, please
 please link your reply to it.
 >
 >
 > Simon
 >
 > On Tue, 14 Mar 2023 at 23:33, William McEnaney <
 bill.mcenaney...@gmail.com> 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, please
 please link your reply to it.
 >>
 >> Thanks for your help.
 >>
 >> Best,
 >> Bill
 >
 > ___

Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
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” can’t be opened because 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 PM William McEnaney 
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 PM George Colpitts <
> george.colpi...@gmail.com> wrote:
>
>> Hi William
>>
>> I think it's best if you submit a bug as described here
>> 
>>
>> 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 PM William McEnaney <
>> bill.mcenaney...@gmail.com> 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 access
>>> my photos when I don't have any.
>>>
>>>
>>> On Wed, Mar 15, 2023 at 12:26 PM George Colpitts <
>>> george.colpi...@gmail.com> wrote:
>>>
 Bill

 For your latest problem

  libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t 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 PM William McEnaney <
 bill.mcenaney...@gmail.com> 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 PM Brandon Allbery 
> 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 PM George Colpitts
>>  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 AM William McEnaney <
>> bill.mcenaney...@gmail.com> 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” can’t 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 AM William McEnaney <
>> bill.mcenaney...@gmail.com> 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 remove tho

Re: Installing GHC on my MacBook Air

2023-03-15 Thread George Colpitts
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 PM William McEnaney 
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 PM George Colpitts 
> wrote:
>
>> 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” can’t be opened because 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 PM William McEnaney <
>> bill.mcenaney...@gmail.com> 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 PM George Colpitts <
>>> george.colpi...@gmail.com> wrote:
>>>
 Hi William

 I think it's best if you submit a bug as described here
 

 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 PM William McEnaney <
 bill.mcenaney...@gmail.com> 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 access
> my photos when I don't have any.
>
>
> On Wed, Mar 15, 2023 at 12:26 PM George Colpitts <
> george.colpi...@gmail.com> wrote:
>
>> Bill
>>
>> For your latest problem
>>
>>  libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t 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 PM William McEnaney <
>> bill.mcenaney...@gmail.com> 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 PM Brandon Allbery <
>>> allber...@gmail.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 PM George Colpitts
  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 AM William McEnaney <
 bill.mcenaney...@gmail.com> 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