Opened 7 years ago

Closed 7 years ago

#4216 closed bug (invalid)

Haskell Platform for Mac doesn't seem to include "cabal" executable

Reported by: zooko Owned by: GregoryCollins
Priority: normal Milestone:
Component: Compiler Version: 6.12.3
Keywords: Cc: zooko@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


I just installed the Haskell Platform for Mac, and it installed "ghc" into /usr/bin, but it did not come with a "cabal" executable, so I had to install that separately.

Change History (5)

comment:1 Changed 7 years ago by dons

I'm pretty sure it does install the cabal executable. Is it possible that it has installed it under Library/Frameworks* , in a separate bin/ dir not in your path?

comment:2 Changed 7 years ago by GregoryCollins

Owner: set to GregoryCollins

The installer puts it in /usr/local/bin; I guess I shouldn't assume that people have this in their $PATH.

comment:3 Changed 7 years ago by dons

Could the installer print a little info window in the next release, telling people to update their path?

Maybe we should have an FAQ page?

comment:4 in reply to:  2 Changed 7 years ago by zooko

Cc: zooko@… added

Replying to GregoryCollins:

The installer puts it in /usr/local/bin;

It did not do so in my case:

$ find /usr/local/bin -iname '*cabal*'

What's the rationale for putting "ghc" in /usr/bin and "cabal" in /usr/local/bin? Traditionally the distinction between /usr/bin and /usr/local/bin is that the former is for packages installed by the author of the operating system (in this case Apple) and the latter is for packages installed by the local sysadmin (in this case me). Not that people follow that tradition very carefully, but in any case I've never before heard of a rationale for a single package to install executables in both /usr/bin and /usr/local/bin!

But by the way, note that it did not actually do so in this case.

comment:5 Changed 7 years ago by igloo

Resolution: invalid
Status: newclosed

Can you please report this in the haskell-platform bug tracker?

Note: See TracTickets for help on using tickets.