Skip to content
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

Fix system install #85

Merged
merged 3 commits into from
May 1, 2019
Merged

Conversation

olebole
Copy link
Member

@olebole olebole commented Apr 28, 2019

The system installation is somehow flaky: It tries to create a symlink as /iraf. This link contradicts any file system standards and is buggy by design: It silently requires that the IRAF directory is called iraf
by itself, which is not always the case. This symlink is also not necessary at all, since the proper install path is determined with the link of /usr/include/iraf.h or the iraf environment variable.
So, we remove the creation of this link.

Also, it tries to create links for x11iraf, which is not part of the iraf-community distribution. We also remove creation of this link.

And finally, the possibility to change the "new iraf root" is misleading (it must be the directory where the install script is in), and is therefore removed.

This closes #83.
It supercedes #84 since p_iraf is now really unused.
This will also resolve the issue reported on cloudynights.com#652947.

@wuqso, would you please test if this works for you?

The `/iraf` link contradicts any file system standards and is buggy by
design: It silently requires that the IRAF directory is called `iraf`
by itself, which is not always the case. This symlink is also not
necessary at all, since the proper install path is determined with the
link of `/usr/include/iraf.h` or the `iraf` environment variable.
x11iraf is not part of the IRAF base distribution anymore.
There is some confusion about the "new IRAF root"; people think that
the script will copy the files there. There is basically no use of the
option to use a different root; therefore we remove both the `-r`
option and the interactive question here.
@wuqso
Copy link

wuqso commented Apr 29, 2019 via email

@olebole
Copy link
Member Author

olebole commented Apr 29, 2019

install -- travis.yml is only needed for the automated tests.

@wuqso
Copy link

wuqso commented Apr 29, 2019 via email

@olebole
Copy link
Member Author

olebole commented Apr 29, 2019

Did you follow the installation instructions? Could you attach the logfile?

@wuqso
Copy link

wuqso commented Apr 29, 2019 via email

@olebole olebole merged commit 92445ea into iraf-community:master May 1, 2019
@olebole olebole deleted the fix-system-install branch May 1, 2019 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Problem with installation on Fedora 30 beta
2 participants