Welcome to iraf.net Sunday, April 28 2024 @ 04:05 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 mkpkg: command not found
   
lcrews
 07/16/2007 10:31AM (Read 3702 times)  
+----
Newbie

Status: offline


Registered: 07/16/2007
Posts: 1
I today installed the latest cygwin on my Windows XP laptop. I am trying to install the xdimsum package following the installation instructions on http://iraf.noao.edu/iraf/ftp/iraf/extern/xdimsum020627/xdimsum.readmeWhen I get to the mkpkg command, it tells me "command not found." I looked at the irafuser.csh file and it has an alias for mkpkg in the right directory path, and the login.cl file in my user home directory tasks the mkpkg command.One problem (that I don't know how to solve) is that the cygwin came installed with the bash shell as the default, while the installation instructions are in tcsh. To execute the setenv commands in the instructions, I just typed tcsh at the prompt, but I later noticed that there was no .cshrc file in my home directory. Could that be the problem, and if so, what should I put in the .cshrc file to fix the problemThanks for your patience with this linux newbie.Lionel

 
Profile Email
 Quote
fitz
 07/16/2007 10:31AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
A 'command not found' usually just means the 'local bin directory' (typically /usr/local/bin) is not in your default command search path. If you've already got tcsh installed the simplest thing is to just copy the $iraf/local/.cshrc file to your cygwin login directory and you should have all the definitions you need. You can type "source ~/.cshrc" within a tcsh to load the settings in that file, a "rehash" command may then be necessary as well. Then, just try "which mkpkg" to see whether the command is found properly.Another explanation is due to an improper installation or architecture setting, but these are less likely. I can supply DIMSUM pkg binaries if you need them. Hope this helps.Cheers,
-Mike

 
Profile Email
 Quote
   
Content generated in: 0.07 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login