LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gedit problem installing warzone (https://www.linuxquestions.org/questions/linux-newbie-8/gedit-problem-installing-warzone-479272/)

jbumgar 08-31-2006 07:37 PM

gedit problem installing warzone
 
this is the message i get when trying to install warzone by double clicking on it.

gedit has not been able to detect the character coding.
Please check that you are not trying to open a binary file.
Select a character coding from the menu and try again.

What am I doing wrong?

cs-cam 08-31-2006 07:54 PM

You'll probably need to install it from a terminal. cd to the directory the Warzone installer is and type 'sh filename.run'. You could try right-clicking on the file, going to properties and making it executable then try the double-click approach. I make no promises but it might work.

nmn 08-31-2006 08:41 PM

Yeah. it needs to be executable, but as long as its pure shell script and not binary (If it was binary, then gedit wouldn't be ran) the sh command will interpret it regardless. The reason why gedit says this is probably becuase that there is a binary file that warzone extracts. Now, i have never installed warzone before, or used it at all, nor do i know what it is. so i cannot tell you anything for sure. If sh fails, try bash. If somehow both fail... err, try executable. Its prolly not best to run it threw nautilus (I will assume that you run gnome if you have gedit and that you use nautilus as a file explorer) since it may not be a full gui installer, rather maybe a console installer. that and while its extracting, it may have an error, and the only way to tell what happened is threw the console.

This is one of the reasons i wish there was an undisputable binary suffix for linux. Like .exe . I wish i could set this kindof value.

muddywaters 08-31-2006 11:25 PM

What is the complete name of that file ?

jbumgar 09-07-2006 10:18 AM

War Zone 2100 is all I know.


All times are GMT -5. The time now is 08:35 AM.