Author Topic: Installing on linux problem  (Read 1555 times)

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
Installing on linux problem
« on: March 23, 2004, 05:25:56 am »
I have SOT Server Linux (similar to Redhat).  I have downloaded the linux client, unzipped and unpacked it, and i have tried to run ./pssetup and get the following errors:

[root@192 planeshift]# ./pssetup
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
Couldn\'t find scf.cfg in \'/root/molblue/CS\' (defined by CRYSTAL var).
WARNING: could not load plugin \'crystalspace.kernel.vfs\'
Couldn\'t load vfs plugin!
WARNING: could not load plugin \'crystalspace.kernel.vfs\'
WARNING: could not load plugin \'crystalspace.graphics3d.software\'
WARNING: could not load plugin \'crystalspace.font.server.default\'
WARNING: could not load plugin \'crystalspace.graphic.image.io.multiplex\'
WARNING: could not load plugin \'crystalspace.window.alternatemanager\'
Couldn\'t load iGraphics3D plugin!
Error initializing system!


again, all i have done is:

gunzip planeshift.tar.gz
tar -xvf planeshift.tar
./pssetup

Thank you

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
Partial Fix - New problem (Failed to load xwin)
« Reply #1 on: March 23, 2004, 05:31:20 am »
After changing and fixing the export problems I get this:

[root@192 planeshift]# export CRYSTAL=$HOME/ross/Packages/planeshift
[root@192 planeshift]# export CEL=$HOME/ross/Packages/planeshift
[root@192 planeshift]# ./pssetup
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
Couldn\'t find scf.cfg in \'/root/ross/Packages/planeshift\' (defined by CRYSTAL var).
WARNING: could not load plugin \'crystalspace.kernel.vfs\'
Couldn\'t load vfs plugin!
WARNING: could not load plugin \'crystalspace.kernel.vfs\'
WARNING: could not load plugin \'crystalspace.graphics3d.software\'
WARNING: could not load plugin \'crystalspace.font.server.default\'
WARNING: could not load plugin \'crystalspace.graphic.image.io.multiplex\'
WARNING: could not load plugin \'crystalspace.window.alternatemanager\'
Couldn\'t load iGraphics3D plugin!
Error initializing system!
[root@192 planeshift]# export CRYSTAL=/home/ross/Packages/planeshift
[root@192 planeshift]# export CEL=/home/ross/Packages/planeshift
[root@192 planeshift]# ./pssetup
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
Warning: Failed to load `xwin\'; use

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #2 on: March 23, 2004, 05:34:05 am »
Sorry.  I pasted the wrong errors in that last post.  This is what i have now:

[root@192 planeshift]# export CRYSTAL=/home/ross/Packages/planeshift
[root@192 planeshift]# export CEL=/home/ross/Packages/planeshift
[root@192 planeshift]# ./pssetup
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
Warning: Failed to load `xwin\'; use \'-verbose\' argument for details.
Warning: Failed to load `xwin\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.window.x\'
WARNING: failed to initialize plugin \'crystalspace.graphics2d.x2d\'
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphic.image.io.png\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
Couldn\'t load iGraphics2D plugin!
Error initializing system!
[root@192 planeshift]#

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #3 on: March 23, 2004, 01:22:26 pm »
I\'ve gotten the newest version but now when i try to build i get:

[root@192 planeshift]# export CRYSTAL=/home/ross/Packages/planeshift
[root@192 planeshift]# export CEL=/home/ross/Packages/planeshift
[root@192 planeshift]# ./pssetup
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
./pssetup: /usr/lib/libstdc++.so.5: no version information available (required by ./pssetup)
Warning: Failed to load `xwin\'; use \'-verbose\' argument for details.
Warning: Failed to load `xwin\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.window.x\'
WARNING: failed to initialize plugin \'crystalspace.graphics2d.x2d\'
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
Warning: Failed to load `cspngimg\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphic.image.io.png\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
Couldn\'t load iGraphics2D plugin!
Error initializing system!
[root@192 planeshift]#

I tried going to the http://www.perforce.com/jam/jam.html site and download the commandline one but i get an un-openable executable when i finish the download called p4 and yes i downloaded the right linux file.

How do i get jam?

Thanks

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #4 on: March 23, 2004, 01:45:55 pm »
You forgot to  download and  compile Crystal Space and CEL,  they are needed by the Planeshift client ;)
BTW, It is recommended  to grab the source from CVS,  to do that follow these instructions: Building from  CVS in Linux
But remember to change the -rMB010 tag  to -rMB in the \"Build Planeshift\"  section, otherwise the /spawn command won\'t work.

Edit: if you want the modded  client by  aineko with enhanced features, have a look at this:

Quote
Originally posted by Karosh_Steinkatz
For those tux worhippers among us who dont want to get the source from CVS and apply the patches because they are lazy I made packages of the sources and the binaries.
For the sources: Just change to the folder you extracted the files, run ./autogen.sh, ./configure and jam. If jam complains about 1 unbuild target, don\'t worry,  it\'s just the server which you will  most propably not need. I wonder why it does  never get built on my machine ?(
For the binaries: extract the files to a  folder of your choice and copy the /art folder over. Adjust your exports and run ./pssetup then ./psclient and voila: have fun :)  

My server (slow):
psmodsrc-linux.tar.bz2 (1.2MB)
psmodbin-linux.tar.bz2 (1.6MB)

Tripod mirror:
psmodsrc-linux.tar.bz2 (1.2MB)
psmodbin-linux.tar.bz2 (1.6MB)

Edit: updated links with binary packages, now  you   don\'t need to compile PS from source :)
Note: the binaries were compiled with gcc 3.3.3 on a  athlon xp, so it could be that they cause trouble on your system. If unsure grab the source packages

Update: removed  the -withart packages and renamed   the -noart packages to -linux
« Last Edit: March 23, 2004, 01:53:13 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
lost
« Reply #5 on: March 24, 2004, 02:31:20 am »
I\'m fairly new to linux and i\'ve never done any of this kind of stuff before.  I\'ve been downloading, installing, compiling, changing, cvsing, restarting, etc for the last 24 hrs.  I followed the instructions on how to use the cvs.  For a while it seemed as though it was working.  Then I tried to get the planeshift from the cvs and test teh cel and crystal and now everythings screwed up.  Now i think the only way to straighten this out is to delete everything i\'ve done and all the files and reinstall it.  Isnt there a simple way to do this?

Thardin

  • Hydlaa Resident
  • *
  • Posts: 78
    • View Profile
(No subject)
« Reply #6 on: March 24, 2004, 11:08:15 am »
There is. If you never done this before, just download the \'official\' MB release (linux binaries) from the planeshift site.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #7 on: March 24, 2004, 12:57:54 pm »
*throws with tarballs*

Ok, here is the solution  for  your  problems. Grab the following  files:

Crystal Space binaries
CEL binaries
Modded PS client  binaries

Now extract the Crystal Space and CEL binaries to.. let\'s say... /opt, resulting in the /opt/CS and /opt/cel folders. Now make a /opt/planeshift folder and extract the contents of the modded PS client binaries there. Then  go to your  home folder and  add the  following  lines to your .bashrc:

export CRYSTAL=/opt/CS
export CEL=/opt/cel/
export CSCONFPATH=/opt/cel/

if you don\'t have the .bashrc file add the lines to /etc/profile or go  to the /bin folder under your home  folder and create a file called psclient there:

export CRYSTAL=/opt/CS
export CEL=/opt/cel/
export CSCONFPATH=/opt/cel/
cd /opt/planeshift
./psclient

If needed  you  can create a  script for pssetup  aswell:

export CRYSTAL=/opt/CS
export CEL=/opt/cel/
export CSCONFPATH=/opt/cel/
cd /opt/planeshift
./pssetup

Edit: Oops,  forgot  to mention that you have to  copy the /art folder over from  your previous PS installation to /opt/planeshift  in this case :)
« Last Edit: March 24, 2004, 01:43:25 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
problems with another version
« Reply #8 on: March 25, 2004, 01:53:37 am »
I downloaded the one without the source and when i try to run the client i get the following errors:

[root@192 planeshift]# ./psclient
./psclient-bin: /usr/lib/libstdc++.so.5: no version information available (required by ./psclient-bin)
./psclient-bin: /usr/lib/libstdc++.so.5: no version information available (required by ./psclient-bin)
./psclient-bin: /lib/libpthread.so.0: version `GLIBC_2.3.2\' not found (required by ./psclient-bin)
[root@192 planeshift]#

thank you.  if i can get this client thing working anyone can.  i\'ve never met another programmer with more computer problems than myself.

thanks for your patience

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
i've downloaded and configured glibc-2.3.2
« Reply #9 on: March 25, 2004, 02:40:57 am »
i\'ve downloaded and configured glibc-2.3.2 and the libstdc++.so.5 file is in the right directory (/usr/lib)

What could be wrong?

Thanks again

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
updater problems
« Reply #10 on: March 25, 2004, 03:22:31 am »
[root@192 planeshift]# ./updater
./updater: error while loading shared libraries: libssl.so.0.9.6: cannot open shared object file: No such file or directory
[root@192 planeshift]#

is this part of the same problem as the psclient not working?

thanks

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #11 on: March 25, 2004, 11:10:08 am »
Very good. Seems like you got the things going. The last error is  easy to  resolve.  The updater needs the libssl  and libcrypto libraries. You can get them from http://www.openssl.org, just download the latest source (0.9.7d) tarball and extract it. Do a ./configure, make and  make install as usual.  Now go to /usr/lib and create 2 symlinks:

ln -s  libssl.so.0.9.7 libssl.so.0.9.6
ln -s  ibcrypto.so.0.9.7  libcrypto.so.0.9.6

Now  you can run the  updater.  But to be  honest: You  don\'t need to do this, since the updater doesn\'t work in linux (it downloads the windows files)
« Last Edit: March 25, 2004, 11:12:42 am by Karosh_Steinkatz »


Back to Planeshift again \\o/

zabeal

  • Hydlaa Citizen
  • *
  • Posts: 369
    • View Profile
(No subject)
« Reply #12 on: March 25, 2004, 08:21:50 pm »
Actually, the updater would get things like art and data xml files, but since you can just get them from the cvs... there\'s no need for it now. You will want those libs tho, a lot of common apps use them, and eventually so will CB.

Lux perpetua luceat eis

munchies

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #13 on: March 25, 2004, 10:56:14 pm »
root@192 planeshift]# ./psclient
./psclient-bin: /usr/lib/libstdc++.so.5: no version information available (required by ./psclient-bin)
./psclient-bin: /usr/lib/libstdc++.so.5: no version information available (required by ./psclient-bin)
./psclient-bin: /lib/libpthread.so.0: version `GLIBC_2.3.2\' not found (required by ./psclient-bin)
[root@192 planeshift]#
 


i\'ve installed the glibc properly.  why isnt it working?

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #14 on: March 25, 2004, 11:56:07 pm »
Hmmm.... which distro do you use? It seems  to be rather old. And did you run ldconfig after  you installed  the new GLIBC? Check  if /usr/lib is included in your /etc/ld.so.conf file before you run ldconfig.
If nothing helps compile the sources:

Crystal Space source
CEL  source
PS source


Back to Planeshift again \\o/