PlaneShift

Support => Linux Specific Issues => Topic started by: Induane on May 10, 2006, 04:31:08 am

Title: psc psclient and pss pssetup --> why does one work and not the other?
Post by: Induane on May 10, 2006, 04:31:08 am
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?
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: Xordan on May 10, 2006, 02:39:22 pm
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  ::|
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: Induane on May 10, 2006, 11:38:12 pm
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.
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: Xordan on May 11, 2006, 12:50:16 am
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.
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: DaveG on May 11, 2006, 05:25:43 am
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.  ;)
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: Induane on May 11, 2006, 05:55:37 am
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?
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: Xordan on May 11, 2006, 01:56:00 pm
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.
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: DaveG on May 11, 2006, 10:18:07 pm
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.
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: Xordan on May 12, 2006, 12:27:59 am
My bad :P
Title: Re: psc psclient and pss pssetup --> why does one work and not the other?
Post by: DaveG on May 12, 2006, 12:35:30 am
ph33r my options window creating powrz...  :P