Missing ArmgagetronAD files in Mandriva Free Edition 2006

For all the help you need with Armagetron!
Post Reply
ryan
Posts: 6
Joined: Sat Dec 31, 2005 2:32 am

Missing ArmgagetronAD files in Mandriva Free Edition 2006

Post by ryan »

Hey,
I've been browsing the wiki, and often, for user-end configuration (compared to system wide configuration), they talk about a ".armagetronad" directory with a bunch of config files and folders in it. I have no such thing, yet I can succesfully play armagetronad. I installed Lucifer's Mandriva 2.8_beta4 rpm from http://beta.armagetronad.net/?product=a ... =#download

I also tried uninstalling it and reinstalling it. To uninstall it, I attempted to use the
armagetronad-uninstall command, to wich I got the following error message:
[root@localhost ryan]# armagetronad-uninstall
/usr/bin/armagetronad-uninstall: line 3: /home/dave/rpm/tmp/armagetronad-0.2.8.0-0.6.beta2.1mdk-buildroot/usr/share/games/armagetronad/scripts/sysinstall: No such file or directory
[root@localhost ryan]#

In the end, I ran the command "urpme armagetronad", wich uninstalled it. I reinstalled the same package, yet, the folders still weren't there.

Does anyone have such a directory that they could tarball and send to me? or is there somehow to make one? (If your going to email it to me, my email is
ryanakca [at] gmail dot com ).

Thanks in advance,
Ryan

EDIT: I think this might be usefull too...
I can only run armagetronad with the following command:
armagetronad --configdir /etc/games/armagetronad/

otherwise, I get this error message:

[ryan@localhost ~]$ armagetronad
Warning in void FindConfigurationPath(const char*) in tools/tDirectories.cpp:1120 :
Could not determine path to configuration files. Using defaults or command line arguments.

Error:Error in int main(int, char**) in tron/gArmagetron.cpp:510 :
Configuration files not found. Check your installation.

[ryan@localhost ~]$
User avatar
Lucifer
Project Developer
Posts: 8765
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

You sure you don't have this directory? The game creates it when you start it, that's what happens when the language prompt is there. Um, you do know that files and directories that start with a . are hidden, right? You need to do ls -a to see it. That's one thing that has nothing to do with the package or distribution, it works that way on all Linux, the ".armagetronad" directory.

I can send you the spec file (or you can check it out from cvs) if you'd like to tweak it. I've just switched to Kubuntu, not like I had a lot of time to maintain the Mandriva package anyway. Anyway, building a package is pretty straightforward, turns out.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
ryan
Posts: 6
Joined: Sat Dec 31, 2005 2:32 am

Post by ryan »

Yes, I am aware of the .* files being hidden.

[ryan@localhost ~]$ ls .arm*
[ryan@localhost ~]$

meh.... I dunno, I'll try figuring this out later on tonight, keep you posted :D
Last edited by ryan on Mon Jan 02, 2006 1:57 am, edited 1 time in total.
User avatar
Lucifer
Project Developer
Posts: 8765
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Wait a minute, I know the problem. That's the beta2 package, I haven't put up the beta4 package yet. The beta2 package was broke. Heh, duh. Sorry about that. I'll put up a beta4 package in a little while. I still have my Mandriva installation on another partition, so I'll reboot into it and take care of it for you.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
ryan
Posts: 6
Joined: Sat Dec 31, 2005 2:32 am

Post by ryan »

oh, thanks a million... *tries to be patient* I also tried compiling it from source, and I get the following error when I run ./configure :

checking for gluBuild3DMipmaps in -lGLU... no
configure: error:
You need GLU to compile Armagetron; it SHOULD have come with OpenGL.
Read the file doc/install_linux.html.

"urpmi armagetron" installation works though... but I'm looking for something a bit more cutting edge/recent... even though it might be a bit (or really) buggy.

Do you know of the urpmi command to install GLU, and yes, I have OpenGL installed.
lol

Again, many thanks,
ryan
User avatar
Lucifer
Project Developer
Posts: 8765
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Try installing the mesa-devel package.

Also, the generic rpm should work fine, I always used to use that before I started building packages of my own. It doesn't install a nice desktop entry, though.

ON a side note, I installed from source on Kubuntu, and the desktop entry was picked up by KDE. :) That was a happy occurence.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
ryan
Posts: 6
Joined: Sat Dec 31, 2005 2:32 am

Post by ryan »

ok... I've got it installed from source, yet, there is no /usr/bin/armagetron* file
I ended up having to ln -s to it from /usr/local/bin/armagetronad

It also created the ~/.armagetronad but, I'm still missing a pile of subfolders.

[ryan@localhost ~]$ cd .armagetronad
[ryan@localhost .armagetronad]$ ls
var/
[ryan@localhost .armagetronad]$ cd var
[ryan@localhost var]$ ls
highscores.txt ladder.txt scorelog.txt user.cfg won_matches.txt won_rounds.txt
[ryan@localhost var]$

is this normal?
I dont think that this install was successfull, no menu entries or anything... but then.. I'm not too too happy with mandriva at the moment either.... I have yet to find the perfect (or almost perfect) linux disto...

Any tips... I'm probably missing something obvious, I'm dead tired from last night, so I'll give it a last try in the morning. then I'll just resort the the urpmi version of armagetron....
User avatar
Lucifer
Project Developer
Posts: 8765
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

This is all normal. I don't remember which version of Mandrake it was, but at some point I had to start adding /usr/local/bin to my path. Generally you should consider anything in /usr/bin to be managed by urpmi, and /usr/local/bin is stuff you've installed from other places. At least, that's what I found works. So of course you have to put /usr/local/bin in your path. I don't recall where I did that, I think I did it in /etc/bashrc, but I could be misremembering it.

Older Mandrake versions had /usr/local/bin in your path in the default installation. It's about 1 minute of frustration that they changed it.

Python breaks it, if you use distutils to install python packages. Better to have distutils build an rpm first, and then install the rpm.

About the desktop entry, it's missing because Mandriva uses a weird system. They took something from Debian for it, then crippled and mangled it beyond recognition, and use that to build their menus. So installing from source won't install the desktop entry properly. It still gets installed, but for some reason KDE/GNOME won't pick it up. That's why I was pleasantly surprised to see that it worked in Kubuntu. ;)
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: 11770
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

About the /usr/local/bin issue: should we consider Mandriva broken in that respect? Many source packages assume /usr/local/bin is the place to put third party binaries into, so a lot of other software does not work on Mandriva when installed from source. We could check for the path in configure and change the prefix from /usr/local to /usr, but somehow, that does not feel right. I certainly like it to be able to remove all self-installed stuff with rm -rf /usr/local.
User avatar
Lucifer
Project Developer
Posts: 8765
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

If it becomes a frequently asked question, we can just answer with "put /usr/local/bin in your path or type /usr/local/bin/armagetronad when you start it". No reason for us to change anything. :)

We can also suggest people configure --prefix=/usr, but that's not really a good idea. Better to provide an rpm. But since I'm switching to Kubuntu, I won't be able to maintain it anymore, after I worked so hard to make it work right. Heh. Silly, eh? I'll make sure the 0.2.8 release has a Mandriva rpm, but after that I'm going to nag everyone who admits to using Mandriva to try to get someone to maintain it.

I really need to get the beta4 rpm built. Are we ready for another beta? Or are we ready to go to RC now?
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: 11770
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Doing nothing suits me fine :)
Walking Tree
Match Winner
Posts: 641
Joined: Sun Jul 10, 2005 9:14 am

Post by Walking Tree »

z-man wrote:About the /usr/local/bin issue: should we consider Mandriva broken in that respect?
yes.
on the grid as ~free::zombie~
ryan
Posts: 6
Joined: Sat Dec 31, 2005 2:32 am

Post by ryan »

meh.... I've decided to trash mandriva..... I haven't even been able to get my graphic table working!.... I'm going to go look threw my pile of linux distro cds.... I was kinda impressed with debian... and ubuntu.... never tried kubuntu... might try kubuntu....
Start on a fresh system.... I'll figure something out.

Cheers,
ryan

PS: Sorry 'bout all the triple and quadruple dots, I'm just trying to string all my thoughts together
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6715
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

ryan wrote:PS: Sorry 'bout all the triple and quadruple dots, I'm just trying to string all my thoughts together
That's what the dots are forr :).
Image
Post Reply