[daip] forward of mmsg to Greisen & Mioduszewski

haller at aoc.nrao.edu haller at aoc.nrao.edu
Fri Apr 5 16:47:17 EST 2002


	From haller at tesuque.aoc.NRAO.EDU Fri Apr  5 14:41 MST 2002
	Date: Fri, 5 Apr 2002 14:41:34 -0700 (MST)
	From: haller at aoc.nrao.edu
	To: amiodusz at tesuque.aoc.NRAO.EDU, egreisen at tesuque.aoc.NRAO.EDU
	Cc: haller at tesuque.aoc.NRAO.EDU
	Subject: install problem with AIPS 31DEC02

	Dear Eric & Amy,
	     Wow, it has been a month since I saw you guys at the AOC. Margo
	and I are now at CV; we are here for another 4-weeks.
	     The reason for this E-mail is that I have just installed the
	3-27-02 version of AIPS on my laptop and encountered an error which
	I traced to a small error in the INSTEP2 script.  There are
	numerous places where the script attempts to use include files
	from 31DEC01/INC/    (note the year).  A typical failure looked like
	this in the INSTEP2.LOG file:

	PP        : Preprocess /opt/aips/31DEC02/APL/DEV/UNIX/ZABOR2.C
	PP        : into       /opt/aips/31DEC02/LINUX/PREP/ZABOR2.c
	AIPSCC    : Date       Fri Apr  5 10:36:18 EST 2002
	AIPSCC    : Interpret  AIPSCC  \
	AIPSCC    :            /opt/aips/31DEC02/LINUX/PREP/ZABOR2.c
	AIPSCC    : as         LIST=FALSE PURGE=TRUE
	AIPSCC    : plus       /usr/bin/gcc -c -O3 -fomit-frame-pointer -funroll-loops -I/opt/aips/31DEC01/INC -D_FILE_OFFSET_BIT
	S=64 -DHAVE_LINUX_GLIBC -DHAVE_LINUX_GLIBC \
	AIPSCC    :            /opt/aips/31DEC02/LINUX/PREP/ZABOR2.c
	/opt/aips/31DEC02/LINUX/PREP/ZABOR2.c:7: AIPSPROTO.H: No such file or directory
	AIPSCC    : Compile of /opt/aips/31DEC02/LINUX/PREP/ZABOR2.c
	AIPSCC    : ends with fatal error(s)!

	the offending code appears to be: -I/opt/aips/31DEC01/INC

	For sites that have 31DEC01 sitting around, this will not generate an error UNLESS
	one of the *.H files was changed.  That might introduce very subtle bugs.
	I had moved my DEC01 stuff to another partition (as part of a OS upgrade) which is
	why I stumbled on this problem.  My kludge was to just make a symbolic link:
	31DEC01/INC -> 31DEC02/INC

	.................................................

	Termcap Vs ncurses issue: 
	      At least when using SuSE (versions 7.1 & 7.3), INSTEP4 was
	happy when I used the entry (in $SYSLOCAL/LIBR.DAT):

	........ preexisting code ................................
	# the -ltermcap may need to be replaced with two lines having
	# -lreadline:0: etc
	# -lncurses:0: etc

	$LIBR/AIPSUB/SUBLIB:0:$AIPPGM
	$LIBR/APLLINUX/SUBLIB:0:$AIPPGM
	$LIBR/YSUB/SUBLIB:0:$AIPPGM
	$LIBR/YSS/SUBLIB:0:$AIPPGM
	$LIBR/APLSUB/SUBLIB:0:$AIPPGM
	$LIBR/APLLINUX/SUBLIB:0:$AIPPGM
	$LIBR/APLSUB/SUBLIB:0:$AIPPGM
	$LIBR/APLLINUX/SUBLIB:0:$AIPPGM
	$LIBR/GNU/libreadline.a:0:$AIPPGM
	..................end preexisting code ...........................
	-lncurses:0:$AIPPGM                     <- replaced line

	I discovered (the hardway) that addition of the line "-lreadline:0:$APSPGM"
	broke the script.
	      I hope these comments help!   Have a good week end.
	Sincerely,
	hugh





More information about the Daip mailing list