compiling pig sty patch on windows & ubuntu

For all the help you need with Armagetron!
User avatar
Lucifer
Project Developer
Posts: 8750
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Jsm 588 wrote: ../armagetronad/src/render/rGL.h:10:24: SDL_opengl.h: No such file or directory
This is the problem. Do you have the SDl headers in your include path?
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

You're just building the wrong project. You're building the client, and all you want is the server. I don't have the C::B GUI here open, but I think you can do so in the project list on the far left, in the context menu of the "Dedicated" project.

You'll probably still need one preparation step described in the general instructions (http://wiki.armagetronad.net/index.php? ... evelopment): the WinLibs package which contains SDL (giving you the errors you got now that you can ignore) and libxml2.
User avatar
Jsm 588
On Lightcycle Grid
Posts: 29
Joined: Tue Dec 09, 2008 3:51 am

Post by Jsm 588 »

Thanks for the help guys.
But I'm rather fed up with Windows.
I'm going to partition my disk and install ubuntu 8.10
Hopefully that will be simpler and I wont have to deal with all this crap.
Do you guys know if ubuntu would be stable on a laptop? My comp has 500MB Ram and a 55GB Hard Disk.
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Jsm 588 wrote:Do you guys know if ubuntu would be stable on a laptop? My comp has 500MB Ram and a 55GB Hard Disk.
I'd suggest you rather install Ubuntu 8.04. Your laptop looks old enough to be fully supported driver wise, and 8.04 is a Long Time Support version, meaning you can leave the core system untouched for several years and still get support and security patches.

Whether it will run stable or not depends on your detailed hardware specs. Most configurations run stable (after a bit of tweaking, possibly. With older NVidia GPUs, for example, you have to either use the 3d-acceleration free open source driver or disable automatic CPU frequency scaling.).
User avatar
Jsm 588
On Lightcycle Grid
Posts: 29
Joined: Tue Dec 09, 2008 3:51 am

Post by Jsm 588 »

well i got ubuntu and it seems to be working great. Its much faster than my windows xp pro and i only gave it 8GB. However I did not partition my disk, I used the WUBI installer included, the one that makes it run like an application on windows. I have a problem with armagetron though, when i open any ubuntu version, it works for some time but the nthe font becomes totally unreadable. The game seems to run well except for the font.

Edit: fixed it up by turning off desktop effects. Now to find a linux version of bazaar.
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Disabling the fancy desktop effects (forgot their name) was reported to fix this particular problem; it's a driver issue.
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

The fancy desktop effects are called Compiz Fusion, I think...
@JSM The command for ubuntu's bzr is "apt-get install bzr"
Also, JSM, I built a sty patch version for windows just yesterday. If you want that, it's at: http://www.filesavr.com/armagetronad-de ... 23108win32
User avatar
Jsm 588
On Lightcycle Grid
Posts: 29
Joined: Tue Dec 09, 2008 3:51 am

Post by Jsm 588 »

Thanks, I'll try the windows patch l8r.

Here's what happens when I do ./bootstrap.sh

User@ubuntu:~/0.2.8-armagetronad-sty$ ./bootstrap.sh
Generating version...
Running aclocal...
./bootstrap.sh: 10: aclocal: not found
rm: cannot remove `aclocal.m4': No such file or directory

I got bazaar off the add/remove programs..that's really useful..I wish Windows could do that. Ubuntu is pretty fun..I only gave it 8GB and its working much faster than Windows. I wish I could use it in school.
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

I agree that ubuntu is way better than winblows 8)
User avatar
Jsm 588
On Lightcycle Grid
Posts: 29
Joined: Tue Dec 09, 2008 3:51 am

Post by Jsm 588 »

Yea, do you know what went wrong?
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

No. Sorry. It might be that ur ubuntu is embedded in windows. That's all I can think of, tho.
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

You need to install the autotools.

PS: can we split this ?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

epsy wrote:PS: can we split this ?
Yes, please. This thread is accumulating enough clutter as it is. "newbie compiling help for Ubuntu" on Support would do.
Pink Tomatoes
Average Program
Posts: 61
Joined: Fri Jul 25, 2008 11:24 am

Post by Pink Tomatoes »

This is the really useful .ubuntu line from tronnerbot ;) (slightly modifed for bzr):

For a full server with graphics try this:

Code: Select all

sudo apt-get install build-essential automake libboost-dev libxml2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev ftgl-dev libglew-dev bison pkg-config autoconf autotools-dev bzr
This should work for a non graphical server :).

Code: Select all

sudo apt-get install build-essential automake libboost-dev libxml2-dev  bison pkg-config autoconf autotools-dev bzr
User avatar
Jsm 588
On Lightcycle Grid
Posts: 29
Joined: Tue Dec 09, 2008 3:51 am

Post by Jsm 588 »

Sorry for so many posts guys.

And sry for the misunderstanding..I didn't want a dedicated server, I wanted the client because I can still host from that right? The reason I'm trying to get the pig patch is that at school, I think they blocked the master server, because internet games do not work. Period. LAN games do. So i was trying to be able to play shootouts/ctf/htf and all thwith my friends at school.

So all I want is the client.

And I did install Ubuntu through windows, because when I defragment my files did not move left and white space was in the middle so i would have lost my files. Does it matter? I do not see why that changes things?
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
Post Reply