bindfs
bindfs copied to clipboard
make error
on make step I received this error:
master@milkywayshop:~/tmp/bindfs-1.14.2$ sudo make
make all-recursive
make[1]: Entering directory '/home/master/tmp/bindfs-1.14.2'
Making all in src
make[2]: Entering directory '/home/master/tmp/bindfs-1.14.2/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/master/tmp/bindfs-1.14.2/src'
Making all in tests
make[2]: Entering directory '/home/master/tmp/bindfs-1.14.2/tests'
Making all in internals
make[3]: Entering directory '/home/master/tmp/bindfs-1.14.2/tests/internals'
gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I. -I../../src -Wall -g -O2 -MT test_internals-test_internals.o -MD -MP -MF .deps/test_internals-test_internals.Tpo -c -o test_internals-test_internals.o `test -f 'test_internals.c' || echo './'`test_internals.c
test_internals.c:72:1: fatal error: opening dependency file .deps/test_internals-test_internals.Tpo: Permission denied
TEST_MAIN(test_internal_suite);
^~~~~~~~~
compilation terminated.
Makefile:434: recipe for target 'test_internals-test_internals.o' failed
make[3]: *** [test_internals-test_internals.o] Error 1
make[3]: Leaving directory '/home/master/tmp/bindfs-1.14.2/tests/internals'
Makefile:506: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/master/tmp/bindfs-1.14.2/tests'
Makefile:399: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/master/tmp/bindfs-1.14.2'
Makefile:331: recipe for target 'all' failed
make: *** [all] Error 2
It says "Permission denied". Since you ran make
with sudo
, I don't see why it would do that. sudo
should not be necessary, but it should not be harmful either. Could you tell me more about your setup (distro? filesystem?) and what you did before running sudo make
?