Skip to content

Installer fails on macOS High Sierra #3208

@tfausak

Description

@tfausak

Stack's installer fails on the macOS High Sierra developer beta because /usr/local/bin doesn't exist.

$ curl -sSL https://get.haskellstack.org/ | sh
Using generic bindist...
 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   619    0   619    0     0   1013      0 --:--:-- --:--:-- --:--:--  1013
100 13.2M  100 13.2M    0     0  2619k      0  0:00:05  0:00:05 --:--:-- 3266k
Password:
install: /usr/local/bin/stack: No such file or directory
Install to /usr/local/bin/stack failed

Running sudo mkdir /usr/local/bin and then re-running the installer fixes it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions