Author Topic: Anotehr Linux noob with an easy error for the pros to correct  (Read 717 times)

Xyl

  • Traveller
  • *
  • Posts: 49
    • View Profile
WARNING! Linux N00b ahead!

[teamvertex@localhost planeshift]$ ./psclient
Please set CEL environment var!

That?s the error I get when I try to run the ./psclient from Konsole in Mandrake 9.2.

Any help on how to set these variables would be greatly appreciated :)
Cheers,

Kiare Valencia
Dwarven \"Jack of all trades, Master of none\"




Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #1 on: June 11, 2004, 07:43:18 pm »
Quote
Originally posted by Xyl
WARNING! Linux N00b ahead!

Indeed :P

There are several threads about this, but here we go again:
export CRYSTAL=
export CEL=
export CSCONFPATH=

For example:
export CRYSTAL=/opt/CS
export CEL=/opt/cel
export CSCONFPATH=/opt/cel

enter these exports in your console before playing, but they will be gone if you close the shell. It*s better to put them into a small shell script to set the exports and run the client. Another way is to put them into your .bashrc file in your home dir.

Little advice: next time use this ->  


Back to Planeshift again \\o/

Xyl

  • Traveller
  • *
  • Posts: 49
    • View Profile
(No subject)
« Reply #2 on: June 14, 2004, 10:44:48 am »
Cheers, I\'ll have a crack at setting it up. I\'m not sure if it has been said, but where can i find the bashrc file? I searched and couldn\'t find it :(
Cheers,

Kiare Valencia
Dwarven \"Jack of all trades, Master of none\"




Androgos

  • Guest
(No subject)
« Reply #3 on: June 14, 2004, 10:48:30 am »
/home/username/.bashrc

not always it exists though, if it doesn\'t, just create it

Seytra

  • Forum Addict
  • *
  • Posts: 2052
  • No system can compensate lack of common sense.
    • View Profile
(No subject)
« Reply #4 on: June 15, 2004, 09:02:09 pm »
I think the problem is the \".\". As _we_ know, it\'s a hidden file because of that so you can only see it if you use the -a option to ls. Also, when posted on a website, the leading period will most likely be interpreted as a typo, as can clearly be seen by the fact that Xyl asked for \"bashrc\" and not for \".bashrc\", as would have been correct.
But the \".\"  (any period, for that matter) is also part of the filename (as opposed in Windoze and DOS), so \".bashrc\" and \"bashrc\" can _both_ exist simultaneously inside the same directory without interference, except some minor user confusion. :)
Therefore, if Xal would create a file named \"bashrc\" and would place the stuff in there, nothing would happen because the system reads the file \".bashrc\".
Also note that linux is case-sensitive WRT filenames so you can also have \".Bashrc\" in addition to \"bashrc\", \".bashrc\" and even \"..bashrc\", so watch your typing! ;)
« Last Edit: June 15, 2004, 09:07:02 pm by Seytra »