[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

permission denied error



Hello, 

When I try to compile cjs I see this message :

make[1]: Map '/home/roelof/porting_work/cjs/cjs-2.0.0' wordt binnengegaan
 rm -f cjs-console
 rm -f gjs-tests gjs-unit
test -z "gjstest.c gjstest.h gjstest.c.stamp gjstest.h.stamp Regress-1.0.gir Regress-1.0.typelib GIMarshallingTests-1.0.gir GIMarshallingTests-1.0.typelib valgrind.gjs-tests.log valgrind.gjs-unit.log uninstalled-test-bus.conf uninstalled-system-test-bus.conf" || rm -f gjstest.c gjstest.h gjstest.c.stamp gjstest.h.stamp Regress-1.0.gir Regress-1.0.typelib GIMarshallingTests-1.0.gir GIMarshallingTests-1.0.typelib valgrind.gjs-tests.log valgrind.gjs-unit.log uninstalled-test-bus.conf uninstalled-system-test-bus.conf
test -z "console.la debugger.la langNative.la mainloop.la gettextNative.la dbusNative.la cairoNative.la system.la formatNative.la" || rm -f console.la debugger.la langNative.la mainloop.la gettextNative.la dbusNative.la cairoNative.la system.la formatNative.la
rm -f ./so_locations
test -z "libcjs.la libcjs-dbus.la" || rm -f libcjs.la libcjs-dbus.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf test_user_data
test -z "" || rm -f 
 /bin/mkdir -p '/usr/unused'
/bin/mkdir: kan map ‘/usr/unused’ niet aanmaken: Toegang geweigerd
make[1]: *** [clean-noinstLTLIBRARIES] Fout 1
make[1]: Map '/home/roelof/porting_work/cjs/cjs-2.0.0' wordt verlaten
dh_auto_clean: make -j1 distclean returned exit code 2
make: *** [clean] Fout 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1364:

So the error message is that it cannot make the directory /usr/unused. Permission denied.

The directory is here enabled : 

# noinst_ always builds a static library
if ENABLE_TESTS
testlib_LTLIBRARIES = libregress.la libgimarshallingtests.la
testlibdir = $(prefix)/unused
install-testlibLTLIBRARIES: # prevent it from being installed
endif

What is the best way to solve this ?

Roelof 		 	   		  

Reply to: