iraf-v216 · Code · Issues (50) · Pull requests (81)
iraf.net Issue #30
libasttools.a is not getting installed
closed olebole opened this issue on 2017-05-04 · 2 comments
olebole commented on 2017-05-04
The library libasttools.a
is getting compiled, but not installed. This leads to errors like
xc -Nz -/g -/m64 -p noao x_astutil.o libpkg.a -lasttools -lxtools -lcurfit -lbev -o xx_astutil.e
/usr/bin/ld: cannot find -lasttools
collect2: error: ld returned 1 exit status
It can be probably fixed by adding the following to the mkpkg
file.
install:
$move libasttools.a noaobin$libasttools.a
;
Again wondering about QA on IRAF…
Also, the directory noao/astutil/noaolib
is missing, probably due to the move to git (which doesn’ store empty directories).
I will again prepare a pull request for that.
olebole commented on 2017-05-04
Update here: the proposed change doesn’t help, the library is not moved to the final destination.
The rationale that it should go to noaobin$
is that this is the directory where an existing symlink points to:
$ ls -l noao/lib/libasttools.a
lrwxrwxrwx 1 oles oles 20 Mai 4 10:47 noao/lib/libasttools.a -> ../bin/libasttool.a
and noao/bin
points to noao/bin.linux64
(since it is system dependent).
Currently out of ideas here (likewise for #31).
olebole commented on 2017-05-23
Since I didn’t encounter this during the last 14 days, I am closing. Should be reopened when it is discovered again after applying all patches.
Closed on 2017-05-23