Error After Updating SVN!!

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
thru2trot
Posts: 0
Joined: Sat May 15, 2010 7:19 pm

Error After Updating SVN!!

Post by thru2trot » Sat Apr 02, 2011 2:37 am

Hello all,

I ran the following script:

cd ~/blender-svn/build; svn up ../blender; make -j3; make install


I get this error after it finishes compiling:

Install the project...
-- Install configuration: "Debug"
-- Installing: /opt/blender/bin/blender
CMake Error at source/creator/cmake_install.cmake:40 (FILE):
file INSTALL cannot copy file "/home/myname/blender-svn/build/bin/blender"
to "/opt/blender/bin/blender".
Call Stack (most recent call first):
cmake_install.cmake:40 (INCLUDE)

Can't say I understand what could be causing this I compiled using the tutorials found on this link and had no issues on my other machine. This is the link:

http://wiki.blender.org/index.php/Dev:2 ... leshooting

http://wiki.blender.org/index.php/Dev:2 ... untu/CMake

http://wiki.blender.org/index.php/User: ... eatorLinux

Any help on this would be greatly appreciated. So far I'm learning a lot about what goes on under the hood through learning the Python language.

Best Regards,

freesparks

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

Post by stiv » Sat Apr 02, 2011 6:13 am

First guess says you do not have write permission to /opt.

thru2trot
Posts: 0
Joined: Sat May 15, 2010 7:19 pm

Post by thru2trot » Sun Apr 03, 2011 4:02 am

Hello Stiv,

Well, what is the correct way to enable write permissions to

/opt

I thought I could simply do:

sudo cd ~/blender-svn/build; svn up ../blender; make -j3; make install

however, I received the error that this command was not found.

I know that I'm able to just simply type

su -

prior to entering the command, but won't that cause issues down the line. Thanks so much for the quick reply.

Best Regards,

Nevins Duret

Post Reply