[daip] Help with AIPS TV

Eric Greisen egreisen at nrao.edu
Tue Nov 7 08:45:30 EST 2006


R.A.Angiras writes:
 > 
 > AipsWiz:  =====> Make the XAS TV Server from source if needed...
 > AipsWiz: XAS.SHR appears to be already unpacked.
 > AipsWiz: About to try to make XAS...
 > 
 > make: *** No rule to make target `clean'.  Stop.
 > make: *** No targets.  Stop.
 > AipsWiz: Error: Failed to build the XAS program.
 > AipsWiz: Error: This means no AIPS TV will be available.
 > 

Most peculiar - a set of error I have not seen.  Go to the $AIPS_ROOT
area and

source LOGIN.CSH   or . LOGIN.SH for bash
$CDTST
cd $YSERV/XAS
ls -laF 


It should show something like this (different dates, owners etc) but
the same file sizes and names.

total 280
-rw-rw-r--  1 egreisen aipspgmr 12122 Mar 23  2006 catalog.c
-rw-rw-r--  1 egreisen aipspgmr 17295 Mar 23  2006 colors.c
-rw-rw-r--  1 egreisen aipspgmr 20726 Mar 23  2006 comm.c
-rw-rw-r--  1 egreisen aipspgmr  6617 Mar 23  2006 cursor.c
-rw-rw-r--  1 egreisen aipspgmr 43490 Mar 23  2006 image.c
-rw-rw-r--  1 egreisen aipspgmr 50978 Mar 23  2006 init.c
-rw-rw-r--  1 egreisen aipspgmr  8211 Mar 23  2006 Makefile
-rw-rw-r--  1 egreisen aipspgmr  2381 Mar 23  2006 Makefile.DEC
-rw-rw-r--  1 egreisen aipspgmr  4312 Mar 23  2006 Makefile.old
-rw-rw-r--  1 egreisen aipspgmr 30090 Mar 23  2006 screen.c
-rw-rw-r--  1 egreisen aipspgmr  2977 Mar 23  2006 Xas2.icon
-rw-rw-r--  1 egreisen aipspgmr  1998 Mar 23  2006 Xas2.iconedit
-rw-rw-r--  1 egreisen aipspgmr 19627 Mar 23  2006 xas.c
-rw-rw-r--  1 egreisen aipspgmr 21584 Mar 23  2006 xas.h
-rw-rw-r--  1 egreisen aipspgmr  2976 Mar 23  2006 Xas.icon
-rw-rw-r--  1 egreisen aipspgmr  1998 Mar 23  2006 Xas.iconedit
primate<272>$ 

install.pl attempts to edit Makefile to set the line CC_$ARCH (e.g.
CC_LINUX) to the specific compiler.  Then it does (in perl)

system("sh -c '. $AIPS_ROOT/LOGIN.SH; make clean; make'");

If it has some problem recognizing the host or site this will fail but
I suspect something went wrong in editing Makefile.

You could rm * in this directory (ONLY!) then
sh ../XAS.SHR

which will make a new set of files.  Then check the CC_LINUX line in
Makefile to make sure it points at your C compiler.

Then

make

Eric Greisen




More information about the Daip mailing list