Gentoo Archives: gentoo-user

From: frank <sdoma@××××××××.cz>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Can't emerge blender
Date: Sat, 18 Nov 2006 22:30:06
Message-Id: 1163888443.8914.21.camel@localhost
1 Hi,
2
3 I returned to gentoo to be able to install blender 2.4*.
4 Well, the ebuild is there, but ...
5
6 emerge blender
7 ...
8 g++ -pipe -funsigned-char -march=i686 -O2 -pipe -Wall -W -DGAMEBLENDER=1
9 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -DFTGL_STATIC_LIBRARY
10 -I/usr/include/freetype2 -I/usr/include/FTGL
11 -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont -Isource/blender/ftfont -Isource/blender/ftfont -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern -Isource/blender/ftfont/intern -Isource/blender/ftfont/intern -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/blenkernel -Isource/blender/blenkernel -Isource/blender/blenkernel -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/blenlib -Isource/blender/blenlib -Isource/blender/blenlib -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/makesdna -Isource/blender/makesdna -Isource/blender/makesdna -c -o /var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern/FTF_Api.o source/blender/ftfont/intern/FTF_Api.cpp
12 In file included from source/blender/ftfont/intern/FTF_Api.cpp:44:
13 source/blender/ftfont/intern/FTF_TTFont.h:40:28: error:
14 FTGLPixmapFont.h: No such file or directory
15 source/blender/ftfont/intern/FTF_TTFont.h:41:29: error:
16 FTGLTextureFont.h: No such file or directory
17 source/blender/ftfont/intern/FTF_TTFont.h:115: error: ISO C++ forbids
18 declaration of 'FTFont' with no type
19 source/blender/ftfont/intern/FTF_TTFont.h:115: error: expected ';'
20 before '*' token
21 source/blender/ftfont/intern/FTF_TTFont.h:117: error: ISO C++ forbids
22 declaration of 'FTFont' with no type
23 source/blender/ftfont/intern/FTF_TTFont.h:117: error: expected ';'
24 before '*' token
25 source/blender/ftfont/intern/FTF_TTFont.h:118: error: ISO C++ forbids
26 declaration of 'FTFont' with no type
27 source/blender/ftfont/intern/FTF_TTFont.h:118: error: expected ';'
28 before '*' token
29 source/blender/ftfont/intern/FTF_TTFont.h:119: error: ISO C++ forbids
30 declaration of 'FTFont' with no type
31 source/blender/ftfont/intern/FTF_TTFont.h:119: error: expected ';'
32 before '*' token
33 scons: ***
34 [/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern/FTF_Api.o] Error 1
35 scons: building terminated because of errors.
36
37 !!! ERROR: media-gfx/blender-2.41-r1 failed.
38 Call stack:
39 ebuild.sh, line 1546: Called dyn_compile
40 ebuild.sh, line 937: Called src_compile
41 blender-2.41-r1.ebuild, line 105: Called die
42
43 !!! (no error message)
44 !!! If you need support, post the topmost build error, and the call
45 stack if relevant.
46
47 I've done so far:
48 - installed from the 206.1 life CD
49 - changed the USE flags due to my needs
50 - emerged sync
51 - emerged newuse
52
53 There is a bug mentioned on blender.org, that 2.4* won't build with gcc
54 4.1.*, but the error seems to be something different.
55 I had a look into FTF_TTFont.h. The files FTGLPixmapFont.h and
56 FTGLTextureFont.h are in fact included from there but they are located
57 in /var/tmp/portage/blender-2.41-r1/work/blender/extern/bFTGL/include/,
58 which is not amongst the -I switches for gcc.
59
60 I solved the problem (for me with a quick and dirty trick). I copied the
61 files in the dir mentioned above into ~/blenderincs, started the emerge
62 and fired
63 ``cp
64 ~/blenderincs/*.h /var/tmp/portage/blender-2.41-r1/work/blender/source/blender/ftfont/intern'', which is amongst the -I switches. The build went well and blender seems to be up and running.
65
66 Regards
67 Frank
68
69
70 --
71 gentoo-user@g.o mailing list