Tried to compile Blender on Gentoo but ran into an interesting issue. The ebuild just dies with little to no clues on what went wrog. After a while I figured out that gcc 4.1.2 wont compile Blender 2.48. Good. So how can I switch to the required gcc 4.3.2?

# emerge -uav gcc
# gcc-config x86_64-pc-linux-gnu-4.3.2-r3
# env-update && source /etc/profile
# emerge –oneshot -av libtool
# emerge -eav system
# emerge -eav world
# emerge -aC =sys-devel/gcc-4.1.2

This will take a while (Q6600/8GB took around two hours).

After this major system upgrade blender compiles without any issues.


Tags: , , ,