Forums
Install on Ubuntu 8.04 - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: Install on Ubuntu 8.04 (/showthread.php?tid=996)



Install on Ubuntu 8.04 - Rudy85 - 09-28-2008

Hi ,

I 've tried to install Vdrift on ubuntu , this is how I make

Code:
wget http://switch.dl.sourceforge.net/sourceforge/vdrift/vdrift-2008-08-05-src.tar.bz2

tar jxvf vdrift-2008-08-05-src.tar.bz2

sudo apt-get install libsdl-gfx1.2-4 libsdl-gfx1.2-4-dev libsdl-image1.2 libsdl-image1.2-dev  libsdl-net1.2 libsdl-net1.2-dev libvorbisfile3 bjam jam ftjam

cd /vdrift-08-05-08/bullet-2.66

./configure

jam bulletcollision bulletmath

After this steps , it's say :

===Installing===
To install VDrift, copy the build/vdrift executable to the vdrift root folder, then just move the vdrift tree to where you'd like the final location to be. Using "scons install" is not recommended for this release; the scons install script for VDrift is out of date and we have no one to maintain it.



But it have no files in /vdrift-08-05-08/build

I don't know whath to do , now !


- joevenzon - 09-28-2008

You still need to:
Code:
cd /vdrift-08-05-08/
./configure
scons release=1



- mitscherdinger - 10-09-2008

joevenzon Wrote:You still need to:
Code:
cd /vdrift-08-05-08/
./configure
scons release=1

Eeehm - there is no ./configure in that directory.
@Rudy85:
If you've got no vdrift-binary in build/, sth must gone wrong.
I also installed

libvorbis-dev
libglew-dev

here on Debian etch (64bit) and got through it! Also, keep in mind to install the

build-essential

package - it installs the g++-compiler, which is needed to compile vdrift!

Mitsch


- joevenzon - 10-09-2008

Opps -- minus the ./configure part. Thanks mitscherdinger. But still Rudy, it sounds like the bullet build went fine but you also need to run scons release=1 in the main vdrift folder to build vdrift (maybe you already knew that, in which case mitscherdinger is right and you should check the stuff he mentioned).


- soiled skivvies - 10-12-2008

----@----:/home/----/vdrift-08-05-08# scons release=1
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... no
You do not have the SDL/SDL_rotozoom.h headers installed. Exiting.


I also am running ubuntu 8.04 hardy.
I installed everything the other guy did.
I followed the same steps to


- joevenzon - 10-13-2008

Try installing the libsdl-gfx1.2-dev package.


- ELPIRATA - 12-14-2008

I used this instructions to install in Ubuntu 8.10, btw, for a newcomer like me... compiling is like a bad word Big Grin. I'm getting used to working with the terminal but is still new to me.

Anyways, aside of what he installed in the first post I also added the other requested files except perhaps the buildessentials since I understood it was a debian only thing (most probably I'm wrong too).

I did the scon release=1:


Code:
elpirata@Intrepid:~/vdrift-08-05-08$ scons release=1
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... yes
Checking for C++ header file vorbis/vorbisfile.h... yes
Checking for C++ header file GL/glew.h... yes
Checking for C header file libintl.h... yes
sh: svnversion: not found

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/elpirata/vdrift-08-05-08/po/SConscript", line 167, in <module>
scons: done reading SConscript files.
scons: Building targets .

... and got a lot of messages and many of them were like this line:

Code:
o build/game.o -c -Wall -O2 -pipe -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.66/src -I/usr/include/SDL src/game.cpp
sh: o: not found

So now I guess the question is... how do I execute the game?


- ELPIRATA - 12-14-2008

Hummm, I thought I should mention that I havent downloaded a 'data' package as it says on the wiki because I can't seem to find them. Would this affect the end result of all of this?

Also, lol, where does the compiled executable at?

Upon checking the car folder I notice there is stuff inside, but the wiki says that the src comes with nothing whatsoever.


- ELPIRATA - 12-14-2008

The wiki also says that the game should work without installing (after the compile is done) but that I can try doing the install using 'scons install' and this is the result:

Code:
elpirata@Intrepid:~/vdrift-08-05-08$ 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
Checking for C header file libintl.h... (cached) yes
sh: svnversion: not found

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/elpirata/vdrift-08-05-08/po/SConscript", line 167, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [/usr/share/games/vdrift] /usr/share/games/vdrift: Permission denied
scons: building terminated because of errors.

ELP


- ELPIRATA - 12-14-2008

I tried to start over, deleted the whole folder and decompressed again the src data using the same command as on first post. I also checked which gcc I had (v 4.4.3) just in case if was needed to know. I also installed the build-essential package.

Following the wiki I did the ./configure and after that the jam bulletcollision bulletmath. It said that had found 437 targets and updated 73+68+5. Got no error message.

Then I got out of the bullet folder and went to: vdrift-08-05-08 and did the scon release=1 with this result:

Code:
elpirata@Intrepid:~/vdrift-08-05-08$ scons release=1
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... no
You do not have the SDL/SDL_rotozoom.h headers installed. Exiting.

This didnt happened before. Any ideas? I'm still unsure about what is supposed to happen after this is completed.

Anyways, any help will be apreciated.


- joevenzon - 12-14-2008

For ubuntu you need all of these packages:
libsdl-gfx1.2-4
libsdl-gfx1.2-4-dev
libsdl-image1.2
libsdl-image1.2-dev
libsdl-net1.2
libsdl-net1.2-dev
libvorbisfile3
bjam
jam
ftjam
libvorbis-dev
libglew-dev

Install those then try again.


- ELPIRATA - 12-14-2008

Hummm I forgot to mention about that. I have all those except:

libsdl-gfx1.2-4-dev

Closest I have on Synaptic is 1.2-dev, is there something Im missing to get it?


- ELPIRATA - 12-15-2008

Well, finally build is complete. 1.2 did the trick.


- joevenzon - 12-15-2008

Excellent; I'll update the libsdl-gfx package name on the wiki.