[daip] aips install problem

Eric Greisen egreisen at nrao.edu
Wed Nov 24 13:31:24 EST 2004


John Howard writes:
 > Hi Eric,
 >        Got good news & bad news again!
 > 
 > Anyway, we fixed the last problem ourselves. If you remember one of the
 > lines in the problem said "g77: No input files" well we looked in running
 > the g77 on the ADVERB.FOR file with the full list of options (-c
 > -fno-automatic -fno-globals -Wno-globals -Wimplicit -Wall -ansi -u) that are
 > carried out within the aips set up but it would not work!?! Some problem
 > with the last option "-u"... So, when we went to remove this option via the
 > FDEFAULT.SH file & hashed out the -u option - ran perl install.pl - hey
 > presto, it worked!!! All the COMPRL functions were now succeeding and the
 > install kept going for 30 mins or so, until...

      It appears that the -ansi -u for $NODIRTY are just not right for
the gnu compiler.  This is more of the using the wrong compiler on a
particular architecture and hence doing something we have tested once
10 years ago.

 > 
 > Until, of course, this new strange error occured... I have attached the last
 > 20 or so lines from the install above but it seems to return the following
 > as part of the final crash:
 > 
 > socket
 > /space/aips/31DEC04/SUL/LIBR/APLSOL/SUBLIB(ZSSSL2.o)
 > ieee_flags
 > /space/aips/31DEC04/SUL/LIBR/APLSOL/SUBLIB(ZABOR2.o)
 > ld: fatal: Symbol referencing errors. No output written to
 > /space/aips/31DEC04/SUL/PREP/SETTVP.EXE
 > collect2: ld returned 1 exit status
 > LINK      : Status from /usr/local/bin/g77 is 1
 > LINK      : Link of    /space/aips/31DEC04/SUL/PREP/SETTVP.o
 > LINK      : dies from wimpy compiler
 > LINK      : Dies of unnatural causes.
 > COMLNK    : Link failed!
 > 
 > Hope you can shed some light on this,

There are two errors here:

1. ieee_flags  is a subroutine relevant to the SUN compiler.
   Edit $APLSOL/ZABOR2.C deleting the last little subroutine.
   COMRPL $APLSOL/ZABOR2.C
   and that problem should disappear.

2. socket
   This should work - there should be a library on your system
   supporting sockets.  There are such libraries on our GNU compiler
   Linux boxes, SUN compiler Solaris boxes, etc.  Perhaps you have a
   bad $LD_LIBRARY_PATH.  Without this no TV display code will work.

All this emphasizes our project to make available binary installations
and MNJs for Solaris as well as Macs.  Then you could download
binaries from us regularly and run with the superior SUN compiler code
without all this hassle.

Eric Greisen




More information about the Daip mailing list