Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"make install" fails on machines without a pre-existing /usr/local/bin directory #24

Closed
zenopolis opened this issue Oct 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zenopolis
Copy link
Contributor

The bin directory at /usr/local/bin doesn’t exist by default.
When this is the case, Toucan make install fails with:

Build complete! (89.21s)
install: /usr/local/bin/toucan: No such file or directory
make: *** [install] Error 71

Additional info:
/usr/local/bin is already part of the PATH environment variable.

@tib tib added the bug Something isn't working label Oct 11, 2024
@innoreq
Copy link

innoreq commented Oct 11, 2024

I get the same error:

Building for production...
[157/157] Linking toucan-cli
Build complete! (82.45s)
install: /usr/local/bin/toucan: Permission denied
make: *** [install] Error 71
➜  toucan git:(main) 

macOS 15.0.1 (24A348)

zenopolis added a commit to zenopolis/toucan that referenced this issue Oct 11, 2024
For machines that are affected by bug toucansites#24, these changes create the /usr/local/bin directory.

For this to work on those machines the make command needs to be called with sudo...

`sudo make install`

(This will require the admin password).
tib pushed a commit that referenced this issue Oct 12, 2024
- For machines that are affected by bug #24, these changes create the
`/usr/local/bin` directory.
@tib tib closed this as completed Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants