[daip] Re: AIPS upgrade problems..

Vassilis Charmandaris vassilis at astro.cornell.edu
Sat Jul 8 21:54:40 EDT 2000


Hello there,

I was trying to upgrade my AIPS 15APR99  to the latest 31DEC99 version
on a Solaris Ultra 10 workstation.

Reading through the instruction you have at page:

	http://www.cv.nrao.edu/aips/mnj.html

I did steps 1, 2, and 3. 

However, when I run the update.pl script at some point I got an error
message which I could not resolve:

==
...
...
Moved AIPS to AIPS.OLD in 31DEC99/SUL/SYSTEM/
Moved aips to aips.OLD in 31DEC99/SUL/SYSTEM/
-------------- Readline Library ---------------
There's already a libreadline.a in LIBR/GNU; good.
--------------- Make XAS (display server) --------------
You've been here before, XAS.SHR already unpacked.
Now making.  Needs GNU make on some systems.
AIPS_VERSION=/opt/local/aips/31DEC99
rm -f *.o xas XAS
/opt/SUNWspro/bin/cc -I/usr/openwin/include -D_BSD -DUSE_SHM -O -v -K
PIC -Xa -c xas.c
make: /opt/SUNWspro/bin/cc: Command not found
make: *** [xas.o] Error 127
No LOAD/XAS found, make failed!
===

We do not have the "cc" compiler for Solaris since Sun does not give it
by default with the Solaris distribution but I do have gcc installed.

So I went and I modified the file: 

	/opt/local/aips/31DEC99/Y/SERVERS/XAS/Makefile

to use my gcc compiler.

Then I rerun the "update.pl" script and I got:

==
...
...
AIPS symlink already exists, assume it's ok.
aips (lowercase) symlink exists, assume it's ok.
-------------- Readline Library ---------------
There's already a libreadline.a in LIBR/GNU; good.
--------------- Make XAS (display server) --------------
You've been here before, XAS.SHR already unpacked.
Now making.  Needs GNU make on some systems.
AIPS_VERSION=/opt/local/aips/31DEC99
rm -f *.o xas XAS
/opt/local/bin/gcc -I/usr/openwin/include -D_BSD -DUSE_SHM -O -v -K PIC
-Xa -c xas.c
gcc: PIC: No such file or directory
Reading specs from
/opt/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/specs
gcc: unrecognized option `-K'
gcc: unrecognized option `-Xa'
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /opt/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/cpp -lang-c -v
-I/usr/openwin/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -Dsparc
-Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__
-D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix)
-Asystem(svr4) -D__OPTIMIZE__ -D__GCC_NEW_VARARGS__ -Acpu(sparc)
-Amachine(sparc) -D_BSD -DUSE_SHM xas.c /var/tmp/ccVuQb5b.i
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /usr/openwin/include
 /opt/local/include
 /opt/local/sparc-sun-solaris2.7/include
 /opt/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/include
 /usr/include
End of search list.
 /opt/local/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66/cc1
/var/tmp/ccVuQb5b.i -quiet -dumpbase xas.c -O -version -o
/var/tmp/ccPPIMVF.s
GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(sparc-sun-solaris2.7) compiled by GNU C version egcs-2.90.27 980315
(egcs-1.0.2 release).
 /usr/ccs/bin/as -V -Qy -s -o xas.o /var/tmp/ccPPIMVF.s
/usr/ccs/bin/as: WorkShop Compilers 5.0 Alpha 03/27/98 Build
make: *** [xas.o] Error 1
No LOAD/XAS found, make failed!
====

Do you have any suggestions on what I should do?

Would to be simpler to just scrape the whole AIPS instalation and start
from the begining?

Thansk in advance,

Vassilis


-- 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 Vassilis Charmandaris
 Cornell University       e-mail: vassilis at astro.cornell.edu
 Astronomy Department      phone: +1 (607) 255-8774
 106 Space Sciences Bldg.    fax: +1 (607) 255-5875
 Ithaca, NY 14853, USA      http://www.astro.cornell.edu/staff/vassilis
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<



More information about the Daip mailing list