Error during install of Sty

Post here if you need help setting up your server, etc.
Post Reply
User avatar
BOOSH
On Lightcycle Grid
Posts: 11
Joined: Thu Jun 18, 2009 12:30 am

Error during install of Sty

Post by BOOSH »

I'm trying to install sty, but I get an error message during the make install portion. I've followed these directions exactly http://wiki.armagetronad.net/index.php?title=Sty. I skipped the optional part.

Here is the error I get at the end after I do $ sudo make install. http://armagetron.pastebin.com/m6152aded

I've tried messing around with the prefix/install location, but it doesn't seem to matter. I also tried lp:~armagetronad-ct/armagetronad/0.2.8-armagetronad-sty as someone suggested (the wiki points at armagetronad-dev). Got the exact same results.

I'm running Ubuntu 9.10 on an old Mac Book Pro (2.16 Core Duo, 1GB RAM, X1600 Radeon 128 MB or 256 MB or something).

I realize that one of the first things on that page says we maintain, not support, sty, but I thought I would ask anway. :wink:

Any help would be appreciated. :)
DESiRE
On Lightcycle Grid
Posts: 29
Joined: Wed Jan 20, 2010 7:45 pm

Re: Error during install of Sty

Post by DESiRE »

Did you run ./bootstrap.sh and then configure your server?

You might find http://wiki.armagetronad.net/index.php? ... x_computer useful.

Hope you get it working! And Hi Boosh! Long time no see!

Try this:


bzr branch lp:~armagetronad-ct/armagetronad/0.2.8-armagetronad-sty+ct
cd to the location where you installed it
./bootstrap.sh
./configure --disable-glout --enable-automakedefaults --disable-sysinstall --disable-etc --disable-useradd --disable-initscripts --enable-armathentication
make
make install


Note: --enable-Armathentication is optional only if you want to have your server use authentication to work. If not, just delete what's in bold.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Error during install of Sty

Post by Z-Man »

Looks like make install is properly broken, I hope to find some time to look into it more deeply. Can't you run the server from the build directory? That's what I'd recommend for hack servers anyway, makes them easier to update.
User avatar
BOOSH
On Lightcycle Grid
Posts: 11
Joined: Thu Jun 18, 2009 12:30 am

Re: Error during install of Sty

Post by BOOSH »

I've give these both a try later this week when I get some time. Thanks for replies.
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Error during install of Sty

Post by Z-Man »

Ah, it could be that this is a problem inherited from the mainline. Could you try building and installing a server from the 0.2.8-armagetronad-work branch? I suspect your version of automake generates code that breaks our uninstall script generation magic.

Edit: To get to the bottom of this faster, could you post the full output of

Code: Select all

make -k uninstall
, please?
User avatar
BOOSH
On Lightcycle Grid
Posts: 11
Joined: Thu Jun 18, 2009 12:30 am

Re: Error during install of Sty

Post by BOOSH »

School started up again and I got my priorities mixed up a little bit, but I'm trying to get this working again.

I did what you suggested and pasted it here: http://armagetron.pastebin.com/xvDGhVib
I included the error at the make install step as well as the make -k unistall part

This is the branch I used: bzr branch lp:~armagetronad-dev/armagetronad/0.2.8-armagetronad-work

Thanks for helping me out! :stubble:
User avatar
compguygene
Adjust Outside Corner Grinder
Posts: 2346
Joined: Thu Aug 21, 2008 12:09 pm
Location: Cleveland, Ohio
Contact:

Re: Error during install of Sty

Post by compguygene »

Have you considered using this command instead

Code: Select all

bzr co http://bazaar.launchpad.net/~armagetronad-ct/armagetronad/0.2.8-armagetronad-sty+ct
This comes from here

then you would do this command.

Code: Select all

cd 0.2.8-armagetronad-sty+ct 
and then to update to the latest bugfix.

Code: Select all

bzr up
I have had nothing but success with this method. I have encountered problems following the method that you tried.
Of course, when you have done this, you will need to:

Code: Select all

./bootstrap.sh
configure command if you want Armathentication installed.

Code: Select all

./configure --disable-glout --enable-automakedefaults --disable-sysinstall --disable-etc --disable-useradd --disable-initscripts --enable-armathentication
configure command if you do not want install Armathentication.


Code: Select all

./configure --disable-glout --enable-automakedefaults --disable-sysinstall --disable-etc --disable-useradd --disable-initscripts
make and make install

Code: Select all

make

Code: Select all

make install
Armagetron: It's a video game that people should just play and enjoy :)
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
User avatar
BOOSH
On Lightcycle Grid
Posts: 11
Joined: Thu Jun 18, 2009 12:30 am

Re: Error during install of Sty

Post by BOOSH »

Tried those steps exactly and I still get the same error. I think it must be specific to my computer in some way. Thanks for the suggestion though.
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Error during install of Sty

Post by Z-Man »

When building from bzr, you also need to have m4 installed. Just remembered that.
User avatar
BOOSH
On Lightcycle Grid
Posts: 11
Joined: Thu Jun 18, 2009 12:30 am

Re: Error during install of Sty

Post by BOOSH »

Code: Select all

mrngneom@jamers-laptop:~/bin$ sudo apt-get install m4
[sudo] password for mrngneom:
Reading package lists... Done
Building dependency tree
Reading state information... Done
m4 is already the newest version.
m4 set to manually installed.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
Looks like I have m4 too.
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Error during install of Sty

Post by Z-Man »

Ah, right, the long break made me forget what the problem was. The problem is that the uninstall script creation relies on behavior of 'make uninstall', which seems to have changed in recent automake versions. To work around that, just pass '--disable-uninstall' to configure. The output you pasted tells me what 'make uninstall' is doing differently and should enable me to fix things.
User avatar
BOOSH
On Lightcycle Grid
Posts: 11
Joined: Thu Jun 18, 2009 12:30 am

Re: Error during install of Sty

Post by BOOSH »

Adding --disable-uninstall worked and it looks like everything installed correctly. If I could buy you a beer I would. Thanks!
Post Reply