* [gentoo-user] Can't emerge blender
@ 2006-11-18 22:20 frank
0 siblings, 0 replies; only message in thread
From: frank @ 2006-11-18 22:20 UTC (permalink / raw
To: gentoo-user
Hi,
I returned to gentoo to be able to install blender 2.4*.
Well, the ebuild is there, but ...
emerge blender
...
g++ -pipe -funsigned-char -march=i686 -O2 -pipe -Wall -W -DGAMEBLENDER=1
-DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -DFTGL_STATIC_LIBRARY
-I/usr/include/freetype2 -I/usr/include/FTGL
-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
In file included from source/blender/ftfont/intern/FTF_Api.cpp:44:
source/blender/ftfont/intern/FTF_TTFont.h:40:28: error:
FTGLPixmapFont.h: No such file or directory
source/blender/ftfont/intern/FTF_TTFont.h:41:29: error:
FTGLTextureFont.h: No such file or directory
source/blender/ftfont/intern/FTF_TTFont.h:115: error: ISO C++ forbids
declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:115: error: expected ';'
before '*' token
source/blender/ftfont/intern/FTF_TTFont.h:117: error: ISO C++ forbids
declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:117: error: expected ';'
before '*' token
source/blender/ftfont/intern/FTF_TTFont.h:118: error: ISO C++ forbids
declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:118: error: expected ';'
before '*' token
source/blender/ftfont/intern/FTF_TTFont.h:119: error: ISO C++ forbids
declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:119: error: expected ';'
before '*' token
scons: ***
[/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern/FTF_Api.o] Error 1
scons: building terminated because of errors.
!!! ERROR: media-gfx/blender-2.41-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
blender-2.41-r1.ebuild, line 105: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call
stack if relevant.
I've done so far:
- installed from the 206.1 life CD
- changed the USE flags due to my needs
- emerged sync
- emerged newuse
There is a bug mentioned on blender.org, that 2.4* won't build with gcc
4.1.*, but the error seems to be something different.
I had a look into FTF_TTFont.h. The files FTGLPixmapFont.h and
FTGLTextureFont.h are in fact included from there but they are located
in /var/tmp/portage/blender-2.41-r1/work/blender/extern/bFTGL/include/,
which is not amongst the -I switches for gcc.
I solved the problem (for me with a quick and dirty trick). I copied the
files in the dir mentioned above into ~/blenderincs, started the emerge
and fired
``cp
~/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.
Regards
Frank
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-18 22:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-18 22:20 [gentoo-user] Can't emerge blender frank
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox