How do I give a compiled version to other linux users?
How do I give a compiled version to other linux users?
I tried sending the created dir, with the bin, man, and share directories, but it won't run on other machines... Any tips? BTW, they all are running Knoppix (Debian)
Starbucks, mind control at it's best!
- Tim Riker
- Maintainer
- Posts: 21
- Joined: Thu Dec 02, 2004 5:33 pm
- Location: USA, Utah, Salt Lake City
- Contact:
Linux packaging
knoppix uses .deb packages like debian (which it is based on). BZFlag 1.10 is in the debian feeds and so can be installed with:
I've also put up test debian builds for debian unstable on the builds directory:
http://my.bzflag.org/builds/
Code: Select all
apt-get install bzflag\*
http://my.bzflag.org/builds/
- Workaphobia
- Master Sergeant
- Posts: 252
- Joined: Wed May 26, 2004 7:29 pm
(I'm on one of the target machines SSB's referring to)
I've been using the OBLISK download (1.10.6, since I'm not aware of a 10.8 build with it), because it allows installation to a user directory without root privileges. Recently it stopped working for some reason, and then the directory was wiped anyway, so I need to get a new version back on there. Now - and this is coming from a Linux semi-newbie - do all packages (rpm, deb) require superuser access for installation? If so, what would be the easiest alternative: building it myself, trying OBLISK again, or simply copying the directories from SSB's build?
I've been using the OBLISK download (1.10.6, since I'm not aware of a 10.8 build with it), because it allows installation to a user directory without root privileges. Recently it stopped working for some reason, and then the directory was wiped anyway, so I need to get a new version back on there. Now - and this is coming from a Linux semi-newbie - do all packages (rpm, deb) require superuser access for installation? If so, what would be the easiest alternative: building it myself, trying OBLISK again, or simply copying the directories from SSB's build?
"Nifty News Fifty: When news breaks, we give you the pieces."
No, rpm in and of itself only requires su access for a couple of things: updating its database of installed packages and associated information, and installing components that either go in protected directories or that have special user permissions/ownerships which your non-su account would be unable to create. Most likely, the package database is protected, and that might force you to su. Of course, installing in a system directory is also going to force you to su, unless you have a less than secure system.Workaphobia wrote:Now - and this is coming from a Linux semi-newbie - do all packages (rpm, deb) require superuser access for installation?
-toaster
"So there I was, all alone, facing all of the enemy. I started driving in circles, until I had them surrounded, and then I escaped in the confusion."
"So there I was, all alone, facing all of the enemy. I started driving in circles, until I had them surrounded, and then I escaped in the confusion."
- Workaphobia
- Master Sergeant
- Posts: 252
- Joined: Wed May 26, 2004 7:29 pm
Well I don't want to install to /usr/games/bin or anything, I just want something within my home directory that'll allow me to run the game and server. I've heard that fakeroot might come in handy for this sort of thing - do you know if that would work?
"Nifty News Fifty: When news breaks, we give you the pieces."
- Workaphobia
- Master Sergeant
- Posts: 252
- Joined: Wed May 26, 2004 7:29 pm
Ok, I managed to get everything compiled and running on one machine, but when I move the three directories (bin, man, and share) into another location, it gives me an error about not being able to find the fonts - this is the same error I get when I tried to use SSB's build. What other dependency files am I missing?
"Nifty News Fifty: When news breaks, we give you the pieces."
- Workaphobia
- Master Sergeant
- Posts: 252
- Joined: Wed May 26, 2004 7:29 pm
That didn't quite do it. I don't understand how bzflag knows where to look for the data directory - there aren't any configuration files that I can see. I really hope I don't have to execute the install scripts again every time I want to change the relative path.
"Nifty News Fifty: When news breaks, we give you the pieces."
- Workaphobia
- Master Sergeant
- Posts: 252
- Joined: Wed May 26, 2004 7:29 pm
Today was the end of vacation so I finally got access to the machine again. I updated the CVS and compiled everything fine, but when I ran it - this time with the data directory in the correct location - I got a black screen with a mouse cursor. I could still navigate blindly through the menu and F12 out without a problem.
I suspect this is an SDL issue, so before I try this again I guess I should figure out how to install that on the system.
Thanks for the help anyway
I suspect this is an SDL issue, so before I try this again I guess I should figure out how to install that on the system.
Thanks for the help anyway
"Nifty News Fifty: When news breaks, we give you the pieces."