Comments (5)
Does the following command work for you?
install -d -m 0755 /usr/local/bin
from gofu.
the flag error is gone but I get this:
$ make install
GOPATH=/Users/talal/x/src/github.com/majewsky/gofu/.gopath GOBIN=/Users/talal/x/src/github.com/majewsky/gofu/build go install -ldflags '-s -w' 'github.com/majewsky/gofu'
install -d -m 0755 "/usr/local/bin"
for APPLET in i3status rtree prettyprompt; do ln -s gofu "/usr/bin/${APPLET}"; done
ln: /usr/bin/i3status: Operation not permitted
ln: /usr/bin/rtree: Operation not permitted
ln: /usr/bin/prettyprompt: Operation not permitted
make: *** [install] Error 1
Changing the install force section to the following works:
install: FORCE all
install -d -m 0755 "/usr/local/bin"
for APPLET in $(APPLETS); do ln -s gofu "/usr/local/bin/$${APPLET}"; done
from gofu.
Edit: after a quick make install --help
, I found that on macOS the directory flag is -C
🤦♂️
So changing the flag to -C
and the PREFIX
at the top to /usr/local
works, no additional changes required.
This change also passes the git
to bit
test :double facepalm:
from gofu.
install
as in install -D -m 0755 ...
is not the same as install
in make install
.
install
the command is /usr/bin/install
(manpage for the GNU version). install
in a make
invocation is a Makefile target.
I committed a fix; it should work for you with commit 5d966f1 if you do make install PREFIX=/usr/local
.
from gofu.
Thank you, works as intended 😄
from gofu.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gofu.