Author Topic: Problems running psclient on linux  (Read 1118 times)

eno

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Problems running psclient on linux
« on: August 12, 2003, 09:11:04 pm »
**EDIT: This problem has been solved... thanks to those who helped... but I seem to have another problem with OpenGL now. Scroll down... :)

-----------

Hello, I have built Planeshift using the tutorial acraig posted:

http://www16.brinkster.com/acraig/planeshift/buildmb.html

I first tried his build.sh script, and let it run over night. Not much luck trying to run it, so I deleted everything and started from scratch. I only did it manually this time.

I have the following in ~/.bashrc

Code: [Select]

export CSCONFPATH=$HOME/molblue/cel/
export CRYSTAL=$HOME/molblue/CS
export CEL=$HOME/molblue/cel/


Running this gives me...
Code: [Select]

$ ./psclient -verbose
Warning: Failed to load `sndogg\'; reason(s):
/home/michael/molblue/CS/sndogg.so: File not found
/home/michael/molblue/CS/lib/sndogg.so: File not found
./sndogg.so: File not found
/home/michael/molblue/cel//sndogg.so: File not found
/home/michael/molblue/cel//lib/sndogg.so: File not found
/home/michael/molblue/planeshift/sndogg.so: File not found
Warning: Failed to load `sndogg\'; reason(s):
/home/michael/molblue/CS/sndogg.so: File not found
/home/michael/molblue/CS/libsndogg.so: File not found
/home/michael/molblue/CS/lib/sndogg.so: File not found
/home/michael/molblue/CS/lib/libsndogg.so: File not found
./sndogg.so: File not found
./libsndogg.so: File not found
/home/michael/molblue/cel//sndogg.so: File not found
/home/michael/molblue/cel//libsndogg.so: File not found
/home/michael/molblue/cel//lib/sndogg.so: File not found
/home/michael/molblue/cel//lib/libsndogg.so: File not found
/home/michael/molblue/planeshift/sndogg.so: File not found
/home/michael/molblue/planeshift/libsndogg.so: File not found
WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
Warning: Failed to load `aws\'; reason(s):
/home/michael/molblue/CS/aws.so: File not found
/home/michael/molblue/CS/lib/aws.so: File not found
./aws.so: File not found
/home/michael/molblue/cel//aws.so: File not found
/home/michael/molblue/cel//lib/aws.so: File not found
/home/michael/molblue/planeshift/aws.so: File not found
Warning: Failed to load `aws\'; reason(s):
/home/michael/molblue/CS/aws.so: File not found
/home/michael/molblue/CS/libaws.so: File not found
/home/michael/molblue/CS/lib/aws.so: File not found
/home/michael/molblue/CS/lib/libaws.so: File not found
./aws.so: File not found
./libaws.so: File not found
/home/michael/molblue/cel//aws.so: File not found
/home/michael/molblue/cel//libaws.so: File not found
/home/michael/molblue/cel//lib/aws.so: File not found
/home/michael/molblue/cel//lib/libaws.so: File not found
/home/michael/molblue/planeshift/aws.so: File not found
/home/michael/molblue/planeshift/libaws.so: File not found
WARNING: could not load plugin \'crystalspace.window.alternatemanager\'
Detecting maximum texture size fails! 256x256 is assumed.
Edit Video.OpenGL.Caps.MaxTextureSize if you want to change.
block_size: 8192
Mounting maps: dungeon podium hydlaa 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]
Couldn\'t find aws plugin!
planeshift.application.client: Could not set up the AWS window manager!
planeshift.application.client: Failed to init app!


I have tried running \'jam clean\' and \'jam\' in all of the directorys again but it seems not of those libraries are getting built. The window does pop up for an instant and disapears again.

I am using GCC 3.2.3 under Debian Sid... Oh, and I also run the updater, it didn\'t seem to do much except downloading a whole bunch of windows dll\'s. Someone please help me... :)
« Last Edit: August 15, 2003, 11:25:51 pm by eno »

eno

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #1 on: August 12, 2003, 09:22:22 pm »
Okay, I _think_ I have solved thw aws.so and sndogg.so problems. I seem to have a crystalspace installation in /usr/lib/crystalspace, so I tried

 ln -s /usr/lib/crystalspace/lib/sndogg.so sndogg.so
 ln -s /usr/lib/crystalspace/lib/aws.so aws.so

from inside the planeshift directory. The good news is I don\'t get errors about those two files anymore. The bad news is, it still doesn\'t work :)

Here\'s what I get now

Code: [Select]

Detecting maximum texture size fails! 256x256 is assumed.
Edit Video.OpenGL.Caps.MaxTextureSize if you want to change.
block_size: 8192
Mounting maps: dungeon podium hydlaa 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]
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.
Segmentation fault

eno

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #2 on: August 13, 2003, 03:59:05 am »
Okay... I don\'t think I\'m supposed to link those those other libs. So I deleted the links.
Also, I found out that it wasn\'t building aws.so at all.

Code: [Select]

~/molblue/CS$ jam
...patience...
...patience...
...found 2952 target(s)...
...updating 3 target(s)...
Flex plugins/aws/skinlex.cpp
flex: fatal internal error, bad line in skeleton file
 
    flex -S./mk/support/flex.skl -t  plugins/aws/skinlex.ll > plugins/aws/skinlex.cpp
   
...failed Flex plugins/aws/skinlex.cpp ...
...removing plugins/aws/skinlex.cpp
...skipped skinlex.o for lack of skinlex.cpp...
...skipped aws.so for lack of skinlex.o...
...failed updating 1 target(s)...
...skipped 2 target(s)...


So it seems there is an error in that flex file? :/

Please... someone help me :(

Vengeance

  • Veteran
  • *
  • Posts: 1452
    • View Profile
(No subject)
« Reply #3 on: August 13, 2003, 08:08:25 am »
Are you in debian and if so, why didn\'t you follow his instructions for debian users.

Atanor

  • Hydlaa Resident
  • *
  • Posts: 181
    • View Profile
(No subject)
« Reply #4 on: August 13, 2003, 12:46:57 pm »
Yeah, this error is typical of Debian systems...

eno

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #5 on: August 13, 2003, 07:46:34 pm »
Ahh, I redid the whole thing and installed the versions of bison and flex it said to use in my home directory, and it works!

I had to link sndogg.so from my /usr/lib/crystalspace/lib directory to the CS I have installed in my home directory to get sound. Also, using OpenGL rendering gives me a black screen, with a couple of white boxes... although I can hear sound in the background. I have an Nvidia Geforce Ti 4400+ 128mb, using the current drivers.

Thanks for pointing out my mistake :)

EDIT: Okay, when trying to use OpenGL it says \"Detecting maximum texture size fails! 256x256 is assumed Edit Video.OpenGL.Caps.MaxTextureSize if you want to change\", on a yellow bar accross the window. The rest of the screen is black except for 3 white rectangles in about the middle of the screen.

The game is pretty unplayable using \"Software\"... can someone help me solve this new problem?
« Last Edit: August 13, 2003, 07:53:08 pm by eno »

eno

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #6 on: August 15, 2003, 11:19:08 pm »
Hmm. So has anyone had any luck getting OpenGL to work with the Nvidia drivers on Linux? Or is it just me?

Someone must have been in the same situation as me... someone please help.