Author Topic: Planeshift CVS compilation can't find variables  (Read 1122 times)

alienjon

  • Traveller
  • *
  • Posts: 11
    • View Profile
Planeshift CVS compilation can't find variables
« on: April 07, 2006, 12:10:59 am »
My computer runs Gentoo but there are problems with the current ebuild for planeshift so I decided to try and install it via CVS. I have installed cal3d, crystalspace and CEL through portage (so they are system-wide) so I just jumped to the planeshift portion of the CVS howto, downloaded the stuff and got to \'jam -aq\' and got the following error:

http://cyberneticpitstop.zapto.org/planeshifterror.html

(I wanted to post the full error, which was a bit long for the forum, so I put it on my website for easier viewing - hence the link)

I found a similar post here (but its rather old): http://planeshift.oodlz.com/wbboard/thread.php?threadid=8879&boardid=23&sid=69250ae7cd449d7e31008c33c44590fd

This one is old, but it was a very similar problem. Unfortunately the resolution for this problem has already been taken care of in the code, so the problem must be something different. To me it sounds like it just can\'t find one of the libraries, so I\'m re-installing them all now and I\'ll see if that helps at all. Other than that, any ideas?

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #1 on: April 07, 2006, 12:53:36 am »
Is there a way to get the date of the CS install?  It changes fairly regularly and we follow it with changes to PlaneShift.  So my initial guess would be that you are using a CrystalSpace version that is too old.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

alienjon

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #2 on: April 07, 2006, 02:32:14 am »
It might be. Again, I am using the stuff in portage.

This is the package name: \"crystalspace-0.99_pre20050823\" I\'ll give that a shot via CVS as well, now that you\'ve mentioned it.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #3 on: April 07, 2006, 03:02:55 am »
2005-08-23 is way too old.

Quote
From the build guides on CVS
NOTES on Dates:
If you want to use PS client to connect to Laanx you need its code from the 6th of March, CS from the
17th of February and CEL, instead, from the 16th of February.

If you want to use latest PS remember that it is not compatible with Laanx server.
Use PS HEAD and CS/CEL from the 15th of March.

::  PlaneShift Team Programmer  ::

alienjon

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #4 on: April 07, 2006, 10:05:42 pm »
Ok, I found the patch for the ebuild (I think that the actual version is newer, but the name of the ebuild never changed, because everything seemed to compile just fine)

Now when I get to running \'updater\' it seems to have a problem finding the lynx server:

\"Trying mirror Laanx...\" {preceeded a ridiculous repetition of the following: \"http://psteam:p1ane@laanx.fragnetics.com/updater_hidden/ver.dat (0)\"}

I checked and I am running 2006-02-26, I know that the newest version is supposed to have problems but this is a few versions back, or so I think. I figured I\'d instead upgrade to 2006-03-06 and see what happens.

At this point everything seems to have compiled just fine and I was successfully able to update (with the --auto option) But I noticed that I had the following warnings:

-----------------
SCF WARNING: 1 unreleased instances of class crystalspace.documentsystem.tinyxml!
SCF WARNING: 1 unreleased instances of class crystalspace.kernel.vfs!
-----------------

And when I try to start planeshift (./pssetup - and then press the \'launch\' button) the loading screen starts and then it crashes. I get the following error:

---------------------
alienjon:~/Games/development/planeshift #DEBUG: Sound System: Software Renderer Initializing..
DEBUG: Sound System: Configured for driver [crystalspace.sndsys.software.driver.oss]
Sound System: OSS driver for software sound renderer initialized.

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (direct renderer)
  Visual ID: 0x00000029, 24bit TrueColor
  R8:G8:B8:A8,
  level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
  Applied: Disable VBO for GNU/Linux ATI drivers
  Applied: Broken ATI point sprites
  Applied: ATI: Can\'t handle compressed formats for RECT textures
  Applied: ATI: RECT texture extension support apparently sucks
  Applied: ATI: Use AFP for some 2D drawing

crystalspace.canvas.openglcommon:
  OpenGL renderer: RADEON X800 PRO Generic (vendor: ATI Technologies Inc.)
  version 2.0.5695 (8.23.7)
  Using windowed mode at resolution 1024x768.
  Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
  Multisample: disabled

crystalspace.sndsys.renderer.software:
  Sound System: Open()
  Sound System: Initializing driver with Freq=44100 Channels=2 Bits=16

crystalspace.SndSys.driver.software.oss:
  Sound System: OSS Driver: Open()

crystalspace.sndsys.renderer.software:
  Sound System:  Volume=1.000000

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
All LOGS are off.
Mounting skin: /this/art/skins/cvs.zip

{there\'s a bunch of stuff in the middle here, but its all \'such and such is being skipped because it is already loaded, if this is important then let me know and I\'ll post this as well, it\'s just long so I would like to keep it out if possible}

CreateTexture
:
  Could not open image: >/paws/skin/backdrop/charborder.png<

SetMaskingImage
:
  Could not locate masking image charborder for widget PaperDollView
--------------------------

Whats up with this?

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #5 on: April 08, 2006, 02:27:23 am »
You\'re not doing anything the normal way, so I haven\'t a clue.  ;)

  • In the setup, select a skin.  It\'s still set on the CVS one there, and you have the real ones if you used the updater.
  • Make sure you have the GUI files in data/gui from the date of the build, and not the updater.  (build can be newer; you need the XML files that match up with the program)
  • Your sentance was ambiguous; are you running 2006-03-06?  That is the date you need.
  • I know nothing about ebuilds, and frankly you\'re making things harder for you.  If you want to build, I would reccomend just getting the source off CVS.  (including the Cal3D, CS, CEL, and possibly even cURL sources too)  If you don\'t want to build, you should grab Xordan\'s package.
« Last Edit: April 08, 2006, 02:28:49 am by DaveG »

::  PlaneShift Team Programmer  ::

alienjon

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #6 on: April 08, 2006, 10:11:18 am »
No, you\'re right. I had a problem with the patch for cal3d so I just used the ebuild for it (which the cvs crystalspace, cel and planeshift were not happy with).

Realizing that this meathod wasn\'t working, I unmerged the ebuild and took another look at the patch and figured out what I was doing wrong with it. Now, with the correct version of cal3d, I went and rebuild the rest of everything and updated. pssetup runs fine, as does updater, but when I launch the game it crashes. I tried it twice (the first from pssetup and the second from psclient) and the first time the terminal window that I entered the command in didn\'t even show that the program had stopped. A second running, however, gave a segmentation fault (nothing other than that, just a segmentation fault):

----------------
planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
  psEngine initialized.
Using fontsize 13 for resolution 800x600
Segmentation fault
---------------