Loading...
  OR  Zero-K Name:    Password:   

Can someone help me get .91 engine on Arch Linux 64bit?

16 posts, 2044 views
Post comment
Filter:    Player:  
sort
10 years ago
So, I'm currently running Arch Linux 64 bit, and I can't figure out how to get the .91 engine so I can play zero-K. Arch is bleeding edge, so it currently has .94 in the repos, with no realistic way to roll back. I tried compiling .91 from the springrts source code, and got it to compile, but it segfaults on start.

someone on this thread: http://zero-k.info/Forum/Thread/4713
linked me a compiled .91 build of spring, but it didn't start due to this issue (as explained by lvica)
quote:

You see, spring has many dependencies, like libglew, libicu, libboost (almost everything boost related in general), and so on.
It's okay if they are not too new, to launch both 94.1 and 91. But if they are the latest versions, spring 91 may not launch complaining regarding not found libraries...


i don't think there's a static build of .91 anywhere. Does anyone have a way to get .91 on a bleeding edge linux system?
+0 / -0
10 years ago
http://arm.konnichi.com/search/
download spring(91), boost and libboost there (i don't remember which version of boost does it require and i'm not on linux right now)
i did that and it worked for me
+1 / -0
I found that I could get it compiled fine with:
build-essential cmake cmake-gui git python-all-dev libglew-dev libsdl-dev libdevil-dev libopenal-dev libogg-dev libvorbis-dev libfreetype6-dev p7zip-full libxcursor-dev libboost-thread-dev libboost-regex-dev libboost-system-dev libboost-program-options-dev libboost-signals-dev

Download the source for 91.0 and unpack it into an empty directory.

Navigate into the directory you unpacked the source into in a terminal and run:
cmake .

Let that finish and then run:
make

When that is done, run:
sudo make install

That is how I did it on my Xubuntu 12.10 system, it may or may not work equally well on Arch (obviously replacing the Ubuntu commands with Arch commands, if any Ubuntu specific commands are used here). Theoretically it should work on Arch, but it may not. Post your terminal output if you run into trouble with it.
+1 / -0
10 years ago
why compile when you can download the compiled package from arm
+0 / -0
When I started writing that your post was not there. Also, I am not familiar with Arch packages and didn't know about such websites.
+0 / -0
USrankyanom: you can use my 91 updated PKGBUILD (with a patch that fixes the segfault/sound issue)

unpack it, go into spring directory and type "makepkg -ics", that's all it requires. I recommend you to add spring to IgnorePkg in /etc/pacman.conf

https://docs.google.com/file/d/0B-F7ISV8fbEcUVNDZGZCbC1sSE0/edit
+4 / -0
10 years ago
Arch doesn't have most of these dependencies in the repro.

> How can you get these as arch-packages?


BTW: did you got map texture in 94.1 to work?
+1 / -0

10 years ago
burp you should add that to the AUR as spring91 or something, providing and conflicting with spring.
+0 / -0
10 years ago
I just tried burps pkgbuild and got it to compile! Note - you forgot to include the "patch" program in your PKGBUILD dependencies.

pacman -Syu patch

was needed. I got it to install after deleting a defunct old spring binary from /usr/local/bin that had lodged itself there from a previous compile attempt. It starts without segfaults now. I'll try out graphics performance tommorow.
+2 / -0
10 years ago
quote:

BTW: did you got map texture in 94.1 to work?

.94.1 renders everything just fine. I'm using an AMD Radeon HD card w/ proprietary drivers.
+0 / -0

10 years ago
patch is part of the base-devel group which is an implied dependency in every PKGBUILD so you should install that group btw.
+0 / -0
Ok, I can get in game most times, but I'm experiencing 2 problems with this engine build:

1) The game hangs during loading, setting off Watchdog hang detection. It usually hangs when almost done, around "Loading LuaRules". This problem can be supressed by launching spring with --safemode

2) The game randomly hangs during play. Game audio will continue for ~2secs past the hang, until it too stops. resulting infolog.txt:
http://pastebin.com/Wek5LxZY
+0 / -0
10 years ago
I gave it up, since new engine is not in Ubuntu repository and "static" builds of 91 dont work on 13.10 im playing ZK on Windows half a year and still hoping that we will switch at least this year.
+0 / -0
I must have been out of the loop for a long time, because I had assumed 100% linux compatibility with at least ubuntu 12.04.

I am shocked to realize that /usr/games/spring --version
Spring 85.0
is under the Ubuntu default install 12.04.

I will try to fix 12.04 and see how hard it would be to get zero-k functional. I really do not want to do this, but I will do it if nobody else can.

( i plan on documenting everything as i go)
+0 / -0
10 years ago
the only thing stopping compatibility for me is this crash issue:

http://pastebin.com/Wek5LxZY

Has anyone seen that before?
+0 / -0

10 years ago
Seen that before in other reports. The generic "here's the thread names but no stacktraces" error didn't really help there, either. I mean, even knowing which thread was waiting and which one was busy would help...
+0 / -0