dept2 / qtmultimedia-gphoto

Qt 5 Multimedia framework gphoto2 camera plugin
25 stars 11 forks source link

Try to Qmake install but permission denies #3

Closed arumrum closed 6 years ago

arumrum commented 6 years ago

Hello, I just tried build this plugin but i got error:

install -m 755 -p libgphoto.so /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgphoto.so install: cannot create regular file '/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgphoto.so': Permission denied Makefile:545: recipe for target 'install_target' failed make: [install_target] Error 1 (ignored) strip --strip-unneeded /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgphoto.so strip: '/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgphoto.so': No such file Makefile:545: recipe for target 'install_target' failed make: [install_target] Error 1 (ignored)

Would you please tell me what happen? Thank youu

cyberbobs commented 6 years ago

It seems you're trying to install the library without having necessary permissions to write files to /usr folder.

If you're running Debian based Linux distribution (Debian, Ubuntu, Mint, etc.), your system is probably configured to gain superuser permissons using sudo command. Just try entering sudo make install instead of make install and see if it works for you.