[Linux Lobby] AFLobby Beta 3.9.7 - Page 31

[Linux Lobby] AFLobby Beta 3.9.7

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

A settings.tdf file has been added. Login panel is now set to use it to remember the last username logged in betwene AFlLobby instances.
T1nT1n
Posts: 7
Joined: 23 Jun 2007, 22:40

compiling unitsync.so on AMD64

Post by T1nT1n »

When I use scons configure in trunk/ directory it gives me this errors:
scons: Reading SConscript files ...

Code: Select all

Now configuring.  If something fails, consult `config.log' for details.

Detected platform : linux
Checking gcc version... 4.1.1
profiling NOT enabled, debugging NOT enabled, level 2 optimizing enabled

Configuring spring
Checking for Freetype2...
  Checking for freetype-config... /usr/bin/freetype-config
  Checking for Freetype >= 2.0.0... 2.1.10
Checking for SDL...
  Checking for sdl-config... /usr/bin/sdl-config
  Checking for LibSDL >= 1.2.0... 1.2.11
Checking for OpenAL...
  Checking for openal-config... /usr/bin/openal-config
Checking for Python 2.5... 
  Guessing Python include path... /usr/include/python2.5 
Checking for Python 2.4... 
  Guessing Python include path... /usr/include/python2.4 
Checking for Java... /usr/lib/jvm/sun-jdk-1.6/include
TypeError: can only concatenate list (not "str") to list:
  File "SConstruct", line 33:
    env = Environment(tools = ['default', 'rts'], toolpath = ['.', 'rts/build/scons'])
  File "/usr/lib/scons/SCons/Environment.py", line 266:
    apply_tools(self, tools, toolpath)
  File "/usr/lib/scons/SCons/Environment.py", line 122:
    env.Tool(tool, toolpath)
  File "/usr/lib/scons/SCons/Environment.py", line 906:
    return SCons.Tool.Tool(tool, map(self.subst, toolpath))(self)
  File "/usr/lib/scons/SCons/Tool/__init__.py", line 53:
    apply(self.generate, ( env, ) + args, kw)
  File "rts/build/scons/rts.py", line 399:
    config.configure(env, conf_dir=os.path.join(env['builddir'], 'sconf_temp'))
  File "rts/build/scons/config.py", line 308:
    check_java(env, conf)
  File "rts/build/scons/config.py", line 205:
    env.AppendUnique(CPPPATH = possible_dirs[-1])
  File "/usr/lib/scons/SCons/Environment.py", line 616:
    self._dict[key] = dk + val
I think it cannot make the list of required files, but I dont know why. I am using scons for my first time, so it is maybe some stupid mistake :)

here is config.log:

Code: Select all

file /usr/lib/scons/SCons/Environment.py,line 1019:
	Configure( confdir = build/sconf_temp )

/usr/bin/freetype-config --ftversion
2.1.10
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

I compiled a 64bit version of unitsync now using the command
cons unitsync
in the 'trunk' folder.
But now aflobby gives me - shortly after loading my new libjavaunitsync.so - another error in the console:
AFLobby beta1 Release candidate

JSync Setup
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002aaabdec4f29, pid=4692, tid=1096018256

#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)

# Problematic frame:
# C [libjpeg.so.62+0x9f29]
#
# An error report file with more information is saved as hs_err_pid4692.log

#
# If you would like to submit a bug report, please visit:

# http://java.sun.com/webapps/bugreport/crash.jsp
#
aflobby.sh: line 2: 4692 Aborted java -Djava.library.path=. -ja
r aflobby.jar
You can get my libjavaunitsync.so here: http://www.uploadpower.com/en/download.php?id=7F1893951


Any ideas?

(I am trying for days now to at least play that game ONE TIME... :evil: )
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

rabe wrote:I compiled a 64bit version of unitsync now using the command
cons unitsync
in the 'trunk' folder.
But now aflobby gives me - shortly after loading my new libjavaunitsync.so - another error in the console:
AFLobby beta1 Release candidate

JSync Setup
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002aaabdec4f29, pid=4692, tid=1096018256

#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)

# Problematic frame:
# C [libjpeg.so.62+0x9f29]
#
# An error report file with more information is saved as hs_err_pid4692.log

#
# If you would like to submit a bug report, please visit:

# http://java.sun.com/webapps/bugreport/crash.jsp
#
aflobby.sh: line 2: 4692 Aborted java -Djava.library.path=. -ja
r aflobby.jar
You can get my libjavaunitsync.so here: http://www.uploadpower.com/en/download.php?id=7F1893951


Any ideas?

(I am trying for days now to at least play that game ONE TIME... :evil: )
Linux support still needs to be properly sorted; everything should be up and running perfectly next version (repositories!) Sorry about the problems, but it is definitely worth it !:P

In the mean time; are you sure you're using the latest SVN? -> "svn checkout https://taspring.clan-sy.com/svn/spring/trunk" & did you run scons configure beforehand right?
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

Linux support still needs to be properly sorted; everything should be up and running perfectly next version (repositories!)
You know around when that shall be released?
In the mean time; are you sure you're using the latest SVN? -> "svn checkout https://taspring.clan-sy.com/svn/spring/trunk" & did you run scons configure beforehand right?
My version is the latest one from this URL. Version 0.74b3+.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

http://tarendai.googlepages.com/AFLB1_2 ... build1.zip

-Fix: some mix ups of status and battlestatus fixed
-Fix: Architectural changes for status handling fix some issues
-Fix: Null pointer issue with saving usernames.

see above posts for rest of changelog
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Well new version should hopefully be out sometime next month, although that is prone to change.

Could you post the output from "scons configure" too? (forgot to ask before)
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

With this new version of AFLobby I was able to join or host a battle, but when I want to start a game I always get:
Missing default cursor
How to fix that?
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

rabe wrote:With this new version of AFLobby I was able to join or host a battle, but when I want to start a game I always get:
Missing default cursor
How to fix that?
Did you extract package 1 into "~/.aflobby"?
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

Did you extract package 1 into "~/.aflobby"?
Definitely yes. I get that error with the ta:spring test scripts, too.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I have compiled a working 64Bit unitsync.
Download link:
Image
Edit:
Should only work with amd 64Bit processors.
I don´t know if it works with a Intel 64 Bit processor.
Last edited by Agon on 25 Jun 2007, 17:47, edited 1 time in total.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

rabe wrote:With this new version of AFLobby I was able to join or host a battle, but when I want to start a game I always get:
Missing default cursor
How to fix that?
This sounds like a spring issue, not a lobby one. Did this happen in the lobby or in spring?
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

rabe wrote:
Did you extract package 1 into "~/.aflobby"?
Definitely yes. I get that error with the ta:spring test scripts, too.
It's definitely a spring issue then. Sorry, don't know how to help; if it doesn't affect gameplay then i recommend just ignoring it.

P.S it's no longer called taspring; just spring nowadays.
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

It's definitely a spring issue then. Sorry, don't know how to help; if it doesn't affect gameplay then i recommend just ignoring it.
I can't ignore it, because the game does not start after the message.

And yes, it is a spring issue - driving me mad slowly.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

rabe wrote: can't ignore it, because the game does not start after the message.

And yes, it is a spring issue - driving me mad slowly.
sounds like your content package is borked

beware that if you try to run mods based on total annihilation you'll need the non free content pack

check in your ~/.spring/base/ if you do have otacontent fot ta-based mods and springcontent for GPL mods
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

I simply compiled my unitsync.so with
scons unitsync
in my trunk folder, renamed it to "libjavaunitsync.so" and put it in /usr/share/games/spring.

But minimap functionality is not available.

When I add a new map to /usr/share/games/spring/maps and try to join the lobby with aflobby it crashes. After restarting aflobby, it does not crash again but minimap functionality is not available.

Console Log can be found here: http://www.pastebin.ca/590229

The error report(hs_err_pid67) here: http://www.pastebin.ca/590228
Last edited by rabe on 26 Jun 2007, 15:12, edited 4 times in total.
Drezil
Posts: 33
Joined: 08 Mar 2007, 13:32

Post by Drezil »

to me this looks like a buggy java-vm under a 64bit-os..
maybe the java-vm is mis-linked to the 32bit-version of the libjpeg ?

you can try to make sure that the libjpeg is definitely 64bit.

if this doesn't help you may ask sun directy. could be an error in the vm.

edit: oh i just saw that '/opt/sun-jdk-1.6.0/jre/lib/amd64/libjpeg.so' is linked, so i suppose it is the 64bit-version.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Argh! has been kind enough to compile his 64bit unitsync: http://files.argh.ch/unitsync.so -> try using this one.

rabe; you seemed to have edited your post since last time i read it (you were talking about comms etc.. ); are you having problems ingame? i.e. if you do get into does it play fine?
rabe
Posts: 16
Joined: 24 Jun 2007, 22:35

Post by rabe »

Argh! has been kind enough to compile his 64bit unitsync: http://files.argh.ch/unitsync.so -> try using this one.
That did not change anything but forcing me to make new links to "libboost_regex.so" and "libboost-thread-mt.so.1.33.1"(I have boost version 1.34.0). Crashes, too.
rabe; you seemed to have edited your post since last time i read it (you were talking about comms etc.. ); are you having problems ingame? i.e. if you do get into does it play fine?
I do have problems:
Whenever I join a game someone else hosted it always leads to freeze. Games I host myself do not work as well. With several non-standards maps it just won't launch and with mars or smalldivine it gives all the time error messages like "no response from [nickname] from frame [number]"(nickname is the nick of the other player, number is increasing with every message[1,402,...]) in the chat box. When I move to the start pos of my enemy I can only see his commander(although he has a base) and attack but not destroy it. My enemy always gets the same messages and can only see my commander, too.
The maps(the standard ones as well) are all from unknown-files.net.
Last edited by rabe on 26 Jun 2007, 15:12, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Whats happening here is that unitsync is crashing.

It hasnt been compiled correctly, if it was an AFLobby crash it wouldnt mention libjpeg it would just bring up a java exception with no mention of unitsync, or a JNIWarning popup window.

Also, pastebins exist for a reason. Could you ro a mdoerator edit out the longwinded error messages and put a link ot a pastebin post? A quick google for pastebin will make clear what a paste bin is. AKA right click paste, submit, copy url.

http://www.pastebin.ca
Post Reply

Return to “Linux”