I am trying to install IRAF 2.15 on a Power Mac, system 10.4. This is a new installation.
I downloaded the Mac OSX 32-bit (131M
file, made the /iraf/iraf directories, and unpacked there. I then ran the install program, changed to my home directory, and ran mkiraf and cl.
I go the following:indium:~ fjames$ cl
csh: setenv: Too many arguments.
dyld: Symbol not found: ___stack_chk_guard
Referenced from: /iraf/iraf/bin.macosx/ecl.e
Expected in: /usr/lib/libSystem.B.dylibTrace/BPT trapIt seems that on this system, uname -m gives
indium:~ fjames$ uname -m
Power Macintosh
and so the irafarch.csh script breaks.I modified that with
< setenv UNAME_M `$uname_cmd -m | tr '[A-Z]' '[a-z]' | tr ' ' '_'`
---
> setenv UNAME_M `$uname_cmd -m | tr '[A-Z]' '[a-z]'`
144c144
< else if ($MNAME_M == "x86" || $MNAME_M == "i386" || $MNAME_M == "ppc" || $MNAME_M == "power_macintosh") then
---
> else if ($MNAME_M == "x86" || $MNAME_M == "i386" || $MNAME_M == "ppc") thenand now irafarch.csh returns macosx, but running after running mkiraf
givesdyld: Symbol not found: ___stack_chk_guard
Referenced from: /iraf/iraf/bin.macosx/ecl.e
Expected in: /usr/lib/libSystem.B.dylibTrace/BPT trap
The configure script in the extern directory also does now work properly.
What have I missed?