nishahansraj |
09/19/2009 06:34AM (Read 6683 times)
|
|
|
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?
|
|
|
|
fitz |
09/19/2009 06:34AM
|
|
|
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
|
|
|
|
nishahansraj |
09/19/2009 06:34AM
|
|
|
Status: offline
Registered: 09/19/2009
Posts: 8
|
But where do i find hlib$extern.pkg file?
|
|
|
|
fitz |
09/19/2009 06:34AM
|
|
|
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).
|
|
|
|
nishahansraj |
09/19/2009 06:34AM
|
|
|
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)??
|
|
|
|
fitz |
09/19/2009 06:34AM
|
|
|
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
|
|
|
|
nishahansraj |
09/19/2009 06:34AM
|
|
|
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.
|
|
|
|
fitz |
09/19/2009 06:34AM
|
|
|
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
|
|
|
|
nishahansraj |
09/19/2009 06:34AM
|
|
|
Status: offline
Registered: 09/19/2009
Posts: 8
|
Thanks a lot for your help, its working now.
|
|
|
|