Welcome to iraf.net Friday, April 26 2024 @ 02:29 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 problems with installation of RVSAO
   
olivia
 06/16/2006 10:38AM (Read 8227 times)  
+----
Newbie

Status: offline


Registered: 06/16/2006
Posts: 4
Hello,I'm trying to install RVSAO package. I've followed the instructions to the letter, but when I do[b:4ecafc95ee]cl> mkpkg update >& spool[/b:4ecafc95ee]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.

 
Profile Email
 Quote
fitz
 06/16/2006 10:38AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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 [code:1:b03d5a06dd]
mkpkg -p rvsao -p noao
[/code:1:b03d5a06dd]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

 
Profile Email
 Quote
olivia
 06/16/2006 10:38AM  
+----
Newbie

Status: offline


Registered: 06/16/2006
Posts: 4
Thank you, Mike, but this didn't solve the problem. The output of [b:6117c78adb]mkpkg[/b:6117c78adb] looks exactly the same as without the [b:6117c78adb]-p rvsao -p noao[/b:6117c78adb] options, including the missing smw.h dependancy. [quote:6117c78adb]Note the package should be declared in the hlib$extern.pkg before you try compiling. [/quote:6117c78adb]
Indeed. I did my best; but when I add the following line
[b:6117c78adb],rvsao$lib/helpdb.mip\[/b:6117c78adb]
to hlib$extern.pkg and try to start IRAF, I get[code:1:6117c78adb]ERROR: Newline while processing string
cl ()
cl ()
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.[/code:1:6117c78adb]
So, I have to comment that line in order to start IRAF. No similar problems with [b:6117c78adb]reset[/b:6117c78adb] and [b:6117c78adb]task[/b:6117c78adb] 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:[quote:6117c78adb]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. [/quote:6117c78adb]
which I did, so the acctual files, when unpacked, are located in
[i:6117c78adb]/home/iraf/iraf/local/rvsao/rvsao-2.5.0[/i:6117c78adb]. But, later in the instaructions, it says:[quote:6117c78adb]Edit extern.pkg to include:reset rvsao = /local/rvsao-2.4.6/
task rvsao.pkg = rvsao$rvsao.cl
[/quote:6117c78adb]
which again I did, so my hlib$extern.pkg now contains:
[b:6117c78adb]reset rvsao = /home/iraf/iraf/local/rvsao/rvsao-2.5.0/
task rvsao.pkg = rvsao$rvsao.cl[/b:6117c78adb]Is this allright? And, while we're at it, what does "outside the IRAF directory tree" means? Isn't [i:6117c78adb]/local/[/i:6117c78adb] very much inside the IRAF directory tree? Because my first choice would be [i:6117c78adb]/home/iraf/extern[/i:6117c78adb], 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

 
Profile Email
 Quote
fitz
 06/16/2006 10:38AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:aff8c2ecb1]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.....[/quote:aff8c2ecb1]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.[quote:aff8c2ecb1]
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
[/quote:aff8c2ecb1]This looks fine as long as the path is correct for your system. From within the CL can you [code:1:aff8c2ecb1]
cl> type rvsao$rvsao.cl or
cl> show rvsao
[/code:1:aff8c2ecb1]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]

 
Profile Email
 Quote
olivia
 06/16/2006 10:38AM  
+----
Newbie

Status: offline


Registered: 06/16/2006
Posts: 4
[quote:b0f0f4a565]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.[/quote:b0f0f4a565]That was it, as far as starting IRAF was concerned.[quote:b0f0f4a565]This looks fine as long as the path is correct for your system. From within the CL can you[code:1:b0f0f4a565]cl> type rvsao$rvsao.cl or
cl> show rvsao[/code:1:b0f0f4a565]without error?[/quote:b0f0f4a565]Yes, I can, but I still can't compile the package.[quote:b0f0f4a565]I just downloaded the 2.5 version to make sure it compiles properly (on RH9 anyway). [/quote:b0f0f4a565]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

 
Profile Email
 Quote
fitz
 06/16/2006 10:38AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I've posted my build with the binaries in the bin.linux directory athttps://iraf.net/ftp/pub/fitz/rvsao-2.5.tar.gzJust 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

 
Profile Email
 Quote
olivia
 06/16/2006 10:38AM  
+----
Newbie

Status: offline


Registered: 06/16/2006
Posts: 4
The binaries worked like a charm Big Grin
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 Smile
Olivia

 
Profile Email
 Quote
knine
 06/16/2006 10:38AM  
+----
Newbie

Status: offline


Registered: 11/29/2005
Posts: 14
For the record, I've had the exact same issue with ubuntu. Thank you very much for the binaries fitz.

 
Profile Email
 Quote
   
Content generated in: 0.35 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login