Hello everyone, thanks for a great game, i had a short battle with dependencies and i belive i have succsefully installed the latest warzone. I'm running mint 10, and now when i try to run the game by entering warzone2100 in the terminal i receive this message:
$warzone2100
The program 'warzone2100' is currently not installed. You can install it by typing:
sudo apt-get install warzone2100
this would mean that i didn't install the game, but the entire ./configure && make command went trough without an error, can you help?
run in terminal, how?
-
ODDity
- Trained

- Posts: 73
- Joined: 23 Oct 2009, 04:56
Re: run in terminal, how?
to install you would do a
sudo make install
Though, I just run the warzone2100 executable which is in the /src directory of the files you just built. You can make a shortcut to that and put it where you like.
sudo make install
Though, I just run the warzone2100 executable which is in the /src directory of the files you just built. You can make a shortcut to that and put it where you like.
-
666999
- New user
- Posts: 4
- Joined: 23 Jan 2011, 17:18
Re: run in terminal, how?
that's it, it works, a big thanks once more.
Regards...
Regards...
-
666999
- New user
- Posts: 4
- Joined: 23 Jan 2011, 17:18
Re: run in terminal, how?
i have an additional question, i only ran this command in terminal
./configure && make
i didn't use sudo make install at all, i'm guessing it should go after that, so does that mean that no files were copied outside the warzone directory in which i untard the archive?
i'm just wondering since running warzone2100 in terminal doesn't work....
i hope i'm making sense...
./configure && make
i didn't use sudo make install at all, i'm guessing it should go after that, so does that mean that no files were copied outside the warzone directory in which i untard the archive?
i'm just wondering since running warzone2100 in terminal doesn't work....
i hope i'm making sense...
-
cybersphinx
- Inactive

- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: run in terminal, how?
CompileGuideLinux should tell you all you need to know.
-
ODDity
- Trained

- Posts: 73
- Joined: 23 Oct 2009, 04:56
Re: run in terminal, how?
Indeed no files were copied outside the WZ build directory with just ./configure && make.
The reason you can't run it from a terminal is the executable which is still in side /warzoe2100/src or whatever, is not in your $PATH, or, to put it another way, the executable isn't in one of the default locations linux searches for executables.
You can certainly run it from terminal, but not without putting the exact location in, or cd'ing to it first:
IE
cd /home/user/Desktop/warzone2100-3.4/src
./warzone2100
Because Wz is being updated all the time, rather not do an install (I find) because it eliminates any kinda cross contamination you might have between versions, should you forget to uninstall the old one first, because make install on the new.
Hope that helps
The reason you can't run it from a terminal is the executable which is still in side /warzoe2100/src or whatever, is not in your $PATH, or, to put it another way, the executable isn't in one of the default locations linux searches for executables.
You can certainly run it from terminal, but not without putting the exact location in, or cd'ing to it first:
IE
cd /home/user/Desktop/warzone2100-3.4/src
./warzone2100
Because Wz is being updated all the time, rather not do an install (I find) because it eliminates any kinda cross contamination you might have between versions, should you forget to uninstall the old one first, because make install on the new.
Hope that helps
-
666999
- New user
- Posts: 4
- Joined: 23 Jan 2011, 17:18
Re: run in terminal, how?
yes it does, thank you, i forgot about changing the directory and running it like that, doh.....
i'm asking cause if there should be any problems i would run the game in the terminal to see the output but i couldn't, since running warzone2100 reported an error, now i know, thanks once more....
i'm asking cause if there should be any problems i would run the game in the terminal to see the output but i couldn't, since running warzone2100 reported an error, now i know, thanks once more....