V2.13 Beta-2 Now Available
Mike Fitzpatrick wrote on Apr 20, 2006
Please use this thread to report any problems, comments, or suggestions. Feedback on the new ports especially would help.
Thanks,
-Mike
Emilliano Gregori wrote on Apr 20, 2006
I just installed the cygwin port on a fully patched win2k machine (with SP4, Rollup and recent updates). I also installed DS9 version 4.0b9.
The IRAF system seems to work well with win2k but I have a problem with image display. When I run the command:
display dev$pix 1
I get the following error message:
ERROR: Cannot open device (node!imtool,,512,512)
The IRAF network hosts file contains the following line:
emiliano-4ec1e7 : emiliano-4ec1e7!/iraf/iraf/bin.cygwin/irafks.e
where "emiliano-4ec1e7" is the correct name of the machine. I also tried to set the "node" variable in the login.cl with:
set node = "emiliano-4ec1e7!"
but it does not work (same error message)... I looked in the graphcap file, and all the imt devices contain "node!"... shall I change them to the name of the machine? To solve the problem, I defined the environment variable IMTDEV with:
export IMTDEV="inet:5137:127.0.0.1"
before running the IRAF cl, as stated in the Unix/IRAF Site Manager Guide.
In this way image display with DS9 works well.
Many thanks,
Emiliano.
Mike Fitzpatrick wrote on Apr 20, 2006
I can fix the install script for the next update, until then another workaround is to simply create the fifos manually, e.g.
% mkdir /dev # create a /dev under cygwin
% mkfifo /dev/imt1i /dev/imt1o # make the fifo pipes
Setting IMTDEV in your .cshrc/.bashrc will also work as you've shown.
-Mike
Emilliano Gregori wrote on Apr 20, 2006
I created the fifos, but it does not work: the "disp" command freezes the cl, and then I have to manually kill the x_tv.e process.
I also lauched ds9 with "-fifo /dev/imt1" but it's the same story...
Emiliano
Mike Fitzpatrick wrote on Apr 20, 2006
Sorry about the hassles, please keep those reports coming though.
Cheers,
-Mike
Antonis Manousakis wrote on Apr 20, 2006
Relative to the New release of IRAF (2.13) I have a problem with the digiphot package,
ecl> digi
apphot. daophot. photcal. ptools.
digiphot> dao
ERROR: task `tables' has no param file
"if (defpar ("tables.motd")) {"
line 6: daophot$daophot.cl
called as: `daophot ()'
digiphot>
The only task that works is the apphot.
Is anyone know how to fix it?
Thank for the time
Antonis :)
Mike Fitzpatrick wrote on Apr 20, 2006
Cheers,
-Mike
Antonis Manousakis wrote on Apr 20, 2006
The distro have a large extern.pkg and I replaced it with the extern.pkg.IRAFNET and finally the daophot runs.
Antonis
Doug Mink wrote on Apr 20, 2006
-Doug (who got everything to work just find under Cygwin in just a few hours)
Mike Fitzpatrick wrote on Apr 20, 2006
-Mike
Doug Mink wrote on Apr 20, 2006
> (scroll down the screen and you'll see the developers stuff).
That did it. Everything compiled and linked flawlessly. Now we find out whether it works... Thanks!
-Doug
pakuliak wrote on Apr 20, 2006
I've got the same problem with TABLES as antonism did.
I have TABLES previously installed and the path has the trailing"/", and no any evidences that extern.pkg is your local, but the error message is the same.
ERROR: task `tables' has no param file
"if (defpar ("tables.motd")) {"
line 6: daophot$daophot.cl
called as: `daophot ()'
Where can the problem be looked for?
Ludmila
Mike Fitzpatrick wrote on Apr 20, 2006
Cheers,
-Mike
Roland Roberts wrote on Apr 20, 2006
First, one of the test in ecl has this:
if (! $?MACH) then
if (-f /etc/redhat-release) then
if (`uname -m` == "ppc") then
setenv mach linuxppc
else
setenv mach redhat
endif
else if (-f /etc/SuSE-release) then
set mach = suse
else
set mach = `uname -s | tr '[A-Z]' '[a-z]'`
set os_mach = `uname -s | tr '[A-Z]' '[a-z]' | cut -c1-6`
endif
if ($mach == "darwin") then
if ("`uname -m`" == "i386") then
setenv mach macintel
else
setenv mach macosx
endif
else if ($os_mach == "cygwin") then
setenv mach cygwin
endif
That last little test ... else if ($os_mach == "cygwin") then ... cause tcsh to die because $os_mach is not defined. Adding a ( ?$os_mach ) first eliminates this problem. But it's not clear to me why os_mach is in there at all since it is only used twice in the script....
Mike Fitzpatrick wrote on Apr 20, 2006
-Mike
Roland Roberts wrote on Apr 20, 2006
if (! $?MACH) then
if (-f /etc/redhat-release) then
...
else if (-f /etc/SuSE-release) then
...
else
....
endif
if ($mach == "darwin") then
...
else if ($os_mach == "cygwin") then
...
endif
...
endif
Roland Roberts wrote on Apr 20, 2006
Elsewhere I've read that I should be able to do #!/usr/local/bin/ecl to get a script to run and that is supposed to be equivalent to ecl < SCRIPT. Neither works for me out-of-the-box. I'm not sure why the hash-bang doesn't work. But using ecl < SCRIPT doesn't work without two of the patches below.
First, if -old is specified, it should get shifted off argv. Second, when the final exec is done, it should pass any command-line arguments. Without this, an attempt to run
ecl < SCRIPT PARAM1 PARAM2...
seems to not pass in the parameters.
469 roland> diff -uw cl.csh cl.csh.~1~
--- cl.csh 2006-09-29 23:22:08.000000000 -0400
+++ cl.csh.~1~ 2006-09-27 22:23:49.000000000 -0400
@@ -17,7 +17,6 @@
else if ($#argv > 0) then
if ("$argv[1]" == "-old" || "$argv[1]" == "-o") then
set cl_binary = "cl.e"
- shift
endif
endif
@@ -73,11 +72,10 @@
else
setenv mach macosx
endif
- else if ( $?os_mach ) then
- if ($os_mach == "cygwin") then
+ else if ($os_mach == "cygwin") then
setenv mach cygwin
endif
- endif
+
if (-e $iraf/bin.$mach/$cl_binary) then
set MACH = $mach
@@ -179,4 +177,4 @@
set file = ${IRAFBIN}$cl_binary
# Run the desired CL.
-exec $file $*
+exec $file
470 roland>
[/code]
Mike Fitzpatrick wrote on Apr 20, 2006
The #!cl thing refers directly to the cl.e executable and not the 'cl' startup script,
e.g.
#!/iraf/iraf/bin.redhat/ecl.e -fNote that since there is no login.cl read you'll need to have the script define more of the environment, load packages, etc See http://iraf.noao.edu/iraf/web/new_stuff/cl_host.html for details.
-Mike
iwold wrote on Apr 20, 2006
I can now display images, but I am getting the following error when I attempt to copy images:
imcopy dev$pix newpix
ERROR: cannot open pixel file (newpix)Despite this error a new file is created, however it is not a valid copy of the original image. Any help would be greatly appreciated.
Isak
Mike Fitzpatrick wrote on Apr 20, 2006
-Mike
Last post on Apr 20, 2006