PDA

View Full Version : Cross compiler - Permission denied



NS22
13th June 2017, 14:13
hello everybody,

i am using Linux virtual machine (Ubuntu 4.4.0 - 31) on which i already installed Qt 5.9 free version,

and i'm trying to build cross compile environment for BeagleBoneBlack.

Here is my problem, wright now i'm trying to create device, but when i type this command in terminal :

sed 's/softfp/hard' <linux-beagleboard-g++/qmake.conf>linux-beaglebone-g++/qmake.conf i get this message :

bash: linux-beaglebone-g++/qmake.conf: Permission denied

i tried to add sudo but the answer is the same

does anyone knows how can i solve this problem?

cheers

d_stranz
13th June 2017, 16:46
Do you have write permission on the qmake.conf file? In any case, it is generally a bad idea to modify the files that come with your Qt distribution without having first made a backup. If you haven't done that, make a backup copy, then chmod the original to give yourself write permission.

NS22
15th June 2017, 08:21
I didn't have permission to write in qmake.conf..that was a problem

Tnx for your answer