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

Problem with installation on Fedora 30 beta #83

Closed
wuqso opened this issue Apr 26, 2019 · 8 comments · Fixed by #85
Closed

Problem with installation on Fedora 30 beta #83

wuqso opened this issue Apr 26, 2019 · 8 comments · Fixed by #85
Labels
Dist:NOAO Releases distributed by NOAO (up to 2.16.1)

Comments

@wuqso
Copy link

wuqso commented Apr 26, 2019

I downloaded the source code and tried to installed it on my Fedora 30 (beta) system. I ran the installation script as root:

$ sudo ./install

The errors are as follows:

========================================================================
========================= Begin Installation =========================

Checking for existing commands directory... [ OK ]

                         Editing Paths
                         -------------

[ OK ]
Editing iraf/imdir/cache paths into system files ... [ FAIL ]
*** File mkiraf.sh not found.
*** File cl.sh not found.
*** File ecl.sh not found.
*** File setup.sh not found.
*** File setup.csh not found.
Setting mode for $imdir to 0777 [ OK ]
Checking cache permissions ... [ OK ]

                     Creating File Links
                     -------------------

Checking for /iraf symlink ... ln: failed to create symbolic link '/iraf' -> '': No such file or directory
[ FAIL ]
Checking /usr/include directory ... [ OK ]
Creating <iraf.h> symlink ... [ FAIL ]
Creating iraf command links in local bin dir ... [ OK ]
Marking system update time hlib$utime ... touch: cannot touch '/usr/local/iraf/unix/hlib/utime': No such file or directory
[ OK ]

                Creating Graphics Device Files
                ------------------------------

Checking /usr/local/lib directory ... [ OK ]
Creating /usr/local/lib/imtoolrc link ... [ FAIL ]
Creating X11IRAF links ... [ OK ]

========================================================================
================= Installation Completed With Errors =================

What's the problem?

@lupinix
Copy link
Collaborator

lupinix commented Apr 26, 2019

I'm currently reworking RPM packages for Fedora in COPR (updating to the latest snapshot), you'll find it here soon (current builds not yet up to date): https://copr.fedorainfracloud.org/coprs/lupinix/IRAF-Community/

@wuqso
Copy link
Author

wuqso commented Apr 26, 2019 via email

@olebole
Copy link
Member

olebole commented Apr 26, 2019

@wuqso

$ sudo ./install
[...]
Editing iraf/imdir/cache paths into system files ... [ FAIL ]
*** File mkiraf.sh not found.

Can you tell under which base directory you tried to install IRAF? It may have problems with spaces or non-ASCII chars.

@wuqso
Copy link
Author

wuqso commented Apr 27, 2019 via email

@olebole
Copy link
Member

olebole commented Apr 27, 2019

Hmm, at least I can't reproduce this under Debian Stretch. Did you really copy everything into /usr/local/iraf/? Specifically, do the files mkiraf.sh, cl.sh, ecl.sh, setup.sh and setup.csh exist in the unix/hlib/ subdirectory?

@wuqso
Copy link
Author

wuqso commented Apr 28, 2019 via email

@olebole
Copy link
Member

olebole commented Apr 28, 2019

[...] and made a directory /iraf (if this directory was not made, the installation would claim error). Then IRAF can be installed with no error

Does this mean that this error appears if you don't have an /iraf subdirectory, but not if you have it?

Editing iraf/imdir/cache paths into system files ... [ FAIL ]
*** File mkiraf.sh not found.
*** File cl.sh not found.
*** File ecl.sh not found.
*** File setup.sh not found.
*** File setup.csh not found.

But the commands cl and ecl cannot be run.

Could you attach the full build log to check?

I'm wondering whether the iraf community has had any test on the release of IRAF.

https://travis-ci.com/iraf-community/iraf/builds

@olebole
Copy link
Member

olebole commented Apr 28, 2019

I think I found out what is wrong there: The ./install script does not copy anything to a new location. It is meant to run after you unpacked (or copied/moved) the files in a (new) location. So, the first question of ./install is misleading and should always answered with the default; otherwise the installation will fail.

I have no idea why this is so; maybe you ask @mjfitzpatrick (the original author) for the rationale. I will change this here.

@olebole olebole added the Dist:NOAO Releases distributed by NOAO (up to 2.16.1) label Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dist:NOAO Releases distributed by NOAO (up to 2.16.1)
Development

Successfully merging a pull request may close this issue.

3 participants