"make install" doesnt work

hello
my make install does not work! it just does not install blender.
it runs the correct version from the directory itsself. but the “blender” command starts another (older) one. here’s a small output from my bash. just some lines… not more.

make[2]: Entering directory `/blender/cvs_blender/configdir/source/creator'
make[3]: Entering directory `/blender/cvs_blender/configdir/source/creator'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/blender/cvs_blender/configdir/source/creator'
make[2]: Leaving directory `/blender/cvs_blender/configdir/source/creator'
make[2]: Entering directory `/blender/cvs_blender/configdir/source'
make[3]: Entering directory `/blender/cvs_blender/configdir/source'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/blender/cvs_blender/configdir/source'
make[2]: Leaving directory `/blender/cvs_blender/configdir/source'
make[1]: Leaving directory `/blender/cvs_blender/configdir/source'
make[1]: Entering directory `/blender/cvs_blender/configdir'
make[2]: Entering directory `/blender/cvs_blender/configdir'

It should work!

The thing make install will do (under autoconf) is copy blender to /usr/local/bin (or wherever ./configure --prefix= is set)

This happens after the snippet you posted:

make[1]: Entering directory `/home/kester/blender-src/TUHOPUU2'
make[2]: Entering directory `/home/kester/blender-src/TUHOPUU2'
/bin/sh ../tuhopuu2/mkinstalldirs /usr/local/lib
/bin/sh ../tuhopuu2/mkinstalldirs /usr/local/bin
  /bin/sh ./libtool --mode=install /usr/bin/install -c blender /usr/local/bin/blender
/usr/bin/install -c blender /usr/local/bin/blender
  /bin/sh ./libtool --mode=install /usr/bin/install -c blenderplayer /usr/local/bin/blenderplayer
/usr/bin/install -c blenderplayer /usr/local/bin/blenderplayer
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/kester/blender-src/TUHOPUU2'
make[1]: Leaving directory `/home/kester/blender-src/TUHOPUU2'

yes I know what make install does :). I just dont know y it doesnt work. maybe because I used “emerge” (gentoo linux command) b4. now the permissions on the old bins in /usr/bin maybe somehow tricky. let me take alook…

make install does work here…

Check if it has installed in /usr/local/bin. If you have a blender (from emerge) in /usr/bin the first one in your PATH will be executed.

If you want to install in /usr/bin, use:
./configure --prefix=/usr
when you run configure.

Emerge usually installs stuff in /usr/, while stuff usually goes in /usr/local/ when you compile yourself. So, your shell is looking in /usr/ first. Just “emerge unmerge blender”!
Hope that fixes it. :smiley:

Correct me if I’m wrong, but AFAIK, portage doesn’t download the source directly from the blender.org cvs, so it might be a little outdated.

Martin

yes teeth, that’s right. it downloads the source from specific tar archives. there are ebuilds for cvs. if I’m gonna write one for blender I’ll let you know.

didn’t know y I did not thought of the emerge unmerge… but nobody is perfect :wink:

so I will unmerge, install, write a ebuild if I can and post it here.
cu

ebuild written. here is the topic

https://blenderartists.org/forum/viewtopic.php?p=143772