[Haskell-cafe] Is anybody on 9.6.1 having problems profiling on a Mac?

George Colpitts george.colpitts at gmail.com
Mon May 15 12:14:24 UTC 2023


9.6.1 isn't available on ghcup. Homebrew doesn't have any packages ghc-prof
or ghc-dynamic.

Thanks
George

On Mon, May 15, 2023 at 8:52 AM Brandon Allbery <allbery.b at gmail.com> wrote:

> If you installed ghc via ghcup, you shouldn't need it. If you
> installed via Homebrew, I don't know if they have a separate package
> for the dynamic libs or what it would be called; I use Linux and
> ghcup, and if I'd used the Ubuntu packages it would be "ghc-prof".
>
> On Mon, May 15, 2023 at 7:49 AM George Colpitts
> <george.colpitts at gmail.com> wrote:
> >
> > Thanks Brandon, I'm on a Mac. Do you know how I should install it?
> >
> > On Mon, May 15, 2023 at 8:38 AM Brandon Allbery <allbery.b at gmail.com>
> wrote:
> >>
> >> `ghc-dynamic` would be an OS package, not cabal.
> >>
> >> On Mon, May 15, 2023 at 7:36 AM George Colpitts
> >> <george.colpitts at gmail.com> wrote:
> >> >
> >> > Thanks Henning. I just installed ghc 9.6.1.
> >> >
> >> > When I try ghc-dynamic I get
> >> >
> >> >  $ cabal install --lib ghc-dynamic
> >> > Error: cabal: Unknown package "ghc-dynamic".
> >> >
> >> >
> >> > On Sun, May 14, 2023 at 4:47 PM Henning Thielemann <
> lemming at henning-thielemann.de> wrote:
> >> >>
> >> >>
> >> >> On Sun, 14 May 2023, George Colpitts wrote:
> >> >>
> >> >> > gets the error:
> >> >> >
> >> >> >       Could not find module ‘Prelude’
> >> >> >
> >> >> >        Perhaps you haven't installed the "p_dyn" libraries for
> package ‘base-4.18.0.0’?
> >> >>
> >> >> On Debian Linux the probable cause would be that you have not
> installed
> >> >> ghc-dynamic. Is there a package missing on your Mac installation?
> >> >
> >> > _______________________________________________
> >> > Haskell-Cafe mailing list
> >> > To (un)subscribe, modify options or view archives go to:
> >> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> >> > Only members subscribed via the mailman list are allowed to post.
> >>
> >>
> >>
> >> --
> >> brandon s allbery kf8nh
> >> allbery.b at gmail.com
>
>
>
> --
> brandon s allbery kf8nh
> allbery.b at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20230515/780a366d/attachment.html>


More information about the Haskell-Cafe mailing list