LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2003, 07:06 PM   #1
StephP
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
csh problem !!


Hi I'm a newbie with Linux, I've installed the Mandrake 9.1 because I have to work with an image processing software name Khoros.

I downloaded the necessary files to install khoros (a script file name kpkgadd and some kgpfile)

I have to apply this script on the kgp file like this :

%./kpkgadd Kernel.kgp

in order to install Khoros.

But when I launch the script I received this error message :

Error :
The csh command is not in the executable Path
Please add the appropriate directory to your path and rerun script.

I'm sure it's a minor problem due to the fact that my path don't include csh but I can't resolve it.

Please help me I must work with Khoros this week for my exams.

Thanks
 
Old 11-14-2003, 06:19 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Your question is a little confusing because of the kgp stuff. What is the first line of your script? I don't know anything about kgp but scripts usually start by telling the shell where to find the interpreter. e.g. #!/bin/csh

csh is normally in /bin and it's very strange if that isn't already in your path. What does "echo $PATH" give you? If it really isn't there, setting it depends on which shell you are using.

In csh add the following line to .cshrc
setenv PATH = "$PATH:/bin"

For tcsh do the above and also add the following line to .tcshrc
source ~/.cshrc

In bash, edit .profile by adding
PATH=$PATH:/bin
export PATH

I don't know how to set it for ksh, but google should be able to tell you.

John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with csh startup quozt Linux - General 1 08-13-2003 11:45 AM
Path in csh sstrause Linux - Newbie 2 03-10-2003 03:56 PM
Csh or Bsh max_linuxquesti Programming 4 12-26-2002 02:17 PM
csh zaza Linux - Newbie 6 05-21-2002 07:26 AM
tcsh/csh problem kicker Linux - Newbie 0 05-01-2002 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration