[daip] Re: aips install question

George Heald gheald at yoda.phys.unm.edu
Sun Apr 21 19:02:44 EDT 2002


Thanks (to both of you) for your quick responses: I installed 
XFree86-devel, and there now seems to be no problem with TV. I'm including 
the output from INSTEP4 compilation below (actually, just an example of 
the output that looks important). It appears that my /usr/bin/ld doesn't 
understand -ltermcap. Does this indicate the need for another package? 
Please excuse my Linux newbie-ism, and thanks again for your help.

LINK      : Interpret  LINK \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSB.o
LINK      : as         PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=TRUE
LINK      : plus       /usr/local/bin/g77 \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSB.o \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/AIPSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLLINUX/SUBLIB 
\
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/YSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/YSS/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLLINUX/SUBLIB 
\
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLLINUX/SUBLIB 
\
LINK      :            
/home/aips/AIPS/31DEC02/LINUX/LIBR/GNU/libreadline.a \
LINK      :            -ltermcap \
LINK      :             -s \
LINK      :            -o /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSB.EXE
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
LINK      : Status from /usr/local/bin/g77 is 1
LINK      : Link of    /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSB.o
LINK      : dies from wimpy compiler
LINK      : Dies of unnatural causes.
COMLNK    : Link failed!
COMLNK    : Deleted    /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSB.o
COMLNK    : Deleted    /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSB.f
COMLNK    : Date       Sun Apr 21 16:44:20 MDT 2002
PP        : Preprocess /home/aips/AIPS/31DEC02/AIPS/PGM/AIPSC.FOR
PP        : into       /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f
FC        : Date       Sun Apr 21 16:44:21 MDT 2002
FC        : Interpret  FC  \
FC        :            /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f
FC        : as         LIST=FALSE PURGE=FALSE
FC        : plus       /usr/local/bin/g77 -c -fno-automatic -fno-globals 
-Wno-globals -malign-double -Wimplicit -Wall -O -fexpensive-optimizations 
-funroll-loops -fstrength-reduce -frerun-cse-after-loop -fforce-mem 
-fforce-addr -fcaller-saves \
FC        :            /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f
/home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f: In subroutine `cu2':
/home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f:751: warning: unused variable 
`tskdly'
/home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f:749: warning: unused variable 
`luntd'/home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f:746: warning: unused 
variable `luntty'
FC        : Compile of /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f
FC        : ends successfully.
FC        : Ends successfully
LINK      : Date is... Sun Apr 21 16:44:22 MDT 2002
LINK      : Interpret  LINK \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.o
LINK      : as         PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=TRUE
LINK      : plus       /usr/local/bin/g77 \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.o \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/AIPSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLLINUX/SUBLIB 
\
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/YSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/YSS/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLLINUX/SUBLIB 
\
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLSUB/SUBLIB \
LINK      :            /home/aips/AIPS/31DEC02/LINUX/LIBR/APLLINUX/SUBLIB 
\
LINK      :            
/home/aips/AIPS/31DEC02/LINUX/LIBR/GNU/libreadline.a \
LINK      :            -ltermcap \
LINK      :             -s \
LINK      :            -o /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.EXE
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
LINK      : Status from /usr/local/bin/g77 is 1
LINK      : Link of    /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.o
LINK      : dies from wimpy compiler
LINK      : Dies of unnatural causes.
COMLNK    : Link failed!
COMLNK    : Deleted    /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.o
COMLNK    : Deleted    /home/aips/AIPS/31DEC02/LINUX/PREP/AIPSC.f

On Sun, 21 Apr 2002, Eric Greisen wrote:

> George Heald writes:
> 
>  > My name is George Heald; I'm at the U of New Mexico. I recently attempted 
>  > to install 31DEC02 on my RedHat 7.2 machine and have run into some 
>  > problems. First off, I have installed the correct compiler set as 
>  > suggested (gcc-2.95.3), and have looked fairly hard online for answers to 
>  > my question. The problem comes when using the Install Wizard:
>  > 
>  > ----
>  > In file included from xas.c:31:
>  > xas.h:52:22: X11/Xlib.h: No such file or directory
>  > xas.h:53:23: X11/Xutil.h: No such file or directory
>  > xas.h:54:24: X11/keysym.h: No such file or directory
>  > In file included from xas.c:31:
>  > xas.h:81:33: X11/extensions/XShm.h: No such file or directory
>  > make: *** [xas.o] Error 1
>  > AipsWiz: Error: Failed to build the XAS program.
>  > AipsWiz: Error: This means no AIPS TV will be available.
>  > AipsWiz: ==> Press <ENTER> to acknowledge::
>  > ----
> 
>       This suggests that X11 was not installed on your computer.
> These .h files should be in the area /usr/include/X11.
> 
>  > 
>  > I found an old help article which indicated that 16-bit color depth might 
>  > be the problem. However my display is set for 24-bit color. It appears 
>  > that there are some missing header files but I don't know exactly where 
>  > they should be located. Can you offer some assistance?
> 
>       The 16/24 bit is a run time problem and you seem to be ready to
> run if we can only compile
> 
>  > 
>  > I've also had problems with compiling the libraries at the end of the 
>  > process ("wimpy" compiler errors), but I have found some help online which 
>  > I need to sift through.
> 
> Send me some of the messages and let me see what you are getting.  The
> on-line help will probably not help....
> 
> Eric Greisen
> 




More information about the Daip mailing list