-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use mkfloat.sh in mkpkg #10
Conversation
maybe this is only part of the problem. The instructions are incomplete as one needs to source $hlib/irafuser.csh in order to compile. However, irafuser.csh has this line: setenv XC_CFLAGS "${CPPFLAGS} ${CFLAGS} -I${iraf}include" I do not have CPPLAGS and CFLAGS variable defined and nothing after that line is sources. I get lots of complains about undefined HSI_CF. Could this be a problem for compiling IRAF as well? I managed to compile it, but when running the tests, 2 are skipped and one fails. Also mkpkg gives these two messages: envinit: cannot open in particular there is no fitsutillib directory and thus zzsetenv.def is not read |
Thank you very much for looking deeper into the package build! |
One test (for IRAF) usually xfails, where the |
it is xfalis I think. I use tcsh, but I will try with bash now |
For tcsh, |
see iraf-community/iraf#86 for a fix of the aborting tcsh source. |
The complier problem is now solved, but I still get: envinit: cannot open /home/data/iraf/extern/fitsutil/fitsutillib/zzsetenv.def' Warning, mkpkg line 0: cannot open fitsutil$lib/mkpkg.inc' It seems 'fitsutillib' should be just 'lib', but I cannot figure out where the error comes from. The directory is correctly set in extern.pkg |
You should (not written in the README yet) do a |
that worked. It is indeed described in the mscred package. Thanks for the help |
Back to the original PR: I think this would be a good opportunity to remove a bad-style solution from IRAF: for the user, the script language of |
IRAF now uses `/bin/sh` compatible scripts instead of (t)csh, and the suffix is removed from the file name. Reference: iraf-community/iraf#87
IRAF now uses
/bin/sh
compatible scripts instead of (t)csh. Since the shell name is encoded in the suffix, this needs to be changed in mkpkg.Closes #9