Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[compilation]erreur de compilation de blender
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Tue May 23, 2006 11:44 am    Post subject: [compilation]erreur de compilation de blender Reply with quote

Voila le problème ets très simple.
Hier je me suis installé un petit cluster openmosix (donc noyau 2.4) pour tester et j'aurais voulu utiliser blender dessus.

Seulement lorque je tente de compiler celui-ci j'ai cette erreur :


Code:

scons: *** [/var/tmp/portage/blender-2.36-r1/work/build/linux2/source/gameengine/GamePlayer/ghost/GPG_Application.o] Error 1
scons: building terminated because of errors.

!!! ERROR: media-gfx/blender-2.36-r1 failed.
!!! Function src_compile, Line 99, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Ici c'est la version 2.36-r1 mais ca fait pareil avec toutes les autres versions.

Je ne sais pas ce qu'il vous faut de plus pour m'aider mais je posterais tout ce que l'on me demande.

D'avance merci à vous.


ps :

voivi la version 2.40

Code:

cluster1 blender # emerge =blender-2.40
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/blender-2.40 to /
>>> md5 files   ;-) blender-2.41.ebuild
>>> md5 files   ;-) blender-2.36-r1.ebuild
>>> md5 files   ;-) blender-2.40.ebuild
>>> md5 files   ;-) blender-2.41-r1.ebuild
>>> md5 files   ;-) files/blender.png
>>> md5 files   ;-) files/configure-fix.patch
>>> md5 files   ;-) files/digest-blender-2.36-r1
>>> md5 files   ;-) files/digest-blender-2.41-r1
>>> md5 files   ;-) files/digest-blender-2.40
>>> md5 files   ;-) files/digest-blender-2.41
>>> md5 files   ;-) files/blender.desktop
>>> md5 files   ;-) files/blender-2.37a-x86_64.patch
>>> md5 files   ;-) files/blender-2.36-dirs.patch
>>> md5 files   ;-) files/blender-2.37-dirs.patch
>>> md5 files   ;-) files/blender-2.32.patch
>>> md5 files   ;-) files/blender-2.37a-dirs.patch
>>> md5 files   ;-) files/blender-2.37a-gcc-4.0.patch
>>> md5 src_uri ;-) blender-2.40.tar.gz
>>> Unpacking source...
>>> Unpacking blender-2.40.tar.gz to /var/tmp/portage/blender-2.40/work
 * Applying blender-2.37-dirs.patch ...                                                                                                                [ ok ]
>>> Source unpacked.
scons: Reading SConscript files ...
targets =  []
arguments =  {}
/var/tmp/portage/blender-2.40/work/blender-2.40
Creating new config file: config.opts
externs...
bftgl
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
 * enabling game engine
scons: Reading SConscript files ...
targets =  []
arguments =  {}
/var/tmp/portage/blender-2.40/work/blender-2.40
Using config file: config.opts
externs...
bftgl
scons: done reading SConscript files.
scons: Building targets ...
gcc -pipe -funsigned-char -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -W -DGAMEBLENDER=1 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -DBUILD_TIME='"11:49:44"' -DBUILD_DATE='"2006-05-23"' -DBUILD_TYPE='"dynamic"' -DNAN_BUILDINFO -DBUILD_PLATFORM='"linux2"' -I/usr/include -I/usr/X11R6/include -c -o /var/tmp/portage/blender-2.40/work/build/linux2/source/creator/player_buildinfo.o source/creator/buildinfo.c
g++ -pipe -funsigned-char -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -W -DGAMEBLENDER=1 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -I/var/tmp/portage/blender-2.40/work/build/linux2/source/gameengine/GamePlayer/ghost -Isource/gameengine/GamePlayer/ghost -Isource/gameengine/GamePlayer/ghost -Iintern/string -Iintern/ghost -Iintern/guardedalloc -Iintern/bmfont -Iintern/moto/include -Iintern/SoundSystem -Isource/gameengine/Rasterizer/RAS_OpenGLRasterizer -Isource/kernel/gen_system -Isource/kernel/gen_messaging -Isource/gameengine/Converter -Isource/blender/imbuf -Isource/gameengine/Ketsji -Isource/blender/blenlib -Isource/blender/blenkernel -Isource/blender/readblenfile -Isource/blender -Isource/blender/include -Isource/blender/makesdna -Isource/gameengine/Rasterizer -Isource/gameengine/GameLogic -Isource/gameengine/Expressions -Isource/gameengine/Network -Isource/gameengine/SceneGraph -Isource/gameengine/Physics/common -Isource/gameengine/Physics/Sumo -Isource/gameengine/Physics/Sumo/Fuzzics/include -Isource/gameengine/Network/LoopBackNetwork -Isource/gameengine/GamePlayer/common -Isource/blender/misc -Isource/blender/blenloader -I/usr/include/python2.4 -Iextern/solid -c -o /var/tmp/portage/blender-2.40/work/build/linux2/source/gameengine/GamePlayer/ghost/GPG_Application.o source/gameengine/GamePlayer/ghost/GPG_Application.cpp
source/gameengine/GamePlayer/ghost/GPG_Application.cpp:47:19: GL/gl.h: No such file or directory
source/gameengine/GamePlayer/ghost/GPG_Application.cpp:48:20: GL/glu.h: No such file or directory
In file included from /usr/include/python2.4/Python.h:8,
                 from source/gameengine/Expressions/KX_Python.h:36,
                 from source/gameengine/Expressions/PyObjectPlus.h:42,
                 from source/gameengine/Ketsji/KX_Scene.h:52,
                 from source/gameengine/Ketsji/KX_KetsjiEngine.h:40,
                 from source/gameengine/GamePlayer/ghost/GPG_Application.cpp:74:
/usr/include/python2.4/pyconfig.h:838:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3/i686-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3/i686-pc-linux-gnu/bits/c++config.h:35,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3/bits/stl_algobase.h:64,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3/vector:67,
                 from intern/string/STR_String.h:48,
                 from source/gameengine/GamePlayer/ghost/GPG_Application.h:35,
                 from source/gameengine/GamePlayer/ghost/GPG_Application.cpp:51:
/usr/include/features.h:150:1: warning: this is the location of the previous definition
In file included from source/gameengine/GamePlayer/ghost/GPG_Application.cpp:91:
source/gameengine/GamePlayer/common/GPC_RenderTools.h: In member function `void GPC_RenderTools::DisableOpenGLLights()':
source/gameengine/GamePlayer/common/GPC_RenderTools.h:67: error: `GL_LIGHTING' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:67: error: `glDisable' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:68: error: `GL_COLOR_MATERIAL' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:67: warning: unused variable 'GL_LIGHTING'
source/gameengine/GamePlayer/common/GPC_RenderTools.h:68: warning: unused variable 'GL_COLOR_MATERIAL'
source/gameengine/GamePlayer/common/GPC_RenderTools.h: In member function `void GPC_RenderTools::Perspective(int, int, int, float (*)[4], float (*)[4])':
source/gameengine/GamePlayer/common/GPC_RenderTools.h:79: error: `GL_PROJECTION' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:79: error: `glMatrixMode' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:80: error: `GL_MODELVIEW' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:81: error: `glLoadIdentity' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:79: warning: unused variable 'GL_PROJECTION'
source/gameengine/GamePlayer/common/GPC_RenderTools.h:80: warning: unused variable 'GL_MODELVIEW'
source/gameengine/GamePlayer/common/GPC_RenderTools.h:81: warning: unused variable 'glLoadIdentity'
source/gameengine/GamePlayer/common/GPC_RenderTools.h:87: error: `GL_PROJECTION' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:87: error: `glMatrixMode' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:88: error: `GL_MODELVIEW' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:87: warning: unused variable 'GL_PROJECTION'
source/gameengine/GamePlayer/common/GPC_RenderTools.h:88: warning: unused variable 'GL_MODELVIEW'
source/gameengine/GamePlayer/common/GPC_RenderTools.h: In member function `void GPC_RenderTools::Render(RAS_IRasterizer*, double*, int)':
source/gameengine/GamePlayer/common/GPC_RenderTools.h:118: error: `glPopMatrix' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:119: error: `glPushMatrix' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:120: error: `glMultMatrixd' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:118: warning: unused variable 'glPopMatrix'
source/gameengine/GamePlayer/common/GPC_RenderTools.h:119: warning: unused variable 'glPushMatrix'
source/gameengine/GamePlayer/common/GPC_RenderTools.h:120: warning: unused variable 'glMultMatrixd'
source/gameengine/GamePlayer/common/GPC_RenderTools.h: In member function `virtual void GPC_RenderTools::PushMatrix()':
source/gameengine/GamePlayer/common/GPC_RenderTools.h:127: error: `glPushMatrix' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:127: warning: unused variable 'glPushMatrix'
source/gameengine/GamePlayer/common/GPC_RenderTools.h: In member function `virtual void GPC_RenderTools::PopMatrix()':
source/gameengine/GamePlayer/common/GPC_RenderTools.h:132: error: `glPopMatrix' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:132: warning: unused variable 'glPopMatrix'
source/gameengine/GamePlayer/common/GPC_RenderTools.h: In member function `void GPC_RenderTools::BL_spack(unsigned int)':
source/gameengine/GamePlayer/common/GPC_RenderTools.h:165: error: `glColor3ub' was not declared in this scope
source/gameengine/GamePlayer/common/GPC_RenderTools.h:165: warning: unused variable 'glColor3ub'
intern/ghost/GHOST_ITimerTask.h: At global scope:
intern/ghost/GHOST_ITimerTask.h:82: warning: inline function `virtual void* GHOST_ITimerTask::getUserData() const' used but never defined
source/gameengine/GamePlayer/ghost/GPG_Application.cpp:812: warning: unused parameter 'time'
scons: *** [/var/tmp/portage/blender-2.40/work/build/linux2/source/gameengine/GamePlayer/ghost/GPG_Application.o] Error 1
scons: building terminated because of errors.

!!! ERROR: media-gfx/blender-2.40 failed.
!!! Function src_compile, Line 98, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Tue May 23, 2006 11:49 am    Post subject: Reply with quote

la vraie erreur intéressante ici, c'est ca :
Code:
source/gameengine/GamePlayer/ghost/GPG_Application.cpp
source/gameengine/GamePlayer/ghost/GPG_Application.cpp:47:19: GL/gl.h: No such file or directory
source/gameengine/GamePlayer/ghost/GPG_Application.cpp:48:20: GL/glu.h: No such file or directory


Error 1, ca ne veut absolument rien dire :\

eselect opengl set xorg-x11 ?
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Tue May 23, 2006 1:46 pm    Post subject: Reply with quote

C'est un peu pour ca que j'ai posté la compilation complète.

Code:

cluster1 blender # eselect opengl set xorg-x11
!!! Error: Can't load module opengl
exiting.


je précise tout de même que je ne fais pas tourner d'environement graphique. La seule partie de blender qui m'intéresse c la command line.

Bien sûr j'ai xorg car il fait partie des dépendances de blender.
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772

PostPosted: Tue May 23, 2006 1:47 pm    Post subject: Reply with quote

T'as mis le USE opengl ?
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Tue May 23, 2006 1:50 pm    Post subject: Reply with quote

j'ai le use -opengl mais ce qui m'étonne c'est que sur une autre machine j'ai la même chose et blender fonctionne sans soucis.

J'essaye avec le use opengl
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772

PostPosted: Tue May 23, 2006 1:54 pm    Post subject: Reply with quote

Nan en fait que je crois que j'ai dit d'importe quoi : le use opengl à l'air inutile pour Xorg, il ne l'influence pas :
Quote:
# equery hasuse opengl
[ Searching for USE flag opengl in all categories among: ]
* installed packages
[I--] [ ~] x11-misc/xscreensaver-4.24 (0)
[I--] [ ] x11-misc/xplanet-1.2.0 (0)
[I--] [ ~] app-emulation/wine-0.9.13 (0)
[I--] [ ~] media-sound/amarok-1.4.0a (0)
[I--] [ ] games-emulation/snes9x-1.43-r1 (0)
[I--] [ ~] media-libs/xine-lib-1.1.2_pre20060328-r7 (1)
[I--] [ ~] media-libs/smpeg-0.4.4-r8 (0)
[I--] [ ] media-libs/jasper-1.701.0 (0)
[I--] [ ~] media-libs/libsdl-1.2.9-r1 (0)
[I--] [ ~] games-fps/quake3-1.34_alpha778 (0)
[I--] [ ~] dev-python/pygtk-2.8.6 (2)
[I--] [ ~] dev-python/wxpython-2.6.3.2 (2.6)
[I--] [ ~] x11-libs/qt-3.3.6-r1 (3)
[I--] [ ~] x11-libs/qt-4.1.2 (4)
[I--] [ ~] x11-libs/wxGTK-2.6.3.2 (2.6)
[I--] [ ~] x11-libs/vte-0.12.0 (0)
[I--] [ ] media-plugins/libvisual-plugins-0.2.0 (0)
[I--] [ ~] media-video/mplayer-1.0.20060415 (0)
[I--] [ ~] media-video/vlc-0.8.5 (0)
[I--] [ ~] kde-base/kcontrol-3.5.2 (3.5)
[I--] [ ~] kde-base/kscreensaver-3.5.1 (3.5)
[I--] [ ~] kde-base/kdeartwork-kscreensaver-3.5.2 (3.5)

Enfin l'idée, c'était d'avoir la partie opengl d'Xorg ...


... Ha bah non, après relecture j'ai compris !! Tu n'as pas l'air d'avoir installé eselect-opengl ...
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Tue May 23, 2006 1:57 pm    Post subject: Reply with quote

en effet je n'ai pas cet eselect-opengl.

Mais si il est nécessaire pq ne fait il pas partie des dépendances de blender?
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772

PostPosted: Tue May 23, 2006 2:01 pm    Post subject: Reply with quote

Il n'est nécessaire qu'à eselect, pas à blender.
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Tue May 23, 2006 2:03 pm    Post subject: Reply with quote

hmmm

Code:

cluster1 blender # eselect opengl set xorg-x11
!!! Error: Unrecognized option: xorg-x11
exiting.
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Tue May 23, 2006 5:57 pm    Post subject: Reply with quote

bon ben j'ai installé eselect-opengl et je me retrouve avec l'erreur du post juste au dessus.

Rien de neuf :-(. Ca ne fonctionne tjs pas.
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Wed May 24, 2006 11:56 am    Post subject: Reply with quote

Hier j'avais bien trouvé ce post

https://forums.gentoo.org/viewtopic-t-375257-highlight-blender+compilation+error.html


Mais ca ne résoud pas mon problème.

Quelqu'un aurait une idée?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum