FreeOrion

Forums for the FreeOrion project
It is currently Wed May 22, 2013 2:05 pm

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 3:11 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Hi, hoping someone here can help. I get this message when trying to run FreeOrion from root terminal (su):

I am Symlink. Following into my targets basedir
CWD: /usr/local/games/freeorion/application
libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5
Segmentation fault

What happens now is a mirror window opens (window with previous active windows or desktop, whatever's in the background before starting FreeOrion, as the active window) and blinks close (before all this happened was a black screen that closed right away). This is extremely frustrating as I have followed for several days the bug threads here in this forum what might possibly be wrong, even changed the versions of Python and OpenGL as suggested to newer versions, deleted the setup.xml file as suggested, and now I have absolutely no clue why it still doesn't work. I've even un-installed the older software versions of Python and OpenGL to see if anything changed, but nothing worked- however it went from showing a black screen to closing before I made any changes to a mirror screen and closed as described above. I installed FreeOrion into root (from root terminal using su). If this is NOT the preferred method of installation, please let me know as I've seen a variety of installs, from none root installs to root installs.

I've also attached the log files none of which I see nothing wrong. There were no error messages in either log files. This is another part of the frustration. If the developers here can decipher anything I may have missed, please let me know and ask me if I have such and such installed because I probably do or don't.

I'm running the most up to date Lucid Lynx version as possible (with multiple 3rd party depositories) and have OpenGL 2.1 and Python 2.6. If there are any programs either graphical or not that may directly conflict with FreeOrion, please let me know too. Hope this helps determine the crash(es).

One last thing I could try is putting the actual file "libpython2.5.so.1.0" into the appropriate directory, but I'm not too sure how to copy and paste files from a root terminal (I know where the actual file is located- it's one directory above where it's actually supposed to be LOL!). Any help with this would be appreciated.


Attachments:
ogre.log [14.88 KiB]
Downloaded 22 times
freeorion.log [984 Bytes]
Downloaded 23 times
Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 3:37 am 
Offline
Space Krill

Joined: Wed Aug 25, 2010 4:18 pm
Posts: 2
i do not recommend you to run the game as root, what i do to play it's go to the game folder (where i decompressed the tar.gz file) i'm not sure if it needs cofiguration (./configure) (i'm not saying that i didn't do it, if it needs configuration i did configure the freeorion), but to run the game i use the command "./freeorion" and in the terminal says the same thing:

Code:
####@###############:~/Descargas/freeorion$ ./freeorion
Following into my basedir
CWD: /home/ivan/Descargas/freeorion/application
   libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5


and i have the last libpython, but the game runs normaly (i think)


PD: i'm using ubuntu 10.04


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 3:46 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
mandrak3 wrote:
i do not recommend you to run the game as root, what i do to play it's go to the game folder (where i decompressed the tar.gz file) i'm not sure if it needs cofiguration (./configure) (i'm not saying that i didn't do it, if it needs configuration i did configure the freeorion), but to run the game i use the command "./freeorion" and in the terminal says the same thing:

Code:
####@###############:~/Descargas/freeorion$ ./freeorion
Following into my basedir
CWD: /home/ivan/Descargas/freeorion/application
   libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5


and i have the last libpython, but the game runs normaly (i think)


PD: i'm using ubuntu 10.04


Sorry Mandrake3, this doesn't help. I need more technical support from the developers and programmers here. Thanks for trying though. I have already installed FreeOrion in the Home directory previously and I have gotten the same mess, so I decided to install in root to see if there was a difference and there wasn't. I'm wondering if there's a dynamic link that isn't linking properly or some other program I have that's interfering (I do have Celestia that uses OpenGL extensively), so I'm wondering if it's something externally that might be disrupting FreeOrion and not the program itself. A word from the devs would be nice :D


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 4:54 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7891
Location: Vancouver, BC
Python is probably irrelivant to this problem. Running "freeorion" doesn't use any Python itself; only AI clients use it.

If you're running as root, then I'm pretty short on ideas. You could try deleting everything in ~/.freeorion and trying again, and making sure you have write permission in that directory, though I'm not too hopeful.

Have you tried any previous versions of freeorion? Did any of them work?

Could you install gdb with your package manager, and the freeorion linux debug symbols from sourcrforge for v0.3.15, and run with the debugger attached and report back results? kroddn has numerous posts discussing this, including this one: viewtopic.php?p=43942#p43942


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 12:41 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
Python is probably irrelivant to this problem. Running "freeorion" doesn't use any Python itself; only AI clients use it.

If you're running as root, then I'm pretty short on ideas. You could try deleting everything in ~/.freeorion and trying again, and making sure you have write permission in that directory, though I'm not too hopeful.

Have you tried any previous versions of freeorion? Did any of them work?

Could you install gdb with your package manager, and the freeorion linux debug symbols from sourcrforge for v0.3.15, and run with the debugger attached and report back results? kroddn has numerous posts discussing this, including this one: viewtopic.php?p=43942#p43942


I'm posting the debug in this thread though since it really doesn't work:

david@ubuntu:~$ cd Games/freeorion/
david@ubuntu:~/Games/freeorion$ ./freeorion --gdb
Following into my basedir
CWD: /home/david/Games/freeorion/application
libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# python2.5/site.pyc matches python2.5/site.py
import site # precompiled from python2.5/site.pyc
# python2.5/os.pyc matches python2.5/os.py
import os # precompiled from python2.5/os.pyc
import errno # builtin
import posix # builtin
# python2.5/posixpath.pyc matches python2.5/posixpath.py
import posixpath # precompiled from python2.5/posixpath.pyc
# python2.5/stat.pyc matches python2.5/stat.py
import stat # precompiled from python2.5/stat.pyc
# python2.5/UserDict.pyc matches python2.5/UserDict.py
import UserDict # precompiled from python2.5/UserDict.pyc
# python2.5/copy_reg.pyc matches python2.5/copy_reg.py
import copy_reg # precompiled from python2.5/copy_reg.pyc
# python2.5/types.pyc matches python2.5/types.py
import types # precompiled from python2.5/types.pyc
import _types # builtin
# /home/david/Games/freeorion/application/python2.5/warnings.pyc matches /home/david/Games/freeorion/application/python2.5/warnings.py
import warnings # precompiled from /home/david/Games/freeorion/application/python2.5/warnings.pyc
# /home/david/Games/freeorion/application/python2.5/linecache.pyc matches /home/david/Games/freeorion/application/python2.5/linecache.py
import linecache # precompiled from /home/david/Games/freeorion/application/python2.5/linecache.pyc
import encodings # directory /home/david/Games/freeorion/application/python2.5/encodings
# /home/david/Games/freeorion/application/python2.5/encodings/__init__.pyc matches /home/david/Games/freeorion/application/python2.5/encodings/__init__.py
import encodings # precompiled from /home/david/Games/freeorion/application/python2.5/encodings/__init__.pyc
# /home/david/Games/freeorion/application/python2.5/codecs.pyc matches /home/david/Games/freeorion/application/python2.5/codecs.py
import codecs # precompiled from /home/david/Games/freeorion/application/python2.5/codecs.pyc
import _codecs # builtin
# /home/david/Games/freeorion/application/python2.5/encodings/aliases.pyc matches /home/david/Games/freeorion/application/python2.5/encodings/aliases.py
import encodings.aliases # precompiled from /home/david/Games/freeorion/application/python2.5/encodings/aliases.pyc
# /home/david/Games/freeorion/application/python2.5/encodings/utf_8.pyc matches /home/david/Games/freeorion/application/python2.5/encodings/utf_8.py
import encodings.utf_8 # precompiled from /home/david/Games/freeorion/application/python2.5/encodings/utf_8.pyc
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/david/Games/freeorion/application/freeorion...Reading symbols from /home/david/Games/freeorion/application/freeorion.dbg...done.
done.
(gdb) s
The program is not being run.
(gdb)

I've gotten 0.3.14 to work in Jaunty, but since I had to do a clean intall of Lucid Lynx (HD crashed, like boo), I had to re-download the game. I tried the 0.3.14 first to be on the safe side, but had the black blank screen effect as I am with 0.3.15. Anyways, I followed the directions exactly above and there's errors trying to get the darn debugger to work properly. I press "s" and enter and it doesn't want to run it! What the heck? I did put symbols files in the application folder (the installed one) with the same version, and ran FreeOrion as ./freeorion --gdb from the freeorion folder (not as root this time to make sure). What am I missing? Do you think compiling from source would work better in my situation? I do have the patients to do it that way instead if you think that will work better.

-David


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 12:57 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7891
Location: Vancouver, BC
dfm1974 wrote:
Do you think compiling from source would work better in my situation? I do have the patients to do it that way instead if you think that will work better.

I'm not a Linux expert, but I think segfaults before the program even starts might indicate an ABI problem, which you recompiling might fix.

I'll see if I can page kroddn to comment, also.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 8:04 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
dfm1974 wrote:
Do you think compiling from source would work better in my situation? I do have the patients to do it that way instead if you think that will work better.

I'm not a Linux expert, but I think segfaults before the program even starts might indicate an ABI problem, which you recompiling might fix.

I'll see if I can page kroddn to comment, also.


Hmmm, what's ABI? Does it have something to do with the display/graphics adapter?

Anyways, I've downloaded mostly everything and I'm currently working on compiling OGRE (v1.6.5) and then I'll work on compiling the GiGi library from the subversion download of FreeOrion once it's done downloading.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 9:48 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7891
Location: Vancouver, BC
dfm1974 wrote:
Hmmm, what's ABI?

Application Binary Interface. Data type sizes, calling conventions, and other low level OS-binary interface stuff. If the program was built expecting things to be set up one way, it might be trying to access memory addresses or calling functions in ways the OS doesn't like.

Quote:
Does it have something to do with the display/graphics adapter?

Possibly, but not specifically.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Thu Sep 02, 2010 10:12 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
I've successfully compiled Ogre 1.6.5 (I was going to do the 1.7.1, but it wasn't recommended per wiki) and I'm currently compiling both freetype 2.4.2 and Boost 1.44 (./bjam) for the GiGi dependencies (tried compiling GiGi already and wouldn't work without these); it's just taking a very long time for both to complete...


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Fri Sep 03, 2010 2:36 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Somehow compiling all these libraries has messed up my display manager and now I had to install kdm/kde and switched over to that for now until I can figure out what caused the disruption with the gdm session login window. After rebooting, the gdm would reach the login screen without the login window and I couldn't get passed that; very frustrating. I want to fix this now as compiling the game is secondary to my needs. I think after I compiled the truefont2, boost, zlib, graphviz and bullet (all versions at or slightly higher than the recommended ones on wiki), is when the display issues started. Any help to fix this would be appreciated. Still can't compile GiGi; it's still "looking" for boost, and I have the recommended version downloaded, compiled, and linked. This is also frustrating.

-David :( :cry: :x :evil:


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Fri Sep 03, 2010 2:56 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7891
Location: Vancouver, BC
Assuming you're using CMake to compile, you probably need to tell CMake FindBoost.cmake to look for the version you're using. I posted about this here recently, for some Win7 issues, but the Boost finding issue with CMake is presumably the same.

I can't help you with Linux display manager issues...


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Fri Sep 03, 2010 4:20 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
Assuming you're using CMake to compile, you probably need to tell CMake FindBoost.cmake to look for the version you're using. I posted about this here recently, for some Win7 issues, but the Boost finding issue with CMake is presumably the same.

I can't help you with Linux display manager issues...


Thanks for that tip. I think I can fix the gdm myself, but I'm having a heck of a time trying. If anyone can help, this is what happened- I can no longer access the Synaptic Package Manager :( or the Login Screen options :(


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 5:23 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Ok, this is weird LOL. I went ahead and fixed the issues with my OS environment (found out I have some viruses that were the culprit of the login screen disruption, and was able to eliminate them with the new clamtk (4.28)), completely removed any hint of any and all FreeOrion data, program, and all of the libraries pertaining to it (at least the ones that wouldn't effect the operation of other programs), and downloaded and installed FreeOrion from Synaptic Package Installer, which has version 3258, or a newer version of 0.3.13, and the only error I get is a blank screen and a segmentation error in terminal. The installation somehow downgraded my OpenGL back to 1.4, but no errors appear in the freeorion.log or the ogre.log about the lower version. This FreeOrion version can also be downloaded from the GetDeb.net gaming area. Attached are the log files. I can't download the debug symbol files because I can't find them, so if anyone knows where they're at, please let me know so I can run gsb and use the backtrace option (bt). Hopefully someone can point me in the right direction to get this version to work ;)

-David (hanging in there :D)

Edit- Added the freeorion.txt for even more info (it's a copy of the backtrace without debugging symbols) and shows what happens a little more in detail. Hope this helps solve the mystery of the malfunction.

Edit- I completely quit compiling the other FreeOrion because I still couldn't get passed being able to compile GiGi, and I tried everything to link it to Boost, including trying different versions of Boost, both lower and higher, but every attempt, including your suggestions have failed. That's why I gave up and decided to download a more stable version of FreeOrion from the Ubuntu GetDeb.net database...so I was told it was stable LOL.


Attachments:
freeorion.txt [1.81 KiB]
Downloaded 24 times
ogre.log [11.95 KiB]
Downloaded 23 times
freeorion.log [744 Bytes]
Downloaded 20 times


Last edited by dfm1974 on Sat Sep 04, 2010 6:05 am, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 6:04 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7891
Location: Vancouver, BC
If you've downloaded FreeOrion from somewhere other than sourceforge, then I don't know if or where you can get debug symbols. Since the crash with the version you have appears to be the same as what you get with v0.3.15, you may as well download v0.3.15 and try debugging with that. It's available on sourcefoge: https://sourceforge.net/projects/freeor ... %200.3.15/


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 7:50 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
If you've downloaded FreeOrion from somewhere other than sourceforge, then I don't know if or where you can get debug symbols. Since the crash with the version you have appears to be the same as what you get with v0.3.15, you may as well download v0.3.15 and try debugging with that. It's available on sourcefoge: https://sourceforge.net/projects/freeor ... %200.3.15/


Ok, I'll try it your way, maybe it'll work this time...crossing fingers :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group