IRAF install bug and IRAF on OpenBSD
Guest wrote on Dec 07, 2005
Hi,
(1) There is a typo in unix/hlib/install. "endiif" should be "endif".
This is only triggered if you use the options to set directories.
(2) I have IRAF, XGTerm, and DS9 running on OpenBSD/i386. See the links
under http://www.alan-watson.org/#OpenBSD for more information.
Basically, I run the Linux or RedHat binaries under OpenBSD's Linux
emulation.
Installing IRAF would be easier if:
(a) There was an OpenBSD release that installed the RedHat binaries into
dir.openbsd rather than dir.redhat.
(b) OpenBSD was a supported architecture in cl.sh, irafuser.csh, and
install. Currently I have to sed these files and replace freebsd by openbsd.
I would be delighted to send you a script to take the RHUX distribution
and perform (a), to send you a patch for (b), to write a README, and to
help with testing. Are you interested?
Regards,
Alan
--
Dr Alan Watson
Centro de RadioastronomÃÂa y AstrofÃÂsica
Universidad Astronómico Nacional de México
Post generated using Mail2Forum (http://www.mail2forum.com)
(1) There is a typo in unix/hlib/install. "endiif" should be "endif".
This is only triggered if you use the options to set directories.
(2) I have IRAF, XGTerm, and DS9 running on OpenBSD/i386. See the links
under http://www.alan-watson.org/#OpenBSD for more information.
Basically, I run the Linux or RedHat binaries under OpenBSD's Linux
emulation.
Installing IRAF would be easier if:
(a) There was an OpenBSD release that installed the RedHat binaries into
dir.openbsd rather than dir.redhat.
(b) OpenBSD was a supported architecture in cl.sh, irafuser.csh, and
install. Currently I have to sed these files and replace freebsd by openbsd.
I would be delighted to send you a script to take the RHUX distribution
and perform (a), to send you a patch for (b), to write a README, and to
help with testing. Are you interested?
Regards,
Alan
--
Dr Alan Watson
Centro de RadioastronomÃÂa y AstrofÃÂsica
Universidad Astronómico Nacional de México
Post generated using Mail2Forum (http://www.mail2forum.com)
Guest wrote on Dec 07, 2005
Hi Alan,
> (1) There is a typo in unix/hlib/install. "endiif" should be "endif".
> This is only triggered if you use the options to set directories.
Thanks for the report, I think this has already been fixed for
the next release but appears to still be present in the latest version
of the install script in the archive /pub dir. I've just updated the
ftp://iraf.noao.edu/pub/install version with the latest.
> (2) I have IRAF, XGTerm, and DS9 running on OpenBSD/i386. See the links
> under http://www.alan-watson.org/#OpenBSD for more information.
> Basically, I run the Linux or RedHat binaries under OpenBSD's Linux
> emulation.
>
> Installing IRAF would be easier if:
>
> (a) There was an OpenBSD release that installed the RedHat binaries into
> dir.openbsd rather than dir.redhat.
I briefly read your web page and while editing the various script
files to look for an 'openbsd' architecure dir will mostly work, you
should know that compiling binaries relies on an arch definition in the
iraf#unix/os/irafpath.c file that will look specifically for one of the
named architectures (e.g. 'redhat' or 'freebsd') and so compilation under
you system may not work.
If the linux emulation is link-compatible then a better scheme
may be to simply symlink the bin.openbsd dirs to bin.redhat in your
script.
> (b) OpenBSD was a supported architecture in cl.sh, irafuser.csh, and
> install. Currently I have to sed these files and replace freebsd by openbsd.
See the http://iraf.noao.edu homepage for news about how NOAO is
planning to deal with future IRAF support, and how the IRAF developers
are planning to deal with NOAO's plans. OpenBSD is a niche platform and
so formal support won't likely be coming soon.
> I would be delighted to send you a script to take the RHUX distribution
> and perform (a), to send you a patch for (b), to write a README, and to
> help with testing. Are you interested?
As an iraf.net project I'm very interested in this idea and I'd
encourage you to start a discussion there on getting the current IRAF
installed under OpenBSD. Your suggestion for a patch or a README file
are excellent ideas for that site and I'd be happy to talk with you
more about including OpenBSD as a supported platform. Since a major
obstacle is that we don't run OpenBSD here would you be willing to allow
us access to your machine to build binaries, otherwise we can help talk
you through needed system changes.
Cheers,
Mike Fitzpatrick
Post generated using Mail2Forum (http://www.mail2forum.com)
> (1) There is a typo in unix/hlib/install. "endiif" should be "endif".
> This is only triggered if you use the options to set directories.
Thanks for the report, I think this has already been fixed for
the next release but appears to still be present in the latest version
of the install script in the archive /pub dir. I've just updated the
ftp://iraf.noao.edu/pub/install version with the latest.
> (2) I have IRAF, XGTerm, and DS9 running on OpenBSD/i386. See the links
> under http://www.alan-watson.org/#OpenBSD for more information.
> Basically, I run the Linux or RedHat binaries under OpenBSD's Linux
> emulation.
>
> Installing IRAF would be easier if:
>
> (a) There was an OpenBSD release that installed the RedHat binaries into
> dir.openbsd rather than dir.redhat.
I briefly read your web page and while editing the various script
files to look for an 'openbsd' architecure dir will mostly work, you
should know that compiling binaries relies on an arch definition in the
iraf#unix/os/irafpath.c file that will look specifically for one of the
named architectures (e.g. 'redhat' or 'freebsd') and so compilation under
you system may not work.
If the linux emulation is link-compatible then a better scheme
may be to simply symlink the bin.openbsd dirs to bin.redhat in your
script.
> (b) OpenBSD was a supported architecture in cl.sh, irafuser.csh, and
> install. Currently I have to sed these files and replace freebsd by openbsd.
See the http://iraf.noao.edu homepage for news about how NOAO is
planning to deal with future IRAF support, and how the IRAF developers
are planning to deal with NOAO's plans. OpenBSD is a niche platform and
so formal support won't likely be coming soon.
> I would be delighted to send you a script to take the RHUX distribution
> and perform (a), to send you a patch for (b), to write a README, and to
> help with testing. Are you interested?
As an iraf.net project I'm very interested in this idea and I'd
encourage you to start a discussion there on getting the current IRAF
installed under OpenBSD. Your suggestion for a patch or a README file
are excellent ideas for that site and I'd be happy to talk with you
more about including OpenBSD as a supported platform. Since a major
obstacle is that we don't run OpenBSD here would you be willing to allow
us access to your machine to build binaries, otherwise we can help talk
you through needed system changes.
Cheers,
Mike Fitzpatrick
Post generated using Mail2Forum (http://www.mail2forum.com)
Last post on Dec 07, 2005