Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scons install SVN revision 2196 fails: Missing file.
10-26-2008, 09:40 PM,
#1
Scons install SVN revision 2196 fails: Missing file.
Code:
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_net.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
Checking for C header file libintl.h... (cached) yes

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/clytle/vdrift/po/SConscript", line 167, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Source `src/gui/spinning_car.cpp' not found, needed by target `po/VDrift.pot'.  Stop.
scons: building terminated because of errors.

Both vdrift and vdrift-data are up to date. There isn't even a directory gui in src.

Thanks for any help.
Cory
Reply
10-27-2008, 09:29 PM,
#2
 
So, I think this is due to some of the polish translation stuff that hasn't been updated for the refactored code. Try just recompiling with NLS=0 and see if it works then (unless you really need the polish).
Reply
10-28-2008, 11:09 PM,
#3
 
That fixed problem #1. Now there is a #2.

Code:
scons install
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_net.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/clytle/vdrift/src/SConscript", line 67, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/aabb.o -c -Wall -O2 -pipe -march=athlon64 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.68/src -I/usr/include/SDL src/aabb.cpp
scons: *** [build/aabb.o] Exception
Traceback (most recent call last):
  File "/usr/lib64/scons-1.0.0/SCons/Taskmaster.py", line 222, in execute
    self.targets[0].build()
  File "/usr/lib64/scons-1.0.0/SCons/Node/__init__.py", line 372, in build
    apply(self.get_executor(), (self,), kw)
  File "/usr/lib64/scons-1.0.0/SCons/Executor.py", line 145, in __call__
    return self.do_execute(target, kw)
  File "/usr/lib64/scons-1.0.0/SCons/Executor.py", line 131, in do_execute
    status = apply(act, (self.targets, self.get_sources(), env), kw)
  File "/usr/lib64/scons-1.0.0/SCons/Action.py", line 698, in __call__
    show, execute, chdir)
  File "/usr/lib64/scons-1.0.0/SCons/Action.py", line 758, in __call__
    return apply(c.__call__, args, kw)
  File "/usr/lib64/scons-1.0.0/SCons/Action.py", line 468, in __call__
    stat = self.execute(target, source, env)
  File "/usr/lib64/scons-1.0.0/SCons/Action.py", line 622, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "/usr/lib64/scons-1.0.0/SCons/Platform/posix.py", line 105, in spawnvpe_spawn
    return exec_spawnvpe([sh, '-c', string.join(args)], env)
  File "/usr/lib64/scons-1.0.0/SCons/Platform/posix.py", line 69, in exec_spawnvpe
    stat = os.spawnvpe(os.P_WAIT, l[0], l, env)
  File "/usr/lib64/python2.5/os.py", line 594, in spawnvpe
    return _spawnvef(mode, file, args, env, execvpe)
  File "/usr/lib64/python2.5/os.py", line 530, in _spawnvef
    pid = fork()
OSError: [Errno 12] Cannot allocate memory
scons: building terminated because of errors.

gcc 4.3.2. My system(gentoo ~amd64) is set testing so don't feel like you need to look into this. Feels like complier or scons trouble. I can try again later.
Reply
10-29-2008, 09:19 PM,
#4
 
Alright. There are a bunch of problems with the scons install script anyway, and the plan is to rewrite it in the near future. It's got its own item in the issues list:
http://code.google.com/p/vdrift/issues/detail?id=53
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)