[Debian Sarge] linux_vegastrike-0.4.2.sh error inside

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
fken
Star Pilot
Star Pilot
Posts: 5
Joined: Mon Nov 08, 2004 3:53 pm

[Debian Sarge] linux_vegastrike-0.4.2.sh error inside

Post by fken »

ok I had a problem when I execute linux_vegastrike-0.4.2.sh

I dont really remmber what Ive done but this is something like that :

BEFORE :

#!/bin/bash

# $Id: linux_vegastrike-0.4.2.sh,v 1.3 2004/10/01 12:14:29 dgar Exp dgar $

VERSION=vegastrike_0_4_2
DATAPATH=/usr/local/share/vegastrike
VSBUILD="$PWD/$VERSION"

BECOME :

#!/bin/bash

# $Id: linux_vegastrike-0.4.2.sh,v 1.3 2004/10/01 12:14:29 dgar Exp dgar $

VERSION=vegastrike_0_4_2
DATAPATH=/usr/local/share/vegastrike
VSBUILD="$PWD/vegastrike"


Before it didnt find the vega strike repertory... cause it created a vegastrike repertory and try to open vegastrike_0_4_2...
arevos
Atmospheric Pilot
Atmospheric Pilot
Posts: 1
Joined: Sun Nov 14, 2004 12:32 am

Post by arevos »

I had the same problem on SuSE 9.1, and I came up with the exact same solution. Except I don't know if it's a perfect solution yet, as it's still compiling :)
xtine

same prob

Post by xtine »

Yep...

did the same thing...
olc
Star Pilot
Star Pilot
Posts: 6
Joined: Tue Dec 28, 2004 11:43 pm
Location: Boulder, CO
Contact:

Same problem, different workaround but still no joy

Post by olc »

Rather than edit the installer, I symlinked "vegastrike" to "vegastrike_0_4_2" at the top level:

Code: Select all

olc@pictsie ~ $ ls -ls ~/build
total 0
0 drwxr-xr-x  6 olc users 184 Dec 28 12:47 vegastrike
0 lrwxrwxrwx  1 olc users  10 Dec 28 13:47 vegastrike_0_4_2 -> vegastrike
and ran the installer again. All the cvs checkouts seemed to go ok; the installer started to build, then crapped out on a missing dialog.h.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Sorry about the error. I fixed the broken line of code in the shell script.

The symlink should definitely work tho.

@olc: you probably need libdialog-dev or some such package. Look at your package manager and search for dialog or dialog-dev or something.
Sander

Re:

Post by Sander »

Guys - given that installing vegastrike is a 200mb + download, can we please ensure that the install scripts work correctly? I came up with the exact same solution as the others have mentioned, but had to download everything all over again the second time around. A waste of everyone's time, dont you think?
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

CVS shouldn't require you to download everything over again
If you did the symlink then CVS would have detected that the data was previously there. I'm very sorry about this waste of time.

Also, running the script with --help will present you with a choice of options so that you can tell it not to download data again.

If you did download the data twice then you might want to delete the first copy to save hard drive space.

In the next release there will be a much cleaner solution to the packaging problem by distributing a precompiled binary.
Hales
Star Pilot
Star Pilot
Posts: 6
Joined: Mon Jan 10, 2005 6:49 am
Contact:

Post by Hales »

Little note... --help gives "unknown command "--help"", but gives you the help menu anyway as the default action for an unrecognized option. :wink:
Post Reply