Forums

Full Version: install
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I cannot install
Code:
[maciej@localhost vdrift-2010-06-30]$ ./scons.py
/home/maciej/Documents/vdrift-2010-06-30/scons-local-0.96.95/SCons/Sig/MD5.py:41: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  md5 = imp.load_module('md5', file, name, desc)
scons: Reading SConscript files ...
NameError: name 'Variables' is not defined:
  File "/home/maciej/Documents/vdrift-2010-06-30/SConstruct", line 9:
    opts = Variables('vdrift.conf', ARGUMENTS)
Can you try installing SCons through your distribution's package manager, then compiling with "scons"?
thx for answer,
I had install scons and some python-scons rpm

Code:
[maciej@linux vdrift-2010-06-30]$ scons
scons: Reading SConscript files ...
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
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_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
sh: svnversion: nie znaleziono polecenia
/bin/sh: sdl-config: nie znaleziono polecenia
OSError: 'sdl-config --cflags --libs' exited 127:
  File "/home/maciej/Documents/vdrift-2010-06-30/SConstruct", line 570:
    SConscript('src/SConscript', build_dir='build', duplicate = 0)
  File "/usr/lib/python2.6/site-packages/SCons/Script/SConscript.py", line 612:
    return apply(method, args, kw)
  File "/usr/lib/python2.6/site-packages/SCons/Script/SConscript.py", line 549:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/lib/python2.6/site-packages/SCons/Script/SConscript.py", line 259:
    exec _file_ in call_stack[-1].globals
  File "/home/maciej/Documents/vdrift-2010-06-30/src/SConscript", line 287:
    local_env.ParseConfig('sdl-config --cflags --libs')
  File "/usr/lib/python2.6/site-packages/SCons/Environment.py", line 1447:
    return function(self, self.backtick(command))
  File "/usr/lib/python2.6/site-packages/SCons/Environment.py", line 585:
    raise OSError("'%s' exited %d" % (command, status))
mayby somebony need this

Code:
[root@localhost temporary_downloads]# rpm -ivh --force libSDL-devel-1.2.13-13mdv2010.0.i586.rpm libmesagl1-devel-7.5.2-2mdv2010.0.i586.rpm libmesaglu1-devel-7.5.2-2mdv2010.0.i586.rpm libaa-devel-1.4.0-0.rc5.18mdv2010.0.i586.rpm libnas-devel-1.9.2-2mdv2010.0.i586.rpm libggi-devel-2.2.2-13mdv2010.0.i586.rpm libx11_6-devel-1.2.2-2mdv2010.0.i586.rpm libxmu6-devel-1.0.4-5mdv2010.0.i586.rpm libxi-devel-1.2.1-2mdv2010.0.i586.rpm x11-proto-devel-7.4-26mdv2010.0.i586.rpm libxt6-devel-1.0.6-1mdv2010.0.i586.rpm libxau6-devel-1.0.5-1mdv2010.0.i586.rpm libice6-devel-1.0.6-1mdv2010.0.i586.rpm libxdamage-devel-1.1.1-4mdv2010.0.i586.rpm libxext6-devel-1.0.5-1mdv2010.0.i586.rpm libxfixes3-devel-4.0.3-5mdv2010.0.i586.rpm libxxf86vm-devel-1.0.2-4mdv2010.0.i586.rpm libgii-devel-1.0.2-12mdv2010.0.i586.rpm libxxf86dga-devel-1.0.2-6mdv2010.0.i586.rpm libxcb-devel-1.6-1mdv2010.1.i586.rpm libsm6-devel-1.1.1-1mdv2010.0.i586.rpm libxdmcp6-devel-1.0.3-1mdv2010.0.i586.rpm
Przygotowywanie...          ########################################### [100%]
   1:libxdmcp6-devel        ########################################### [  5%]
   2:x11-proto-devel        ########################################### [  9%]
   3:libx11_6-devel         ########################################### [ 14%]
   4:libxext6-devel         ########################################### [ 18%]
   5:libxau6-devel          ########################################### [ 23%]
   6:libxxf86dga-devel      ########################################### [ 27%]
   7:libaa-devel            ########################################### [ 32%]
   8:libxfixes3-devel       ########################################### [ 36%]
   9:libice6-devel          ########################################### [ 41%]
  10:libsm6-devel           ########################################### [ 45%]
  11:libxt6-devel           ########################################### [ 50%]
  12:libnas-devel           ########################################### [ 55%]
  13:libxmu6-devel          ########################################### [ 59%]
  14:libxdamage-devel       ########################################### [ 64%]
  15:libgii-devel           ########################################### [ 68%]
  16:libggi-devel           ########################################### [ 73%]
  17:libxcb-devel           ########################################### [ 77%]
  18:libxi-devel            ########################################### [ 82%]
  19:libxxf86vm-devel       ########################################### [ 86%]
  20:libmesagl1-devel       ########################################### [ 91%]
  21:libmesaglu1-devel      ########################################### [ 95%]
  22:libSDL-devel           ########################################### [100%]
Code:
CPP build/ai.o
In file included from include/texturemanager.h:4,
                 from include/car.h:11,
                 from src/ai.cpp:2:
include/texture.h:7:21: error: GL/glew.h: Nie ma takiego pliku ani katalogu
In file included from include/texture.h:11,
                 from include/texturemanager.h:4,
                 from include/car.h:11,
                 from src/ai.cpp:2:
include/texture_interface.h:21: error: âGLuintâ does not name a type
In file included from include/texturemanager.h:4,
                 from include/car.h:11,
                 from src/ai.cpp:2:
include/texture.h:22: error: âGLuintâ does not name a type
include/texture.h:48: error: âGLuintâ does not name a type
scons: *** [build/ai.o] Error 1
scons: building terminated because of errors.

:/[/code]
Looks like you are still missing GLEW devel.