Author Topic: Compiling latest Tremulous svn-version under Linux (ubuntu)?  (Read 6881 times)

Mogoh

  • Posts: 5
  • Turrets: +0/-0
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

Mogoh

  • Posts: 5
  • Turrets: +0/-0
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #1 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

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #2 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.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #3 on: July 18, 2008, 10:05:24 pm »
apt-get build-dep tremulous
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Mogoh

  • Posts: 5
  • Turrets: +0/-0
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #4 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?

Bomb

  • Guest
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #5 on: July 18, 2008, 10:30:47 pm »
The 1.1.0 PK3s should be all you need.

Mogoh

  • Posts: 5
  • Turrets: +0/-0
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #6 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....

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #7 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.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Mogoh

  • Posts: 5
  • Turrets: +0/-0
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #8 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.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #9 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.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: Compiling latest Tremulous svn-version under Linux (ubuntu)?
« Reply #10 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/
« Last Edit: May 13, 2014, 06:09:18 am by Undeference »
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.