Author Topic: Linux install problems  (Read 2248 times)

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
Linux install problems
« on: April 17, 2004, 06:23:02 am »
I downloaded the linux installation from sourceforge then gunzipped the file.  When I untarred it about 20 megs of file was missing!!!!! :O.  The file which was missing was hydlaa.zip which seems to be key to installation.  When I tried to open the file there was nothing in it and when I copied it there was nothing there.  Any idea on how to work around this? (or you could send me the file :P)
I reserve the right to be wrong.

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #1 on: April 17, 2004, 10:49:33 am »
After reading several different posts on installation of planeshift on linux i\'ve decided my problems stem from not doing things right :)  anyway is it possible to install planeshift using the binary download of crystal space and avoiding cvs and other such messy command line things.
I reserve the right to be wrong.

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #2 on: April 18, 2004, 05:03:24 am »
Installed everything as instructed by cvs but when I type ./psclient I get the following message; \"Please set CEL enviroment var!\" any ideas on how to fix this?
I reserve the right to be wrong.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #3 on: April 18, 2004, 10:02:22 am »
If you have really read the other threads you would know the answer :P
If it wants you to set the CEL export, then set it to the location where CEL is.


Back to Planeshift again \\o/

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #4 on: April 18, 2004, 10:27:06 am »
when I type
export CRYSTAL=$HOME/molblue/CS
then:
export CEL=$HOME/molblue/cel
and run the psclient I get the following error:
./psclient: line 52: src/client/psclient: No such file or directory
any ideas?
I reserve the right to be wrong.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #5 on: April 18, 2004, 11:10:33 am »
Hmm...  interesting... your  psclient  file seems to be a  shell  script, but I wonder why? Mine is a binary like it should be... Can you post the contents of your psclient  file?


Back to Planeshift again \\o/

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #6 on: April 18, 2004, 11:46:05 am »
This is the full contents of the file:

#!/bin/sh
# automake always builds programs inside the dir with source files
# but you have to start the programs from the top PS dir, so that they can find
# the sources. This scripts helps starting the progs and helps reminding people

#try to setup links to the plugins
if [ ! -f configure.ac ]; then
    echo Please start this script from planeshift root dir
    exit 1
fi

#link plugins to actual dir, so that planeshift will be able to find them
PLUGINS=\"src/client/gui/.libs/psgui src/server/database/dummy/.libs/dbdummy \\
   src/server/database/mysql/.libs/dbmysql \\
   src/common/psbehave/.libs/psbehave src/client/sound/.libs/pssound \\
   src/common/psprop/imp/.libs/pflinearmovement \\
   src/common/psprop/character/.libs/pfcharacterdata \\
   src/common/psprop/npc/.libs/pfnpcdialog \\
   src/common/psprop/proxlist/.libs/pfproximitylist \\
   src/client/admin/.libs/psadmin\"

for i in $PLUGINS; do
    #echo \"linking plugin $i\"
    if [ -f $i.so ]; then
 ln -s $i.so . >& /dev/null
    fi
    if [ -f $i.dll ]; then
  #win32 can\'t symlink so we have to copy :(
   cp $i.dll .
    fi
done

#link CEL plugins... oh that\'s ugly...
if test -z \"$CEL\"; then
    echo \"Please set CEL environment var!\"
    exit 1
fi

for i in $CEL/*.so; do
    if test -f $i; then
        ln -s $i . >& /dev/null
    fi
done
for i in $CEL/*.dll; do
    if test -f $i; then
        cp $i .
    fi
done

SELF=`basename $0`
if test $SELF = \"psclient\"; then
    src/client/psclient $@
fi
if test $SELF = \"psserver\"; then
    src/server/psserver $@
fi
I reserve the right to be wrong.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #7 on: April 18, 2004, 05:52:39 pm »
Hmm, which version of PS are you using? The package  from the website or the CVS   build? I\'m not sure but I think the package had such a script. The psclient script can\'t find the executable.  Did you   use make to build PS? I  dont\' know where it creates the files since I use jam  which places the compiled files  in the /out/linuxx86/  folder  and copies them over to the Planeshift  root folder.  Maybe make places the  files in the /src/ folder but doesn\'t copy them over to the root dir since  psclientalready exists or is write protected. I\'m not sure about this. Can you tell the steps you did to compile PS?


Back to Planeshift again \\o/

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #8 on: April 19, 2004, 12:13:51 am »
I mainly followed the cvs guide with a couple of exceptions:
I used make on CS instead of jam (the path trickt didn\'t work),
I also downloaded the new art directly from the website (actually the one used in the cvs guide but I thought i\'d mention it)
I reserve the right to be wrong.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #9 on: April 19, 2004, 06:32:24 am »
Why don\'t you use jam to  build the sources? Make  is  deprecated with CS and PS afaik. And CEL doesn\'t support make at all I think.


Back to Planeshift again \\o/

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #10 on: April 19, 2004, 10:15:53 am »
Redid the ENTIRE thing and still got the same problem (I still used make on CS but jam didn\'t work so I had no choice :P)
I reserve the right to be wrong.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #11 on: April 19, 2004, 07:28:57 pm »
Of  course jam works. Just the make  install doesn\'t work to install the binaries to your path. Just copy  it  to /usr/bin as root and it works :)
BTW: did you build CEL at all?


Back to Planeshift again \\o/

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #12 on: April 20, 2004, 12:12:45 am »
Ah I obviously didn\'t make myself clear jam works just not with CS (doesn\'t compile properly), everything was compiled with jam so I do have cel.  Might just bite the bullet and redo it again on a different computer (faster too), with any luck i\'ll post the news of my success (though quite possibly the lack thereof) later today.
I reserve the right to be wrong.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #13 on: April 20, 2004, 07:13:09 am »
*bangs his head against the next available wall* Sorry i didn\'t get it what you said.*sigh* For CS: there is a bug in the source, that\'s why it doesn\'t compile completely. Look at some other similiar threads,  I think  the solution is somewhere. If in doubt, do a  jam -a on CS and then  do a jam again and  post the  output, so I can see the errors.


Back to Planeshift again \\o/

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #14 on: April 20, 2004, 08:21:51 am »
Doesn\'t work on my other computer by the way :(

Do you want me to post the entire output from jam -a and jam or just the last couple of lines or something (just checking because the entire output is well over 100 lines)
I reserve the right to be wrong.