This will solve your problem.
sudo apt-get build-dep blender
similar problems with compile-time dependency for other applications can be solved by doing this build-dep trick
If you select cherries from the list of packages above cmd you need to install, you probably only need these:
sudo apt-get install libpython3-dev libpython3.4-dev
although build-dep cmd permission will work, otherwise functions that you might want in blender will be disabled
to use
source share