Welcome to iraf.net Saturday, May 11 2024 @ 04:43 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 missing xx_rvsao.e when installing rvsao on cygwin
   
ina
 06/18/2009 01:04PM (Read 5371 times)  
+----
Newbie

Status: offline


Registered: 06/16/2009
Posts: 2
Hello everyone,
I am facing some problems while trying to install the package rvsao.For some time now I have been sucessfully using IRAF V2.14.1 on my Windows Vista (32bit) system with a complete installation of Cygwin. When I now try to install rvsao (Version 2.7.6) following the instructions on http://tdc-www.harvard.edu/iraf/rvsao/rvsao.install.html,
I get the following errors at the end of the spool-file.[code:1:58d854d210]xc -c -w -p noao x_rvsao.x
x_rvsao.x:
sys_runtask:
x_rvsao.f:
sysruk:
move `bin/librv.a' to `librv.a'
xc -Nz -p noao -z x_rvsao.o librv.a -lsmw -lxtools -lcurfit -liminterp -lllsq -o xx_rvsao.e
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.librv.a(t_sumspec.o):t_sumspec.c:(.text+0xd32): undefined reference to `_tmpwrf_'
librv.a(t_sumspec.o):t_sumspec.c:(.text+0xd57): undefined reference to `_tmpcle_'
librv.a(t_sumspec.o):t_sumspec.c:(.text+0xe1f): undefined reference to `_tmpwrf_'
librv.a(t_sumspec.o):t_sumspec.c:(.text+0xecc): undefined reference to `_tmpcle_'
librv.a(t_linespec.o):t_linespec.c:(.text+0x926): undefined reference to `_tmpopn_'
librv.a(t_linespec.o):t_linespec.c:(.text+0x10e3): undefined reference to `_tmpcle_'
librv.a(addspec.o):addspec.c:(.text+0x150b): undefined reference to `_tmpopn_'
librv.a(addspec.o):addspec.c:(.text+0x153e): undefined reference to `_tmpopn_'
Info: resolving __timezone by linking to __imp___timezone (auto-import)
collect2: ld returned 1 exit status
move `librv.a' to `bin/librv.a'
delete file x_rvsao.o
move `xx_rvsao.e' to `bin/x_rvsao.e'
$move: file `xx_rvsao.e' not found
Warning, mkpkg line 13: error moving file xx_rvsao.e
Warning, mkpkg line 9: module `install' not found or returned error[/code:1:58d854d210]Earlier in the file there is also given [code:1:58d854d210]writetemp.x:
tmp_open:
tmp_close:
tmp_write_iraf:
tmp_put_image_line:
tmp_change_pix:
tmp_pix_lim:
Error on line 288 of writetemp.x: definition too long[/code:1:58d854d210]All the rest is ok but without x_rvsao.e the tasks I need do not work.What can I do to get rid of these errors and complete the installation?

The variables IRAFARCH (cygwin) and Iraf (/iraf/iraf/) are all set correctly as are the entries in the extern.pkg-file. I can load rvsao and even read the help and parameter files.A colleague got the same errors when trying to install the package on another similar Vista/Cygwin system finding even more undefined references (about 100).I would be very happy if anyone could help me with this problem.Thank you,
Ina

 
Profile Email
 Quote
fitz
 06/18/2009 01:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I put a set of binaries for v2.7.6 in the download area if you just want to use those, otherwise edit the writetemp.x file and remove the include definitions for the <fio.h> and <fset.h>. The code should them compile.-Mike

 
Profile Email
 Quote
ina
 06/18/2009 01:04PM  
+----
Newbie

Status: offline


Registered: 06/16/2009
Posts: 2
Thank you,especially for the very quick answer. Now it works fine. Big Grin Ina

 
Profile Email
 Quote
rene8
 06/18/2009 01:04PM  
+----
Newbie

Status: offline


Registered: 03/31/2010
Posts: 3
[quote:b9bbcf8ce3="fitz"]I put a set of binaries for v2.7.6 in the download area if you just want to use those, otherwise edit the writetemp.x file and remove the include definitions for the <fio.h> and <fset.h>. The code should them compile.[/quote:b9bbcf8ce3]Hi;I've got the same problem.
I've edited writetemp.x and taken out the include definitions mentioned above but still get the same error message (with version 2.7.8, btw). Here are the last lines from the spool file:[code:1:b9bbcf8ce3]move `bin/librv.a' to `librv.a'
xc -Nz -/static -p noao -z x_rvsao.o librv.a -lsmw -lxtools -lcurfit -liminterp -lllsq -o xx_rvsao.e
gcc: libmain.o: No such file or directory
gcc: libex.a: No such file or directory
gcc: libsys.a: No such file or directory
gcc: libvops.a: No such file or directory
move `librv.a' to `bin/librv.a'
delete file x_rvsao.o
move `xx_rvsao.e' to `bin/x_rvsao.e'
$move: file `xx_rvsao.e' not found
Warning, mkpkg line 13: error moving file xx_rvsao.e
Warning, mkpkg line 9: module `install' not found or returned error[/code:1:b9bbcf8ce3]I've tried to look for the missing libraries from the gcc error message with no luck.I'm running Iraf v. 2.14.1 in Ubuntu 9.10 (i.e., IRAFARCH = linux) - btw, I'm on a 64-bit system...Thank you very much in advance!

*** Cita: "Si te arriesgas un poquito, haces la diferencia..." Julieta Fierro.
 
Profile Email Website
 Quote
fitz
 06/18/2009 01:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You need the v2.15 Alpha release described on the home page in order to compile on a 64-bit system. Unless you want to upgrade IRAF, you can get the RVSAO 2.7.8 redhat binaries from the download area (https://iraf.net/ftp/iraf/extern) and install them in the rvsao$bin.linux directory and you're done.-Mike

 
Profile Email
 Quote
rene8
 06/18/2009 01:04PM  
+----
Newbie

Status: offline


Registered: 03/31/2010
Posts: 3
[quote:40cee19423="fitz"]You need the v2.15 Alpha release described on the home page in order to compile on a 64-bit system. Unless you want to upgrade IRAF, you can get the RVSAO 2.7.8 redhat binaries from the download area (https://iraf.net/ftp/iraf/extern) and install them in the rvsao$bin.linux directory and you're done.
[/quote:40cee19423]I wouldn't like to make a full upgrade of iraf just now... but still, even with the binaries you pointed me to (unpacked in the aproppriate directory), the mkpkg still gives same error message in the end:[code:1:40cee19423]Warning, mkpkg line 9: module `install' not found or returned error
[/code:1:40cee19423]Do I need to delete any other line in any file or something like that? (so that it compiles using the new file...) or is anything else missing?Thank you very much (and happy holidays Smile ).René Ortega.

*** Cita: "Si te arriesgas un poquito, haces la diferencia..." Julieta Fierro.
 
Profile Email Website
 Quote
fitz
 06/18/2009 01:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
When you install package binaries, you don't have to compile (and in fact, the package binaries won't fix any problems that prevented you from compiling in the first place). So long as the files unpacked and put a x_foo.e file in the package bin.<arch> directory you can just start using the package.-Mike

 
Profile Email
 Quote
rene8
 06/18/2009 01:04PM  
+----
Newbie

Status: offline


Registered: 03/31/2010
Posts: 3
[quote:04e62909f6="fitz"]When you install package binaries, you don't have to compile (and in fact, the package binaries won't fix any problems that prevented you from compiling in the first place). [/quote:04e62909f6]Yes, I thought of that, but it didn't work by just putting teh x_rvsao.e flie in the bin.linux directory.I've moved the x_rvsao.e file to the rvsao root directory and it worked.Thanks a lot for your help! Big Grin
René.

*** Cita: "Si te arriesgas un poquito, haces la diferencia..." Julieta Fierro.
 
Profile Email Website
 Quote
fitz
 06/18/2009 01:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:ce86797b7f]
Yes, I thought of that, but it didn't work by just putting teh x_rvsao.e flie in the bin.linux directory. [/quote:ce86797b7f]For a Cygwin system, the proper place to put the binary is the package 'bin.cygwin' directory. For some packages, you may need to create this directory manually.

 
Profile Email
 Quote
   
Content generated in: 0.26 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