problems with installation of RVSAO
Olivera Latkovic wrote on Jun 16, 2006
Hello,
I'm trying to install RVSAO package. I've followed the instructions to the letter, but when I do
cl> mkpkg update >& spool
which is supposed to install the package, the spool file comes out full of warnings and errors about not being able to locate various files. Here's an example:
"Warning, mkpkg line 10: dependency file `smw.h' not found
Warning, mkpkg line 11: dependency file `smw.h' not found
Warning, mkpkg line 24: dependency file `smw.h' not found
xc -c -w t_emsao.x emfit.x emrslts.x emarch.x emplot.x emeplot.x emiplot.x emgue
ss.x emsrch.x emlfit.x emvfit.x eminit.x emfind.x emmin.x emhead.x
t_emsao.x:
Error on line 18 of t_emsao.x: cannot find include file
t_emsao:
emfit.x:
Error on line 13 of emfit.x: cannot find include file
emfit:"
Needless to say, RVSAO doesn't work after this.
What am I doing wrong?
Thanks,
Bye.
I'm trying to install RVSAO package. I've followed the instructions to the letter, but when I do
cl> mkpkg update >& spool
which is supposed to install the package, the spool file comes out full of warnings and errors about not being able to locate various files. Here's an example:
"Warning, mkpkg line 10: dependency file `smw.h' not found
Warning, mkpkg line 11: dependency file `smw.h' not found
Warning, mkpkg line 24: dependency file `smw.h' not found
xc -c -w t_emsao.x emfit.x emrslts.x emarch.x emplot.x emeplot.x emiplot.x emgue
ss.x emsrch.x emlfit.x emvfit.x eminit.x emfind.x emmin.x emhead.x
t_emsao.x:
Error on line 18 of t_emsao.x: cannot find include file
t_emsao:
emfit.x:
Error on line 13 of emfit.x: cannot find include file
emfit:"
Needless to say, RVSAO doesn't work after this.
What am I doing wrong?
Thanks,
Bye.
Mike Fitzpatrick wrote on Jun 16, 2006
Its been a while since I've read those instructions, but I do remember they seemed a little non-standard. In any case, try compiling with
where the '-p noao' will cause the smw.h dependencies to be solved. Note the package should be declared in the hlib$extern.pkg before you try compiling.
Cheers,
-Mike
mkpkg -p rvsao -p noao
where the '-p noao' will cause the smw.h dependencies to be solved. Note the package should be declared in the hlib$extern.pkg before you try compiling.
Cheers,
-Mike
Olivera Latkovic wrote on Jun 16, 2006
Thank you, Mike, but this didn't solve the problem. The output of mkpkg looks exactly the same as without the -p rvsao -p noao options, including the missing smw.h dependancy.
Indeed. I did my best; but when I add the following line
,rvsao$lib/helpdb.mip\
to hlib$extern.pkg and try to start IRAF, I get
So, I have to comment that line in order to start IRAF. No similar problems with reset and task lines for RVSAO.
Also, I am confused about the path to RVSAO (and I guess this might be related to the problem). In the installation instructions it first says:
which I did, so the acctual files, when unpacked, are located in
/home/iraf/iraf/local/rvsao/rvsao-2.5.0. But, later in the instaructions, it says:
which again I did, so my hlib$extern.pkg now contains:
reset rvsao = /home/iraf/iraf/local/rvsao/rvsao-2.5.0/
task rvsao.pkg = rvsao$rvsao.cl
Is this allright? And, while we're at it, what does "outside the IRAF directory tree" means? Isn't /local/ very much inside the IRAF directory tree? Because my first choice would be /home/iraf/extern, but I gave it up thinking it is causing the problems.
I am so very frustrated with this... I tried installing to different directories, different machines even, with no succsess, and with same problems. Thus I feel it has to be something obvious and/or stupid.
Bye,
Olivia
Note the package should be declared in the hlib$extern.pkg before you try compiling.
Indeed. I did my best; but when I add the following line
,rvsao$lib/helpdb.mip\
to hlib$extern.pkg and try to start IRAF, I get
ERROR: Newline while processing string
cl ()
cl ()
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.So, I have to comment that line in order to start IRAF. No similar problems with reset and task lines for RVSAO.
Also, I am confused about the path to RVSAO (and I guess this might be related to the problem). In the installation instructions it first says:
2) Create a directory for the RVSAO external package files
This directory should be outside the IRAF directory tree and must be owned by the IRAF account. In the following examples, this root directory is /local/rvsao/ (UNIX). Make the appropriate file name substitutions for your site.
which I did, so the acctual files, when unpacked, are located in
/home/iraf/iraf/local/rvsao/rvsao-2.5.0. But, later in the instaructions, it says:
Edit extern.pkg to include:
reset rvsao = /local/rvsao-2.4.6/
task rvsao.pkg = rvsao$rvsao.cl
which again I did, so my hlib$extern.pkg now contains:
reset rvsao = /home/iraf/iraf/local/rvsao/rvsao-2.5.0/
task rvsao.pkg = rvsao$rvsao.cl
Is this allright? And, while we're at it, what does "outside the IRAF directory tree" means? Isn't /local/ very much inside the IRAF directory tree? Because my first choice would be /home/iraf/extern, but I gave it up thinking it is causing the problems.
I am so very frustrated with this... I tried installing to different directories, different machines even, with no succsess, and with same problems. Thus I feel it has to be something obvious and/or stupid.
Bye,
Olivia
Mike Fitzpatrick wrote on Jun 16, 2006
Indeed. I did my best; but when I add the following line
,rvsao$lib/helpdb.mip\
to hlib$extern.pkg and try to start IRAF, I get.....
This sometimes means there is a space following the '\' newline escape, or you've added the line in-place-of/outside the quotes of the 'helpdb' string. The 'reset helpdb...' is all one line of comma-delimited files, be sure there is both an opening/closing quote and no blank lines in between.
which again I did, so my hlib$extern.pkg now contains:
reset rvsao = /home/iraf/iraf/local/rvsao/rvsao-2.5.0/
task rvsao.pkg = rvsao$rvsao.cl
This looks fine as long as the path is correct for your system. From within the CL can you
cl> type rvsao$rvsao.cl or
cl> show rvsao
without error? If so the path is correctly defined, if not then be sure these definitions come before the final 'keep' statement which should be the last line in the file. I just downloaded the 2.5 version to make sure it compiles properly (on RH9 anyway).
Doug Mink reads this site occassionally and may also comment, note there is also an RV package in the core system that may do what you need.
Cheers,
-Mike[/quote]
Olivera Latkovic wrote on Jun 16, 2006
This sometimes means there is a space following the '\' newline escape, or you've added the line in-place-of/outside the quotes of the 'helpdb' string.
That was it, as far as starting IRAF was concerned.
This looks fine as long as the path is correct for your system. From within the CL can you
cl> type rvsao$rvsao.cl or cl> show rvsao
without error?
Yes, I can, but I still can't compile the package.
I just downloaded the 2.5 version to make sure it compiles properly (on RH9 anyway).
I'm using Ubuntu, and I tried "linux" and "redhat" variants of installation, with same results. I tried to install on a Gentoo machine as well, same thing there.
I'm giving up on RVSAO for the moment. I wanted it in the first place because a friend of mine made a script for two-dimensional cross-correlation that uses RVSAO. I would greatly appreciate any ideas on how/where to find something similar.
Thanks for all the help.
Olivia
Mike Fitzpatrick wrote on Jun 16, 2006
I've posted my build with the binaries in the bin.linux directory at
http://iraf.net/ftp/pub/fitz/rvsao-2.5.tar.gz
Just download and unpack in your rvsao directory.
Building under Ubuntu shouldn't be a problem, feel free to send me your hlib$extern.pkg file and I'll see if I can spot any problems, otherwise the only other place where the definition might be conflicting is in your .cshrc/.bashrc file. Remember that 'keep' should always be the last line of the hlib$extern.pkg.
Cheers,
-Mike
http://iraf.net/ftp/pub/fitz/rvsao-2.5.tar.gz
Just download and unpack in your rvsao directory.
Building under Ubuntu shouldn't be a problem, feel free to send me your hlib$extern.pkg file and I'll see if I can spot any problems, otherwise the only other place where the definition might be conflicting is in your .cshrc/.bashrc file. Remember that 'keep' should always be the last line of the hlib$extern.pkg.
Cheers,
-Mike
Olivera Latkovic wrote on Jun 16, 2006
The binaries worked like a charm :D
Thank you, thank you!!!
I'm still a bit curious about what went wrong with my installation, so if I discover the reason, I'll post.
Cheers to you too :)
Olivia
Thank you, thank you!!!
I'm still a bit curious about what went wrong with my installation, so if I discover the reason, I'll post.
Cheers to you too :)
Olivia
Jacob Albretsen wrote on Jun 16, 2006
For the record, I've had the exact same issue with ubuntu. Thank you very much for the binaries fitz.
Last post on Jun 16, 2006