Author Topic: Help w/ Planeshift on Linux  (Read 690 times)

-Tsumeone-

  • Guest
Help w/ Planeshift on Linux
« on: June 16, 2004, 09:37:03 pm »
I followed the instructions from:
http://www16.brinkster.com/acraig/planeshift/buildmb.html
I am on Debian Testing (Sarge), Kernel 2.6.5-1-k7

I followed the instructions to the letter since I\'m new to linux.  I installed the packages that it told me to for flex and bison prior to me doing this.  Anyway, here is my terminal after doing ./psclient

Code: [Select]
tsumeone@WOLFK-DESKTOP:~/molblue/planeshift$ ./psclient
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
Warning: Failed to load `aws\'; use \'-verbose\' argument for details.
Warning: Failed to load `aws\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.window.alternatemanager\'
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]
Couldn\'t find aws plugin!
planeshift.application.client: Could not set up the AWS window manager!
planeshift.application.client: Failed to init app!
tsumeone@WOLFK-DESKTOP:~/molblue/planeshift$


What did I do wrong?

Edit: I just noticed the other post on this problem... \'jam aws\' shows this for me, which looks like it didn\'t work... hence the 2 failed line.

Code: [Select]
tsumeone@WOLFK-DESKTOP:~/molblue/CS$ jam aws
...found 937 target(s)...
...updating 5 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...
Bison plugins/aws/skinpars.cpp
plugins/aws/skinpars.yy:61.8-12: type redeclaration for window_item
 
    bison -d -p aws -o plugins/aws/skinpars.cpp plugins/aws/skinpars.yy
   
...failed Bison plugins/aws/skinpars.cpp ...
...skipped skinpars.o for lack of skinpars.cpp...
...skipped aws.so for lack of skinlex.o...
...failed updating 2 target(s)...
...skipped 3 target(s)...
tsumeone@WOLFK-DESKTOP:~/molblue/CS$


Any ideas?  Remeber- I am a linux newbie (but not a total idiot) so try to keep it simple :)  Thanx!

Edit2: Here is the thing when I run it with -verbose:
Code: [Select]
tsumeone@WOLFK-DESKTOP:~/molblue/planeshift$ ./psclient -verbose
Warning: Failed to load `sndogg\'; reason(s):
/home/tsumeone/molblue/CS/sndogg.so: File not found
/home/tsumeone/molblue/CS/lib/sndogg.so: File not found
./sndogg.so: File not found
/home/tsumeone/molblue/cel//sndogg.so: File not found
/home/tsumeone/molblue/cel//lib/sndogg.so: File not found
/home/tsumeone/molblue/planeshift/sndogg.so: File not found
Warning: Failed to load `sndogg\'; reason(s):
/home/tsumeone/molblue/CS/sndogg.so: File not found
/home/tsumeone/molblue/CS/libsndogg.so: File not found
/home/tsumeone/molblue/CS/lib/sndogg.so: File not found
/home/tsumeone/molblue/CS/lib/libsndogg.so: File not found
./sndogg.so: File not found
./libsndogg.so: File not found
/home/tsumeone/molblue/cel//sndogg.so: File not found
/home/tsumeone/molblue/cel//libsndogg.so: File not found
/home/tsumeone/molblue/cel//lib/sndogg.so: File not found
/home/tsumeone/molblue/cel//lib/libsndogg.so: File not found
/home/tsumeone/molblue/planeshift/sndogg.so: File not found
/home/tsumeone/molblue/planeshift/libsndogg.so: File not found
WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
Warning: Failed to load `aws\'; reason(s):
/home/tsumeone/molblue/CS/aws.so: File not found
/home/tsumeone/molblue/CS/lib/aws.so: File not found
./aws.so: File not found
/home/tsumeone/molblue/cel//aws.so: File not found
/home/tsumeone/molblue/cel//lib/aws.so: File not found
/home/tsumeone/molblue/planeshift/aws.so: File not found
Warning: Failed to load `aws\'; reason(s):
/home/tsumeone/molblue/CS/aws.so: File not found
/home/tsumeone/molblue/CS/libaws.so: File not found
/home/tsumeone/molblue/CS/lib/aws.so: File not found
/home/tsumeone/molblue/CS/lib/libaws.so: File not found
./aws.so: File not found
./libaws.so: File not found
/home/tsumeone/molblue/cel//aws.so: File not found
/home/tsumeone/molblue/cel//libaws.so: File not found
/home/tsumeone/molblue/cel//lib/aws.so: File not found
/home/tsumeone/molblue/cel//lib/libaws.so: File not found
/home/tsumeone/molblue/planeshift/aws.so: File not found
/home/tsumeone/molblue/planeshift/libaws.so: File not found
WARNING: could not load plugin \'crystalspace.window.alternatemanager\'
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]
Couldn\'t find aws plugin!
planeshift.application.client: Could not set up the AWS window manager!
planeshift.application.client: Failed to init app!
tsumeone@WOLFK-DESKTOP:~/molblue/planeshift$
« Last Edit: June 16, 2004, 10:03:08 pm by -Tsumeone- »

elscouta

  • Hydlaa Notable
  • *
  • Posts: 897
    • View Profile
(No subject)
« Reply #1 on: June 17, 2004, 09:08:03 am »
I know there is a simple fix but i don\'t remember it. You can try my not-really-simple one if you want.

Change dir to plugins/aws/
cd plugins/aws/

First, download the old version of skinpars.cpp:
cvs -z3 update -r1.5 skinpars.cpp

Then, update your Makefile:
create a file with this inside:
Quote
diff -u -r1.18 aws.mak
--- aws.mak     14 Feb 2003 17:30:47 -0000      1.18
+++ aws.mak     17 Jun 2004 14:03:42 -0000
@@ -69,8 +69,6 @@
                         plugins/aws/skinpars.cpp
        flex -L -Splugins/aws/flex.skl -t plugins/aws/skinlex.ll > plugins/aws/skinlex.cpp
 
-plugins/aws/skinpars.cpp: plugins/aws/skinpars.yy
-       bison --no-lines -d -p aws -o $@ $(<)
 
 plugins/aws/skinpars.hpp: plugins/aws/skinpars.cpp
        @if [ -f \"plugins/aws/skinpars.cpp.hpp\" ]; then \\


Then run:
patch -p0 -N < the_name_of_the_file_you_created.

Or, simpler solution, you wait for someone else to help you.

[edit] Lol, bb code found smileys in the Makefile.
« Last Edit: June 17, 2004, 09:10:38 am by elscouta »
High Loremaster of the Arcane Order.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #2 on: June 17, 2004, 09:42:13 am »
Quote

plugins/aws/skinpars.yy:61.8-12: type redeclaration for window_item


It\'s simple to fix this. Open the file with your favourite editor and locate the line containing \"window_item\" with the search  feature. If  you read the line you will see that \"window_item\" is there twice. Just delete the one at the end of the line and aws will compile.


Back to Planeshift again \\o/

-Tsumeone-

  • Guest
(No subject)
« Reply #3 on: June 17, 2004, 05:27:31 pm »
Edit:  The game looks like it loads, haven\'t actually tried connecting or playing yet.  It is still giving failed to load sndogg, but I don\'t know if that\'s important.

Code: [Select]
tsumeone@WOLFK-DESKTOP:~/molblue/planeshift$ ./psclient
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
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: psEngine initialized.
Warning: Failed to load `sndmod\'; use \'-verbose\' argument for details.
Warning: Failed to load `sndmod\'; use \'-verbose\' argument for details.
crystalspace.pluginmgr.loadplugin: WARNING: could not load plugin \'crystalspace.sound.loader.mod\'
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
Warning: Failed to load `sndogg\'; use \'-verbose\' argument for details.
crystalspace.pluginmgr.loadplugin: WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
LoadSound: Cannot create sound data from file \'/planeshift/art/music/gui/jingle_splash.ogg\'
Couldn\'t create Resource \'splash\'
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!
LoadSound: Cannot create sound data from file \'/planeshift/art/music/maintheme1.0.ogg\'
Couldn\'t create Resource \'mainmenu\'
ChangeBGSong: Sound \'mainmenu\' not found! PreloadModels: Preloading complete
Total bytes sent out was 0.
Total bytes received was 0.
crystalspace.graphics3d.opengl: Peak GL texture cache size: 6.81 MB


Anything wrong with that?  Just curious.
« Last Edit: June 17, 2004, 05:30:52 pm by -Tsumeone- »

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #4 on: June 17, 2004, 06:33:52 pm »
You might not get any sound - perhaps you\'re missing the desired version of libogg or libvorbis or something like that.
Quidquid latine dictum sit, altum sonatur.