Conversation
took me 10 minutes to figure out why `cabal configure` wasn't putting the binary into `~/.cabal/bin`. putting these instructions here to make it clear to people who haven't used cabal before
| <code class="command">sudo port install pkgconfig</code><br> | ||
| <code class="command">sudo port install pcre</code><br> | ||
| <p>Then, you can compile arbtt using the usual cabal commands.</p> | ||
| <code class="command">cabal configure; cabal build; cabal install</code><br> |
There was a problem hiding this comment.
It may be misleading to present this as the single method for installing arbtt using Homebrew. The cabal install arbtt command mentioned above in the "From Hackage:" block also works on macOS. Here's what I do:
brew install pkg-config pcre cabal-install
cabal update
cabal install arbttI realize your change matches the existing description, so it's not at all incorrect — but if you'd like, we could use this opportunity to also mention the simpler install-from-hackage method as an option in macOS.
There was a problem hiding this comment.
The exisitng instructions are pretty-outdates, and not relaly modern. @waldyrious ’s instructions are better… would you care to put yours into a PR?
There was a problem hiding this comment.
@waldyrious that's actually what i did as well, i didn't realize installing implicitly configured and built. I can update my PR to read like that. should i also remove the MacPorts instructions, or leave them up?
There was a problem hiding this comment.
I'm not a macports user so I can't comment on whether those instructions work or not. I'd rather keep them and let people raise an issue if there's a problem, than remove potentially working instructions just because. But that's just my opinion :)
took me 10 minutes to figure out why
cabal configurewasn't putting the binary into~/.cabal/bin. putting these instructions here to make it clear to people who haven't used cabal before