Installing GHC on my MacBook Air

George Colpitts george.colpitts at gmail.com
Fri Mar 17 12:12:46 UTC 2023


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 ghc-devs at haskell.org
and  glasgow-haskell-users at haskell.org

Cheers
George


On Thu, Mar 16, 2023 at 11:09 PM William McEnaney <
bill.mcenaney.jr at gmail.com> 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 reinstall
> 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 at Williams-Air bin"
>
>
> Thanks.
>
>
> Bill
>
>
> Bill
>
> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts <george.colpitts at 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.peytonjones at 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.jr at 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 at haskell.org
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20230317/b082363f/attachment.html>


More information about the Glasgow-haskell-users mailing list