View previous topic :: View next topic |
Author |
Message |
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Mon Aug 09, 2004 12:43 am Post subject: Problem emerging blender-2.34 |
|
|
Here's what I get when I emerge blender-2.34:
Code: | ...
gcc -Xlinker -export-dynamic -pthread -o blender /var/tmp/portage/blender-2.34/work/build/linux2/source/creator/dynamic_buildinfo.o -L/var/tmp/portage/blender-2.34/work/build/linux2/lib -Llib -L/usr/lib/python2.3/config -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/X11R6/lib -lblender_creator -lblender_blendersrc -lblender_render -lblender_yafray -lblender_renderconverter -lblender_radiosity -lblender_LOD -lblender_BSP -lblender_blenkernel -lblender_IK -lblender_ONL -lblender_blenloader -lblender_readblenfile -lblender_img -lblender_blenkernel -lblender_blenpluginapi -lblender_imbuf -lblender_avi -lblender_blenlib -lblender_makesdna -lblender_kernel -lblender_GHOST -lblender_STR -lblender_guardedalloc -lblender_CTR -lblender_MEM -lblender_MT -lblender_BMF -lsoundsystem -lblender_python -lpython2.3 -lSDL -lpthread -lpng -ljpeg -lz -lm -lutil -lstdc++ -lGL -lGLU
scons: *** Source `blenderplayer' not found, needed by target `default'. Stop.
scons: building terminated because of errors.
!!! ERROR: media-gfx/blender-2.34 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! (no error message) |
Blenderplayer seems to be a MacOS X application. Is this an oversight in the ebuild? |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Mon Aug 09, 2004 1:52 am Post subject: |
|
|
Same problem here. I added "blender-game" and "fmod" to my USE flags and then it built fine. _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
Lbtg43 n00b
Joined: 17 Jul 2003 Posts: 41
|
Posted: Mon Aug 09, 2004 2:06 am Post subject: |
|
|
Code: | emerge blender
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/blender-2.34 to /
>>> md5 src_uri ;-) blender-2.34.tar.bz2
>>> Unpacking source...
>>> Unpacking blender-2.34.tar.bz2 to /var/tmp/portage/blender-2.34/work
>>> Source unpacked.
scons: Reading SConscript files ...
bsddb._db.DBError: (38, 'Function not implemented -- DB_ENV->dbremove: method not permitted before open'):
File "SConstruct", line 935:
library_env.SConsignFile (root_build_dir+'scons-signatures')
File "/usr/lib/scons/SCons/Environment.py", line 1027:
SCons.Sig.SConsignFile(name, dbm_module)
File "/usr/lib/scons/SCons/Sig/__init__.py", line 318:
SConsign_db = dbm_module.open(name, "c")
File "/usr/lib/python2.3/anydbm.py", line 83:
return mod.open(file, flag, mode)
File "/usr/lib/python2.3/dbhash.py", line 16:
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.3/bsddb/__init__.py", line 192:
d.open(file, db.DB_HASH, flags, mode)
Creating new config file: config.opts
* enabling game engine
scons: Reading SConscript files ...
bsddb._db.DBError: (38, 'Function not implemented -- process-private: unable to initialize environment lock: Function not implemented'):
File "SConstruct", line 935:
library_env.SConsignFile (root_build_dir+'scons-signatures')
File "/usr/lib/scons/SCons/Environment.py", line 1027:
SCons.Sig.SConsignFile(name, dbm_module)
File "/usr/lib/scons/SCons/Sig/__init__.py", line 318:
SConsign_db = dbm_module.open(name, "c")
File "/usr/lib/python2.3/anydbm.py", line 83:
return mod.open(file, flag, mode)
File "/usr/lib/python2.3/dbhash.py", line 16:
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.3/bsddb/__init__.py", line 192:
d.open(file, db.DB_HASH, flags, mode)
Using config file: config.opts
!!! ERROR: media-gfx/blender-2.34 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! (no error message) |
any ideas?
i cant emerge any older versions of blender either...same error
i try to keep my kernel light and my (newb)guess is that i left something out of my kernel that bender needs.... i have no idea what that is though???
i tried re-emergeing python added "blender-game" and "fmod" to my USE flags etc....
no luck
update: thank god i got it working.... i re-emerged libdbi and bsddb or some packages of the sort and it works now... strange |
|
Back to top |
|
|
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Mon Aug 09, 2004 5:47 am Post subject: |
|
|
FishB8 wrote: | Same problem here. I added "blender-game" and "fmod" to my USE flags and then it built fine. |
Adding "blender-game" to my use flags did the trick. Thanks FishB8. |
|
Back to top |
|
|
jwj Apprentice
Joined: 07 May 2004 Posts: 240
|
Posted: Tue Aug 10, 2004 9:14 pm Post subject: |
|
|
Lbtg43 wrote: |
update: thank god i got it working.... i re-emerged libdbi and bsddb or some packages of the sort and it works now... strange :D
|
What did you do exactly, because I am having the same probem emerging blender. |
|
Back to top |
|
|
jwj Apprentice
Joined: 07 May 2004 Posts: 240
|
Posted: Wed Aug 11, 2004 7:16 am Post subject: |
|
|
I am running a x86 system, emerging blender
Code: |
ACCEPT_KEYWORDS="~x86" emerge -v blender
|
gives this error:
Quote: |
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/blender-2.34 to /
>>> md5 src_uri ;-) blender-2.34.tar.bz2
>>> Unpacking source...
>>> Unpacking blender-2.34.tar.bz2 to /var/tmp/portage/blender-2.34/work
>>> Source unpacked.
scons: Reading SConscript files ...
bsddb._db.DBError: (38, 'Function not implemented -- DB_ENV->dbremove: method not permitted before open'):
File "SConstruct", line 935:
library_env.SConsignFile (root_build_dir+'scons-signatures')
File "/usr/lib/scons/SCons/Environment.py", line 1027:
SCons.Sig.SConsignFile(name, dbm_module)
File "/usr/lib/scons/SCons/Sig/__init__.py", line 318:
SConsign_db = dbm_module.open(name, "c")
File "/usr/lib/python2.3/anydbm.py", line 83:
return mod.open(file, flag, mode)
File "/usr/lib/python2.3/dbhash.py", line 16:
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.3/bsddb/__init__.py", line 192:
d.open(file, db.DB_HASH, flags, mode)
Creating new config file: config.opts
* enabling game engine
scons: Reading SConscript files ...
bsddb._db.DBError: (38, 'Function not implemented -- process-private: unable to initialize environment lock: Function not implemented'):
File "SConstruct", line 935:
library_env.SConsignFile (root_build_dir+'scons-signatures')
File "/usr/lib/scons/SCons/Environment.py", line 1027:
SCons.Sig.SConsignFile(name, dbm_module)
File "/usr/lib/scons/SCons/Sig/__init__.py", line 318:
SConsign_db = dbm_module.open(name, "c")
File "/usr/lib/python2.3/anydbm.py", line 83:
return mod.open(file, flag, mode)
File "/usr/lib/python2.3/dbhash.py", line 16:
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.3/bsddb/__init__.py", line 192:
d.open(file, db.DB_HASH, flags, mode)
Using config file: config.opts
!!! ERROR: media-gfx/blender-2.34 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! (no error message)
|
I dont know how to fix this, please help. |
|
Back to top |
|
|
jwj Apprentice
Joined: 07 May 2004 Posts: 240
|
Posted: Thu Aug 12, 2004 8:44 pm Post subject: |
|
|
*bump* |
|
Back to top |
|
|
merkaba n00b
Joined: 10 Jul 2003 Posts: 56
|
Posted: Fri Aug 13, 2004 6:50 pm Post subject: |
|
|
looks like a problem with scons maybe.
perhaps try a newer version.
put "dev-util/scons ~x86" in /etc/portage/package.keywords
do the same for blender - keywords on the command line isn't the right way (tm) anymore. |
|
Back to top |
|
|
jwj Apprentice
Joined: 07 May 2004 Posts: 240
|
Posted: Fri Aug 13, 2004 9:22 pm Post subject: |
|
|
Even a newer version of scons gives the same error, and I dont even understand the error message. :( |
|
Back to top |
|
|
jwj Apprentice
Joined: 07 May 2004 Posts: 240
|
Posted: Wed Aug 25, 2004 6:55 pm Post subject: |
|
|
But finally with scons-0.96 it works. |
|
Back to top |
|
|
SeeksTheMoon Apprentice
Joined: 24 Sep 2003 Posts: 163
|
Posted: Fri Sep 03, 2004 5:17 pm Post subject: |
|
|
not really...
Quote: |
moon blender # USE="blender-game fmod" emerge ./blender-2.34.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/blender-2.34 to /
>>> md5 src_uri blender-2.34.tar.bz2
>>> Unpacking source...
>>> Unpacking blender-2.34.tar.bz2 to /var/tmp/portage/blender-2.34/work
>>> Source unpacked.
scons: Reading SConscript files ...
Creating new config file: config.opts
This target is for the win32 platform only
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
* enabling game engine
scons: Reading SConscript files ...
ccache: failed to create (null)/.ccache (No such file or directory)
Using config file: config.opts
This target is for the win32 platform only
scons: done reading SConscript files.
scons: Building targets ...
gcc -pipe -funsigned-char -march=athlon-xp -m3dnow -O3 -pipe -Wall -W -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -DBUILD_TIME='"19:16:03"' -DBUILD_DATE='"2004-09-03"' -DBUILD_TYPE='"dynamic"' -DNAN_BUILDINFO -DBUILD_PLATFORM='"linux2"' -I/usr/include -c -o /var/tmp/portage/blender-2.34/work/build/linux2/source/creator/player_buildinfo.o source/creator/buildinfo.c
scons: *** [/var/tmp/portage/blender-2.34/work/build/linux2/source/creator/player_buildinfo.o] Error 1
scons: building terminated because of errors.
!!! ERROR: media-gfx/blender-2.34 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! (no error message)
|
I have installed scons 0.96 but it does not work. Other ideas? |
|
Back to top |
|
|
jwj Apprentice
Joined: 07 May 2004 Posts: 240
|
Posted: Sat Sep 04, 2004 2:24 pm Post subject: |
|
|
SeeksTheMoon wrote: | not really...
Quote: |
ccache: failed to create (null)/.ccache (No such file or directory)
|
|
Perhaps it helps building without the ccache FEATURE. |
|
Back to top |
|
|
asciiwhite n00b
Joined: 02 Sep 2004 Posts: 12
|
Posted: Sun Sep 05, 2004 12:06 am Post subject: |
|
|
#emerge sync
#emerge search blender
Searching...
[ Results for search key : blender ]
[ Applications found : 1 ]
* media-gfx/blender
** Latest version available: 2.28c ** =! 3.34 ???
Personally i just built the cvs version of blender with scons,
# cd blender/
# scons release
doing a scons release creates a tarball with binary + ~/.blender/ updated scripts.
just extract it to /
It will overwrite you're old blender binary aswell as overrite your own export/import scripts .
P.S the latest blender CVS has better support for LSCM and sgrouping with textures, which is very hady for you're skinning needs.... |
|
Back to top |
|
|
SeeksTheMoon Apprentice
Joined: 24 Sep 2003 Posts: 163
|
Posted: Sun Sep 05, 2004 9:48 am Post subject: |
|
|
it does not matter whether I use ccache or not.
scons release (with blender-cvs) creates nearly the same error as emerge blender:
Quote: | scons release
scons: Reading SConscript files ...
ccache: failed to create (null)/.ccache (No such file or directory)
Creating new config file: config.opts
This target is for the win32 platform only
scons: done reading SConscript files.
scons: Building targets ...
gcc -pipe -funsigned-char -O2 -Wall -W -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -DBUILD_TIME='"11:45:04"' -DBUILD_DATE='"2004-09-05"' -DBUILD_TYPE='"dynamic"' -DNAN_BUILDINFO -DBUILD_PLATFORM='"linux2"' -I/usr/include -c -o /usr/src/build/linux2/source/creator/dynamic_buildinfo.o source/creator/buildinfo.c
scons: *** [/usr/src/build/linux2/source/creator/dynamic_buildinfo.o] Error 1
scons: building terminated because of errors.
|
|
|
Back to top |
|
|
lannocc n00b
Joined: 01 Dec 2004 Posts: 14 Location: Billings, MT
|
Posted: Fri Dec 23, 2005 10:05 pm Post subject: Blender & ccache [fixed] |
|
|
Quote: | it does not matter whether I use ccache or not. |
I was having the same problem as you (on amd64), and disabling FEATURES="ccache" had no effect. Most likely, you have done as I have and have gcc and g++ symlink'd to /usr/bin/ccache (for enabling ccache on non-portage compiles, e.g. recompiling the kernel).
In order to get blender to compile I simply had to unlink gcc and g++ (in /usr/local/bin in my case) from ccache. I was still able to keep FEATURES="ccache" in my make.conf, however. |
|
Back to top |
|
|
|
|
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
|
|