Tremulous Forum

General => Troubleshooting => Topic started by: Mogoh on July 18, 2008, 09:37:32 pm

Title: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Mogoh on July 18, 2008, 09:37:32 pm
Hallo Tremulouscommunity.

I tried to compile Tremulous under Linux (ubuntu), but the compiling failed. I get the error message
Code: [Select]
make: sdl-config: Kommando nicht gefunden (command not found). Which packages do I need for compiling?

I wonder if there is any howto or something to compile Tremulous under Linux.

Also, I wonder what a QVM-file it?

greetings
Mogoh
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Mogoh on July 18, 2008, 09:47:36 pm
I installed the package libsdl1.2-dev and now it compiles a bit more, but later I get another error:

Code: [Select]
LD build/release-linux-x86/tremulous.x86
/usr/bin/ld: cannot find -lopenal
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Bissig on July 18, 2008, 10:01:00 pm
I installed the package libsdl1.2-dev and now it compiles a bit more, but later I get another error:

Code: [Select]
LD build/release-linux-x86/tremulous.x86
/usr/bin/ld: cannot find -lopenal

You are missing the openal dev libraries.
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: kevlarman on July 18, 2008, 10:05:24 pm
apt-get build-dep tremulous
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Mogoh on July 18, 2008, 10:23:08 pm
Thank you for your help. I think I compiled it correct now. But I still can't start the game, because the pk3-files are missing. How do I build or where do I get the right pk3-files? Should I take them form the 1.1.0 version?
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Bomb on July 18, 2008, 10:30:47 pm
The 1.1.0 PK3s should be all you need.
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Mogoh on July 18, 2008, 10:44:07 pm
Again thank you for your helping. :)

When I start the game, I get the following error:
Code: [Select]
Unknown extension for ui/menus.txt
^3WARNING: couldn't open music file ui/menus.txt
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
forcefully unloading ui vm
-----------------------
recursive error after: ^3menu file not found: ui/menus.txt, using default

I don't know if I made a mistake, or it is a bug and going to be offtopic....
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: David on July 18, 2008, 10:45:11 pm
The 1.1 pk3's will only work if you have the 1.1 source or a backport.  Compiling newer with out said backport is mostly pointless.
Backport: http://patches.mercenariesguild.net/index.php?do=details&task_id=2#comment614
or check out r755 but if you going to do that you may as well use the default binary.
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Mogoh on July 18, 2008, 11:06:28 pm
Hmm, that sounds not so good. So there aren't actual pk3-files available? Than I will still use version 1.1.0. It's a pity, because I thought, if it is open source, I can always test the newest development-version. This should not be an reproach against the developers, it's just a bit pity.
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: David on July 18, 2008, 11:57:54 pm
The latest SVN isn't compatible with 1.1, and there are no servers for it.
With the backport you can use SVN client, server, and most of game with the protocol changes reverted.  You can't use SVN cgame and ui as that would fail the cheater check.
SVN clients still have a few bug fixes etc though.
Title: Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
Post by: Undeference on July 19, 2008, 12:25:07 am
The latest SVN isn't compatible with 1.1, and there are no servers for it.
There is one, but you still need data-1.1.0.pk3. And, of course, the pk3 from http://betaserv.tk/betaserv/