Ubuntu Script

13 replies [Last post]
spacebison
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 2008-12-22
Posts: 34

Hello, I'm running Ubuntu 8.04 and would like to play the latest version of Hedgewars but I get an error using the ubuntu script on the download page.

Quote:
Error #100 APT-GET/DPKG in package install
followed by a box saying there's a cmake error, 2.6.0 needed and 2.4.7 is installed.

In the synaptic package manager only cmake 2.4.7 is listed and I'm a bit lost as what I need to do next.

Thankyou

Uriah
Uriah's picture
User offline. Last seen 11 years 31 weeks ago. Offline
Joined: 2008-01-25
Posts: 359

The short answer is to upgrade to Ibex

The long answer.. well someone more familiar with Ubuntu will give you that later. Nemo is unable to post from work.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 3 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

You need to select every repo in sources (reccomended, backports, ecc.) and every update available, then fetch packages and upgrade.

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

spacebison
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 2008-12-22
Posts: 34

Blah, I upgraded to ibex along with selecting all the repos. Now I get "E: broken packages". I guess I'm stuck playing on my windows machine for the time being.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 3 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

I think that selecting all the repos was better...

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

spacebison
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 2008-12-22
Posts: 34

daimadoshi85 allegedly wrote:

I think that selecting all the repos was better...
Right, that's what I did first and I had the same error message as when I upgraded to ibex later.

spacebison
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 2008-12-22
Posts: 34

Ok, I have a fresh install of 8.04 (8.10 would freeze when booting up sometimes for some reason). I've selected every repo in sources and updates and everythings upgraded. It shows zenity 2.22.1-1 and cmake 2.6.2-1ubuntu1~hardy1 as being installed. I run the script and I get this back:

Quote:
matt@spacebison:~$ sh hedgewars_svnInstaller
/usr/bin/zenity
hedgewars_svnInstaller: 12: Bad substitution
[: 12: 0: unexpected operator
hedgewars_svnInstaller: 27: function: not found

** (zenity:11099): WARNING **: Cannot open file '/home/matt/.nude/log/hedgewars_log_install': No such file or directory

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 3 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

??what??Strange thing, I'll see what I can do!

It seems that everything is ok to me, did you download the latest version of the script?

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

spacebison
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 2008-12-22
Posts: 34

daimadoshi85 allegedly wrote:

did you download the latest version of the script?

Yes, I got it fresh out of the tubes.

alex12
User offline. Last seen 5 years 42 weeks ago. Offline
Joined: 2009-02-24
Posts: 115

Spacing out. How do I use the script? I have no clue.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 3 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Well, my friends modify it, it should automatically install zenity if not present via apt-get, then open the zenity menu to choose what to do, like install stable/unstable version, update the game, read log. Please try to install zenity with sudo apt-get install zenity and tell me if the menu appears, else I'll try to find out what's the problem.

@alex12 To use the script you need Ubuntu (or ubuntu based) OS and execute the script.

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

alex12
User offline. Last seen 5 years 42 weeks ago. Offline
Joined: 2009-02-24
Posts: 115

I have Ubuntu. I just have no clue as to how to use the script.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 3 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

ok, you download the script from my signature, change the permissions to make it executable and then open it from a terminal with ./hedgewars_svnInstaller (obviously you need to go to the path of the script, if the script is in your home directory you need only to write ./hedgewars_svnInstaller)

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

spacebison
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 2008-12-22
Posts: 34

Ah, I think my problem may have been related to the permissions (execute file as program check box) set in the properties. Everything installed and works now (for the most part). Thank you for your help Smile

Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]