Author Topic: psc psclient and pss pssetup --> why does one work and not the other?  (Read 1013 times)

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
the last few times I've compiled from source i've had an odd problem  I'm getting a segmentation fault every time I run ./updater ./psssetup  or ./psclient.  Its instant - doesn't even try to load.  If I try to load ./pss for instance though it runs great. No problem, not segmentation fault.  If I run ./psc it looks for some libraries which I don't have installed anywhere on the system and isn't  available in the repositories.  I got them off nvidias website - libcg.so and libcggl.so  - once those were in the main PS dir, the ./psc worked too.  ./up asks for a ssl file I just dind't bother trying to find it yet.  How come this is? In the past it was never necessary to have these files, or to run ./psc or ./pss  <--- what is going on and what am I missing?

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
When you ran the installer it installed libs in the planeshift/libs folder which ./psclient etc. look for and use if there. This is to maintain compatibility over all the different kinds of distros. ./psc etc. are the actual programs and just look in /lib /usr/lib etc. for the libs.

I do ask the question as to why you even have ./pss ./psc ./up as the binaries and the ./psclient  ./pssetup ./updater scripts when you're compiling from source... I hope you're not playing mix and match with the binary install  ::|
« Last Edit: May 10, 2006, 02:41:22 pm by Xordan »

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
No different directory, - those files were created during the compile.  I'm not sure why... that is why I was asking... because its happened before.

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
pss, psc, up are not created by the compile. You should either produce psclient/pssetup/updater files or psclient_static/pssetup_static/updater_static files. I recommend you delete all of those files and compile again.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
You probably compiled, ran the updater, and it downloaded those binaries.  Goto the updater's options window and de-select "Update Programs" before you update your build.  ;)

::  PlaneShift Team Programmer  ::

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
The updater was run... in --auto mode.  I've never had good luck with the graphical version.  What I'm wondering is if you can tell it not to update programs in the updaterconfig.xml file.  I changed it so that only art should be downloaded I thought... I commented out the data module, docs module, and something else module, leaving only the art module left... I thought that would do it.  How am I supposed to actually do it?

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
There's no way to tell it not to update the binary files with  --auto as there's no option in updaterconfig.xml for that. Gotta use the gui.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Not true, seeing as all the GUI really does is edit updaterconfig.xml and load up the new settings.  ;)  (with the exception of the "skip check" option, which I made one session only)  The programs are turned on/off via the <autoinclude_os>1</autoinclude_os> line.  Set that to 0 to disable OS-specific files, namely executables and libraries.
« Last Edit: May 11, 2006, 10:38:44 pm by DaveG »

::  PlaneShift Team Programmer  ::

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
My bad :P

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
ph33r my options window creating powrz...  :P

::  PlaneShift Team Programmer  ::