View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

re-compiling IRAF

Guest wrote on Oct 26, 2005

Hi,

I've been trying to compile DAOPHOT, which uses the imfort libraries, on a
machine running Scientific Linux 4 (based on RHEL 4), but have had no
luck.
The persistent error I've been getting is an undefined reference to
__ctype_b.

I've tried linking in the 'compat' lib mentioned in the README for
2.12.2-EXPORT, but still have the same errors.

I decided that one way to work around the problem would be to just
re-compiler IRAF. The 'reboot' part of the compilation goes fine, but the
SYSGEN fails because XC can't find libmain.o, libex.a, libsys.a, and
libvops.a. The problem seems to be that those libraries are compiled with
XC, but XC depends upon them. I've attached to spool files from the
reboot and sysgen.

You can see from the sysgen spool that the error I get with XC is 'xc:
command not found'. However, when I run xc from the command-line (it is an
alias), I get

gcc: libmain.o: No such file or directory
gcc: libex.a: No such file or directory
gcc: libsys.a: No such file or directory
gcc: libvops.a: No such file or directory

At this stage, those files don't exist.

I've tried copying those files from an working IRAF system, thinking that
I could just regenerated them, but I can't seem to do that.

Any help would be greatly appreciated.
John Ouellette

--
John Ouellette
Department of Astrophysics
American Museum of Natural History
Ph: 212-313-7919/Fax: 212-769-5007
http://research.amnh.org/astrophysics

Post generated using Mail2Forum (http://www.mail2forum.com)

Last post on Oct 26, 2005