Permission denied in build
In build get error:
make[1]: Entering directory `/build/
install -m 0755 ./wc-view /usr/bin/
install: cannot create regular file `/usr/bin/wc-view': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/build/
My Makefile:
#
BIN=/usr/bin/
make:
gcc -ggdb `pkg-config --cflags opencv` -o wc-view main.c `pkg-config --libs opencv`
####
clean:
# rm wc-view
install:
# mkdir -p $(BIN)
install -m 0755 ./wc-view $(BIN)
uninstall:
rm -rfv $(BIN)wc-view
How to fix this error.
If i`m comment
install:
install -m 0755 ./wc-view $(BIN)
packet is not a binary file.
Full log http://
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Pavel-II for more information if necessary.