Page 1 of 2

Can't seem to track down every last dependency...

Posted: Sun Jun 01, 2014 8:46 pm
by Maxaxle
Put simply, I've been killing myself trying to find every last dependency for Vega Strike (the version found here: http://www.playdeb.net/game/Vega%20Strike ), and can't seem to find the following:
-python2.4 ("= 2.4.3-0ubuntu6.4" for one package and ">= 2.3.90" for another)
-libboost1.54-dev_1.54.0-4ubuntu3_i386.deb (perfectly reproducable broken pipe errors)

Any ideas about where to get those?

Re: Can't seem to track down every last dependency...

Posted: Wed Jun 04, 2014 8:33 pm
by loki1950
You might try Python.org the reason being that Python 2.4 is old and not in any current distro's repos they have moved on to 2.9 or 3.x besides that our current code uses 2.7 or 3.0 depending on which branch of svn you use.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Mon Jun 16, 2014 5:30 am
by Maxaxle
Alright, so I've been trying the SVN (detailed here: http://vegastrike.sourceforge.net/media ... u_Linux%29 ) but I can't get python2.6-dev. Also, I couldn't track down Python 2.4, even at the official site.

EDIT: https://www.python.org/download/releases/2.4/
I guess it's always the last place you look. Still, I suspect it won't be this easy.

EDIT 2: Python 2.4 gave Error 134 and core dumped. Python 2.6 gave Error 1 ("no such file or directory")...

Re: Can't seem to track down every last dependency...

Posted: Tue Jun 24, 2014 4:08 am
by Maxaxle
...So, does anyone know how to compile Python 2.4 and Python 2.6?
What I said earlier. wrote:Python 2.4 gave Error 134 and core dumped. Python 2.6 gave Error 1 ("no such file or directory")...

Re: Can't seem to track down every last dependency...

Posted: Tue Jun 24, 2014 4:51 am
by loki1950
Which version of Python is installed as default on your current distro you should be able to use it not any on the older versions as the current svn can use both 2.7 and 3.0 and the last release version of VS used 2.7 so lets try :?:

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Thu Jun 26, 2014 1:24 am
by Maxaxle
Maybe I didn't explain this earlier, but under the Building and Compiling step of the SVN guide, it says that you're supposed to run the following command:

Code: Select all

sudo apt-get install libpng12-0 libpng12-dev python2.6-dev libexpat1-dev     \
        libjpeg62-dev freeglut3-dev libopenal-dev libgtk2.0-dev libogg-dev libvorbis-dev \
        build-essential libgl1-mesa-dev automake autoconf libsdl1.2-dev
Where do Python 2.7 and Python 3.0 factor into that command?

Re: Can't seem to track down every last dependency...

Posted: Thu Jun 26, 2014 2:28 am
by loki1950
That wiki entry was done when Python 2.6 was standard it has not been updated to reflect current distros so you should modify it for the version of Python that is standard with your distro which is either 2.7 or 3.x after all the wiki is all most always out of date.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Fri Jun 27, 2014 1:17 am
by Maxaxle
Alright, I'll try that.

EDIT: On the bright side, I've managed to get every dependency (replacing python2.6-dev with python2.7-dev; no luck with "python3.0-dev"). I'll try compiling again.
EDIT 2: Apparently every command after the one to get the dependencies is useless to me. The .bootstrap-sh folder is missing and I can't ./configure inside the vegastrike (all lowercase) folder.

Re: Can't seem to track down every last dependency...

Posted: Fri Jun 27, 2014 5:20 am
by loki1950
That is because we have switched to cmake :shock: and dropped support for the old unix build tools so no bootstrap or ./config it was dropped as cmake is fully cross platform it makes for one less thing maintain IIRC there is either thread or wiki page that has a how to.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Fri Jun 27, 2014 6:16 pm
by Maxaxle
I'll try to find that.
EDIT: ...I can't seem to find the right thread. Any ideas?

Re: Can't seem to track down every last dependency...

Posted: Mon Jun 30, 2014 5:11 am
by Maxaxle
I can't seem to find the "here's how to set up the SVN" thread. Does anyone know where it is?

Re: Can't seem to track down every last dependency...

Posted: Mon Jun 30, 2014 3:45 pm
by loki1950
It's in the wiki at http://wiki.vega-strike.org/HowTo:Compi ... N_on_Linux there is also a GUI for cmake that I have found useful.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Mon Jun 30, 2014 5:49 pm
by Maxaxle
Thanks!

Re: Can't seem to track down every last dependency...

Posted: Tue Jul 01, 2014 2:02 am
by Maxaxle
So far, so good. VS has been prepared, downloaded, and built. Zero errors besides my own. Compiling now (and I'll edit this when it's finished)...
EDIT: I'm getting errors while compiling, but it doesn't seem to stop anything.
EDIT 2: I can't "sudo make install #" or "sudo make install", there don't seem to be any executable files, and trying to run "./vssetup" and "./vegastrike" inside the "vegastrike (all lowercase) folder result in "no such file" errors.

NOTE: I'm trying to compile the game under Lubuntu 14.04, 32-bit, (ab)using the following guide: http://wiki.vega-strike.org/HowTo:Check ... u_Linux%29

Re: Can't seem to track down every last dependency...

Posted: Tue Jul 01, 2014 4:55 am
by loki1950
Can you post the compile log there are a lot of warnings but an real error will stop compilation BTW the executables will be in the build folder you created not the VS data folder so to test make a bin folder in your data folder in that folder put copies of the binaries for vssetup.vegastrike and vegaserver in it actually just symbolic links will do which is what I do when running the svn version in userland I don't bother with "make install" at all.So let me know if you need any more info to continue.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Wed Jul 02, 2014 2:11 am
by Maxaxle
Good news and bad news. Good news is, I found and copied "vegaserver", "vegastrike", and "vssetup" from the build folder to a new folder, "bin", inside the "vegastrike" (all lowercase) folder. The bad news is that "Version.txt" is apparently missing (tried with vssetup and vegastrike executables, both in the "bin" folder and in the "vegastrike" folder) and the executables refuse to launch without it.

Re: Can't seem to track down every last dependency...

Posted: Wed Jul 02, 2014 3:33 am
by loki1950
Put the version.txt file in the data folder and here is the contents of that file.

Code: Select all

.vegastrike
yeah not much just 13 bytes.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Thu Jul 03, 2014 3:37 am
by Maxaxle
I seem to have satisfied that requirement, but now it's complaining that it can't read from "setup.config" (maybe it's missing?)...

Re: Can't seem to track down every last dependency...

Posted: Thu Jul 03, 2014 4:29 am
by loki1950
Setup.config should be in the root of the data folder with the following contents

Code: Select all

# Program Setup configuration

# Name of program
program_name Vega Strike

# file that has the program configuration
config_file vegastrike.config

# Temporary file to use while modifying the configuration file
temp_file vegastrike.config.temp

# Number of columns to show in the display
columns 4
In case it is missing ;) BTW there is an installation script in the root of the data folder as well it will only install the binaries though.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Thu Jul 03, 2014 5:26 am
by Maxaxle
Despite having the file exactly as described in the data folder, I'm getting the same error. I used the right-click command "Create New", then "Empty File", and named it "setup.config".

Re: Can't seem to track down every last dependency...

Posted: Sat Jul 05, 2014 7:20 pm
by Maxaxle
...Did I miss a step when creating "setup.config" or should I use a different technique?

Re: Can't seem to track down every last dependency...

Posted: Sat Jul 05, 2014 8:24 pm
by loki1950
Did you contents in the code tag from my earlier post in to that new file ;) if you did what is the output in a terminal when you run ./vegastrike that should give us some indication of what is wrong.

Enjoy the Choice :)

Re: Can't seem to track down every last dependency...

Posted: Sat Jul 05, 2014 9:14 pm
by Maxaxle
As I mentioned before, the exact output of the terminal was something like "setup.config cannot be read", same as before.

Re: Can't seem to track down every last dependency...

Posted: Wed Jul 09, 2014 12:20 am
by Maxaxle
Anyone want to pass me a copy of "setup.config"? My attempts at making the file only result in text files that the game can't read.

Re: Can't seem to track down every last dependency...

Posted: Wed Jul 09, 2014 1:04 am
by loki1950
Here you go hope this works :roll:

Enjoy the Choice :)