Blender build error (datatoc: permission denied)

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

jithujose
Posts: 2
Joined: Wed Dec 19, 2012 1:14 am

Blender build error (datatoc: permission denied)

Postby jithujose » Wed Dec 19, 2012 1:40 am

Hello, guys

I am pretty new to the blender development. So after downloading the source code via svn and setting up everything as said in the wiki, I try to build the source but I am getting this error each time at about 13%:

Code: Select all

/bin/sh: 1: ../../../../bin/datatoc: Permission denied
make[2]: *** [release/datafiles/startup.blend.c] Error 126
make[1]: *** [source/blender/editors/datafiles/CMakeFiles/bf_editor_datafiles.dir/all] Error 2
make: *** [all] Error 2
01:16:48: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project blender (target: Desktop)
When executing step 'Make'


Same happens with sudo make. I am using Qt creator as my IDE.
I am working on an Ubuntu VM and my code is in an external hd, if it matters.

Any help or hints are welcome.

mcleary
Posts: 8
Joined: Sat Jan 05, 2013 7:54 pm
Location: Brazil

Re: Blender build error (datatoc: permission denied)

Postby mcleary » Thu Jan 10, 2013 1:08 pm

jithujose wrote:Hello, guys

I am pretty new to the blender development. So after downloading the source code via svn and setting up everything as said in the wiki, I try to build the source but I am getting this error each time at about 13%:

Code: Select all

/bin/sh: 1: ../../../../bin/datatoc: Permission denied
make[2]: *** [release/datafiles/startup.blend.c] Error 126
make[1]: *** [source/blender/editors/datafiles/CMakeFiles/bf_editor_datafiles.dir/all] Error 2
make: *** [all] Error 2
01:16:48: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project blender (target: Desktop)
When executing step 'Make'


Same happens with sudo make. I am using Qt creator as my IDE.
I am working on an Ubuntu VM and my code is in an external hd, if it matters.

Any help or hints are welcome.


Did you try to move the code to the local disk?

I had this kind of permission problem once. Even running sudo make, maybe the make executable does not have permission to write on an external disk.

I'm not sure if this can really happen, but I think it worths a try.
Anyday, anytime, anywhere

jithujose
Posts: 2
Joined: Wed Dec 19, 2012 1:14 am

Re: Blender build error (datatoc: permission denied)

Postby jithujose » Thu Jan 10, 2013 3:14 pm

I got it working today after copying the source to my hd.
Thank you for your suggestion.

I tried the same thing some days ago and the build was not going beyond the permission issue.

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Thu Jan 10, 2013 5:32 pm

/me guesses: you have the source on a disk partition where you do not have privs to run programs from. Look for the noexec option in the mount command.


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 1 guest