Author Topic: Building Molecular Blue From Linux  (Read 20748 times)

Milho

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #45 on: July 16, 2003, 10:34:45 am »
Could you tell us your about your system so I get an idea what hardware PS expects.

Cheers
Mil\'

Milho

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
could not load plugin 'crystalspace.graphics3d.opengl'
« Reply #46 on: July 17, 2003, 02:53:16 am »
I finally got a solution for my runtime problem with Crystal Space.

I got RedHat 9.0 on a P3-800 with a NVIDIA Geforce2MX400
The graphicscard is important!

So While following the guide I could not get the walktest of CS to run.
The message:
./walktest
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
crystalspace.system: No iGraphics3D plugin!
Segmentation fault

With -verbose:
 ./walktest -verbose
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libGL.so.1: cannot handle TLS data
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libGL.so.1: cannot handle TLS data
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
crystalspace.system: No iGraphics3D plugin!
Segmentation fault

Now you can see that it is a tls problem. CS does not use the /usr/lib/tls/libGL.so.1 but the /usr/lib/libGL.so.1 without tls

To fix this use this instead:
LD_PRELOAD=/usr/lib/tls/libGL.so.1 ./walktest

This is not a nice solution but it works
This makes sure CS uses the right tls libs (thanks to Primer for this hint)

This is a nvidia gfx card problem I guess.
Would be nice if the crystalspace team would fix this, so CS uses the right libs.

Also thanks to johndo for helping to find the error.
I try to go on with the installation then....

Fowel

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #47 on: July 25, 2003, 11:26:08 pm »
I used the build.sh script, but in the end, I encountered some problems. When trying to start psclient, I got this message:

Warning: Failed to load `vfs\'; use \'-verbose\' argument for details.
Warning: Failed to load `vfs\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.kernel.vfs\'
Couldn\'t load vfs plugin!
csInitializer::SetupConfigManager failed!
Is your CRYSTAL environment var set?



So I manually went through the whole process again, untill I encountered this when trying to build CEL:

configure: error:
*** Crystal Space couldn\'t be found. The latest version is always avaiable
*** from http://crystal.sourceforge.net
*** Be also sure that you\'ve either installed CS or set the CRYSTAL var right.


Now.. my question is: How do I set the Crystal var right?

I have RedHat 7.3
« Last Edit: July 27, 2003, 10:44:57 am by Fowel »

dedeibel

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #48 on: July 26, 2003, 03:57:24 pm »
Quote
Originally posted by Milho
I finally got a solution for my runtime problem with Crystal Space.

./walktest
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
crystalspace.system: No iGraphics3D plugin!
Segmentation fault

With -verbose:
 ./walktest -verbose
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libGL.so.1: cannot handle TLS data
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libGL.so.1: cannot handle TLS data
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
crystalspace.system: No iGraphics3D plugin!
Segmentation fault

Now you can see that it is a tls problem. CS does not use the /usr/lib/tls/libGL.so.1 but the /usr/lib/libGL.so.1 without tls

To fix this use this instead:
LD_PRELOAD=/usr/lib/tls/libGL.so.1 ./walktest

This is not a nice solution but it works
This makes sure CS uses the right tls libs (thanks to Primer for this hint)

This is a nvidia gfx card problem I guess.
Would be nice if the crystalspace team would fix this, so CS uses the right libs.

Also thanks to johndo for helping to find the error.
I try to go on with the installation then....


Well, I have the same message, the \"crystalspace.system: No iGraphics3D plugin!\" thing,  but i don\'t think what you said is a solutution for me.

./walktest -verbose
Warning: Failed to load `gl3d\'; reason(s):
/home/dedeibel/games/planetshift/CS/gl3d.so: File not found
/home/dedeibel/games/planetshift/CS/lib/gl3d.so: File not found
./gl3d.so: File not found
/home/dedeibel/games/planetshift/CS/gl3d.so: File not found
Warning: Failed to load `gl3d\'; reason(s):
/home/dedeibel/games/planetshift/CS/gl3d.so: File not found
/home/dedeibel/games/planetshift/CS/libgl3d.so: File not found
/home/dedeibel/games/planetshift/CS/lib/gl3d.so: File not found
/home/dedeibel/games/planetshift/CS/lib/libgl3d.so: File not found
./gl3d.so: File not found
./libgl3d.so: File not found
/home/dedeibel/games/planetshift/CS/gl3d.so: File not found
/home/dedeibel/games/planetshift/CS/libgl3d.so: File not found
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
Warning: Failed to load `csjngimg\'; reason(s):
/home/dedeibel/games/planetshift/CS/csjngimg.so: File not found
/home/dedeibel/games/planetshift/CS/lib/csjngimg.so: File not found
./csjngimg.so: File not found
/home/dedeibel/games/planetshift/CS/csjngimg.so: File not found
Warning: Failed to load `csjngimg\'; reason(s):
/home/dedeibel/games/planetshift/CS/csjngimg.so: File not found
/home/dedeibel/games/planetshift/CS/libcsjngimg.so: File not found
/home/dedeibel/games/planetshift/CS/lib/csjngimg.so: File not found
/home/dedeibel/games/planetshift/CS/lib/libcsjngimg.so: File not found
./csjngimg.so: File not found
./libcsjngimg.so: File not found
/home/dedeibel/games/planetshift/CS/csjngimg.so: File not found
/home/dedeibel/games/planetshift/CS/libcsjngimg.so: File not found
Warning: Failed to load `cspngimg\'; reason(s):
/home/dedeibel/games/planetshift/CS/cspngimg.so: File not found
/home/dedeibel/games/planetshift/CS/lib/cspngimg.so: File not found
./cspngimg.so: File not found
/home/dedeibel/games/planetshift/CS/cspngimg.so: File not found
Warning: Failed to load `cspngimg\'; reason(s):
/home/dedeibel/games/planetshift/CS/cspngimg.so: File not found
/home/dedeibel/games/planetshift/CS/libcspngimg.so: File not found
/home/dedeibel/games/planetshift/CS/lib/cspngimg.so: File not found
/home/dedeibel/games/planetshift/CS/lib/libcspngimg.so: File not found
./cspngimg.so: File not found
./libcspngimg.so: File not found
/home/dedeibel/games/planetshift/CS/cspngimg.so: File not found
/home/dedeibel/games/planetshift/CS/libcspngimg.so: File not found
crystalspace.system: No iGraphics3D plugin!
Segmentation fault

used the guide http://www16.brinkster.com/acraig/planeshift/buildmb.html

./celtst works fine
Would be nice if someone could help
« Last Edit: July 26, 2003, 04:00:10 pm by dedeibel »

Kluger

  • Hydlaa Resident
  • *
  • Posts: 118
    • View Profile
I got it to work acraig
« Reply #49 on: July 28, 2003, 06:45:28 pm »
Luca asked me to build the CVS of CS, CEL, and PS, and get back to him for my first task.  Unfortunately, I can exactly get that far.  X(

I tried to build from CVS on Red hat 8.0, Red Hat 9, Slackware 9, Mandrake 9.1, SuSE 8.2, Vector 3.2 SOHO, Debian 3.0, Gentoo 1.4, and something else I can\'t remember.  I always got errors during CEL building (failed c++...), and when I checked the forums, none of the solutions worked.

I downloaded the only \"release\" CEL ever made, which was like 1/5 the size of the CVS, and it built fine on Red Hat 8.0, and I got PlaneShift to work without any more build trouble.  I\'ve been building it on other distros, and it\'s working each time I try.

However, /spawn doesn\'t work (seems to drop me too low), I have a memory hole that sucked up 7GB, it\'s way slow, it takes much longer to load, and it only runs at 640x480.  Is anyone else having these problems, or am I special \'cause I use an old CEL?  :-?  The only difference I\'ve seen thus far is a new font used in the chat window.
Read my Say\'s Law paper on my homepage!
I\'m here to test Linux PS and maybe find a friend or even a girlfriend, and jump from rooftop to rooftop.  ;-)
\"Despised and rejected, acquainted with grief, He bore the sins of the world.  He was wounded for our transgressions, bruised for our iniquities.\"

Fingel

  • Traveller
  • *
  • Posts: 20
    • View Profile
(No subject)
« Reply #50 on: August 06, 2003, 07:30:30 am »
In your script when it says:
\"Please note that this project uses jam as build tool.
So you have to type \'jam\' now.\"

Do you really have to type jam? I\'m asking because right after that I got a huge amount of syntax errors and I\'m wondering it its because I didn\'t type jam? I expected the script to just run by itself and I\'d go out for lunch to come back later and see if its done.

Nominar

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Fullsource comiples but does not run.
« Reply #51 on: August 30, 2003, 11:48:51 pm »
Downloaded planeshift-0.2.010FullSourceAndArt.tar.gz

After fixing a problem in bison file (CS/aws/plugins/skinpars.yy), I successfully compiled the archive, After creating and uploading a character the program crashed during connecting. I was running planeshift in a shell window and the following output was generated when running pssetup:

:~/planeshift/my_planeshift/distro/planeshift> ./pssetup
Crystal Space X windows driver
(Using SHM extension plugin)
Using 16 bit TrueColor visual
686 AuthenticAMD CPU detected; FPU (yes) MMX (yes) CMOV (yes)
Using windowed mode 640x480 (internal rendering at 640x480).
Using truecolor mode with 2 bytes per pixel and 5:6:5 RGB mode.
        loading definitions file /this/data/config/psclient-setup.def...
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
parse error
        load successful (0 windows, 0 skins loaded.)

When attempting to start the planeshift client, the following happened:

:~/planeshift/my_planeshift/distro/planeshift> ./psclient
block_size: 8192
Mounting maps: dungeon hydlaa podium temple tower.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
        loading definitions file /planeshift/gui/psgui.def...
aws: parse error
        load successful (0 windows, 0 skins loaded.)
planeshift.application.client: psEngine initialized.
Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Loading RPG Data.....Loading RPG Data.....1OK!
PreloadModels: Preloading complete
psAuthenticationClient::Authenticate(User and password deleted in this post)
planeshift.application.client: PSLoader: step 1: success
planeshift.application.client: PSLoader: step 2: success
GetPSWindow: No PSWindow with the name \'Inventory Window\' was found.
        loading definitions file /planeshift/gui/iconbar.def...
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
        load successful (0 windows, 0 skins loaded.)
Not Found!
        loading definitions file /planeshift/gui/confirm.def...
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
aws: parse error
        load successful (0 windows, 0 skins loaded.)
not found!
./psclient: line 7: 15225 Segmentation fault      ./psclient-bin $@

Program versions:

OS:         SuSE 8.2 (updated)
c++ (GCC):    3.3 20030226 (prerelease) (SuSE Linux)
GNU ld:       version 2.13.90.0.18 20030121 (SuSE Linux)
Jam:          2.5rc3. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.

elscouta

  • Hydlaa Notable
  • *
  • Posts: 897
    • View Profile
Crash in the middle of creation
« Reply #52 on: September 05, 2003, 07:20:18 pm »
I can launch the game but after I have given stats/ability/skills to my character, the client crashes with a segfault:

Here are the logs:

planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: psEngine initialized.
Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Loading RPG Data.....Loading RPG Data.....1OK!
PreloadModels: Preloading complete
        loading definitions file /planeshift/data/custom.def...
        load successful (1 windows, 0 skins loaded.)
Segmentation fault

I have a Mandrake 9.1, NVIDIA
High Loremaster of the Arcane Order.

Null_Void

  • Traveller
  • *
  • Posts: 11
    • View Profile
flex.skn
« Reply #53 on: September 13, 2003, 11:47:38 pm »
Did anyone else have to get a newer flex.skn file in order to get this to build?  Might wanna try that if you\'re having trouble building aws.so, maybe?  Not that I\'m a good one to try to give advice.

Sayonara

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #54 on: September 14, 2003, 06:34:29 pm »
I compiled everything like in this HowTo.
But this client doesn\'t startup. Here\'s what\'s happening:

./psclient -verbose
Warning: Failed to load `psgui\'; reason(s):
DLERROR (psgui): ./psgui.so: undefined symbol: _ZN11psComponent8SetFocusEb
Warning: Failed to load `psgui\'; reason(s):
DLERROR (psgui): ./psgui.so: undefined symbol: _ZN11psComponent8SetFocusEb
WARNING: could not load plugin \'planeshift.gui.dialogmanager\'
block_size: 8192
Mounting maps: dungeon hydlaa tower podium temple.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: No iDialogManager plugin!
planeshift.application.client: Failed to init app!

My System is Gentoo Linux 1.4 (up to date via emerge ;)) with a 2.4.20 Kernel

elscouta

  • Hydlaa Notable
  • *
  • Posts: 897
    • View Profile
I get this too
« Reply #55 on: September 14, 2003, 07:35:43 pm »
Sayonara: I get this problem too. I think that\'s an incompatibility between your CS build and your PS build. To be sure i use the build.sh script from acraig and everything works fine. (hmm... in fact i had another problem but i\'m sure it isn\'t related)

PS: A gentoo system... Whah...
High Loremaster of the Arcane Order.

Sayonara

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #56 on: September 14, 2003, 10:02:31 pm »
I ran the build.sh, and what should I say....?
It works fine!
Everything is running fine....but honestly, the performance with opengl is very poor! Is that normal.
My 3D on my system is working very fine (running Q3, RTCW, UT2k3 and NWN without any issues), so I guess this shouldn\'t be a problem of my configuration.
However,..I love Linux, I love Gentoo, and I\'m going to love this game...(when it\'s done :D)

elscouta

  • Hydlaa Notable
  • *
  • Posts: 897
    • View Profile
lag
« Reply #57 on: September 14, 2003, 10:15:02 pm »
lag is normal.

The next release will probably fix this (i hope)

I love Linux too! Never tried Gentoo but I have heard only good things about it...
High Loremaster of the Arcane Order.

lotheac

  • Guest
(No subject)
« Reply #58 on: September 26, 2003, 07:29:21 am »
I really didn\'t figure what or where is the .bashrc file that is referred to, so I just did export.

[lautir@gneissi lautir]$ export CRYSTAL=$HOME/molblue/CS
[lautir@gneissi lautir]$ export CEL=$HOME/molblue/cel/
[lautir@gneissi lautir]$ export CSCONFPATH=$HOME/molblue/cel/
[lautir@gneissi lautir]$ cd $HOME/molblue/planeshift
[lautir@gneissi planeshift]$ ./psclient
./psclient: line 52: src/client/psclient: Tiedostoa tai hakemistoa ei ole
[ Meaning, there\'s no such file or directory. Finnish language. ]

..Redhat 9. Any clue of what\'s wrong?

Thot

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #59 on: October 18, 2003, 04:05:03 pm »
Hi,

I\'ve got problem to compile Planeshift. I\'m using Mandrake 9.2, and I\'ve retrieved the sources by CVS.
I\'ve managed to compile CS and CEL, but when using autogen.sh, I get the following error:

/usr/bin/m4: configure.in: No such file or directory
autoconf
autoconf: configure.in: No such file or directory

What may I do to correct this ?