Welcome to iraf.net Friday, April 26 2024 @ 08:12 AM GMT


 Forum Index > Help Desk > Misc New Topic Post Reply
 problem in using iuetools in iraf
   
nishahansraj
 09/19/2009 06:34AM (Read 6683 times)  
+----
Newbie

Status: offline


Registered: 09/19/2009
Posts: 8
I am having the following Problem while working with iraf. I have some .mx files which i need to convert to .fits file for which i require iuetools package to be installed in iraf. I was already having iraf installed, i installed iuetools. I am having the following problem in iuetools.cl file :
When i say mxexpand abc.mxhi ; it says : ERROR: package `iuetools$x_iuetools' not found !
Do i need to edit iuetools.cl file where this thing is written?

 
Profile Email
 Quote
fitz
 09/19/2009 06:34AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
A 'package not found' error may mean you declared the package incorrectly. Assuming you downloaded the tarball and compiled the source correctly (see the Install_Guide.txt file), the package is declared by editing the hlib$extern.pkg file with something like[code:1:508d65ec23]
reset iuetools = /iraf/extern/iuetools/ <-- trailing '/' required!
task iuetools = iuetools$iuetools.cl
[/code:1:508d65ec23]It would appear you are referencing the x_iuetools.e binary directly in the 'task' statement rather than the package .cl file.-Mike

 
Profile Email
 Quote
nishahansraj
 09/19/2009 06:34AM  
+----
Newbie

Status: offline


Registered: 09/19/2009
Posts: 8
But where do i find hlib$extern.pkg file?

 
Profile Email
 Quote
fitz
 09/19/2009 06:34AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try[code:1:b019a2d07c]cl> edit hlib$extern.pkg[/code:1:b019a2d07c]If you have an 'iraf' user and that account owns the iraf tree you'll need to be logged in as iraf for this to work. The 'hlib$' iraf logical path simply means $iraf/unix/hlib where the $iraf represents the iraf root directory (typically /iraf/iraf/, so try editing /iraf/iraf/unix/hlib/extern.pkg).

 
Profile Email
 Quote
nishahansraj
 09/19/2009 06:34AM  
+----
Newbie

Status: offline


Registered: 09/19/2009
Posts: 8
i edited the hlib$extern.pkg file as you said. But still i m getting the following error...iuetools> mxexpand swp49233.mxhi
ERROR: Cannot open connected subprocess (./x_iuetools.e)??

 
Profile Email
 Quote
fitz
 09/19/2009 06:34AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
'Cannot open connected subprocess' is different than 'package not found', it basically means the binary file can't be found. Did you compile the package from the source? Is there an x_iuetools.e file in the package's directory? If not, see the readme/install file that comes with the package or let me know what platform you're using and I can probably provide a binary.-Mike

 
Profile Email
 Quote
nishahansraj
 09/19/2009 06:34AM  
+----
Newbie

Status: offline


Registered: 09/19/2009
Posts: 8
Okay. What is the binary file for the linux platform which i am using i.e. CentOS . Also tell me the binary file for Ubuntu.

 
Profile Email
 Quote
fitz
 09/19/2009 06:34AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I put a linux binary at https://iraf.net/ftp/pub/x_iuetools.LINUX for you. This should work on either CentOS or Ubuntu, just download the file in binary mode, rename to 'x_iuetools.e' and put it in IUETOOLS package directory.-Mike

 
Profile Email
 Quote
nishahansraj
 09/19/2009 06:34AM  
+----
Newbie

Status: offline


Registered: 09/19/2009
Posts: 8
Thanks a lot for your help, its working now. Big Grin

 
Profile Email
 Quote
   
Content generated in: 0.34 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