[daip] Re: AIPS installation problems

Eric Greisen egreisen at nrao.edu
Tue Jul 22 18:27:59 EDT 2003


Casey Law writes:

 > >         Regarding the X11 compilation error:  I see that I *do* have a
 > > directory /usr/include/X11, but it is not a link to the /usr/X11R6/X11
 > > directory.  Here are it's contents:
 > > 
 > > -------------------- 
 > > [claw at byrd aips]$ ls /usr/include/X11/
 > > bitmaps/
 > > [claw at byrd aips]$ ls /usr/include/X11/bitmaps/
 > > netactive     netstop     xm_hour16m      xm_noenter16   xm_question
 > > netactiveout  netwaiting  xm_hour32       xm_noenter16m  xm_warning
 > > netinactive   xm_error    xm_hour32m      xm_noenter32   xm_working
 > > netstart      xm_hour16   xm_information  xm_noenter32m
 > > --------------------
On my linux machine

primate<315>$ cd /usr/X11R6/include/X11
/usr/X11R6/include/X11
primate<316>$ ls
ap_keysym.h   cursorfont.h  keysymdef.h  RectObj.h     VendorP.h  Xcms.h        XKBlib.h   Xos_r.h      XWDFile.h
bitmaps/      DECkeysym.h   keysym.h     RectObjP.h    X10.h      Xdefs.h       Xlib.h     xpm.h
Composite.h   extensions/   magick/      Shell.h       Xalloca.h  Xdmcp.h       Xlibint.h  Xpoll.h
CompositeP.h  fonts/        Object.h     ShellP.h      Xarch.h    XF86keysym.h  Xlocale.h  Xproto.h
ConstrainP.h  HPkeysym.h    ObjectP.h    SM/           Xatom.h    Xft/          Xmd.h      Xprotostr.h
Constraint.h  ICE/          PEX5/        StringDefs.h  Xauth.h    Xfuncproto.h  Xmu/       Xresource.h
Core.h        Intrinsic.h   pixmaps/     Sunkeysym.h   Xaw/       Xfuncs.h      Xosdefs.h  Xthreads.h
CoreP.h       IntrinsicP.h  PM/          Vendor.h      Xaw3d/     X.h           Xos.h      Xutil.h
primate<317>$ ls bitmaps
1x1          dimple1     flipped_gray  icon          mailfull      netactiveout  right_ptrmsk  taller.xbm   wingdogs
2x2          dimple3     FlipVert      keyboard16    mailfullmsk   netinactive   right.xbm     target       woman
black        dot         Fold          keyboard.xbm  mensetmanus   netstart      root_weave    Term         xfd_icon
black6       Down        gray          ldblarrow     menu10        netstop       RotateLeft    terminal     xlogo11
box6         down.xbm    gray1         Left          menu12        netwaiting    RotateRight   tie_fighter  xlogo16
boxes        dropbar7    gray3         left_ptr      menu16        noletters     scales        Up           xlogo32
calculator   dropbar8    grid16        left_ptrmsk   menu6         opendot       shorter.xbm   up.xbm       xlogo64
card.xbm     escherknot  grid2         left.xbm      menu8         opendotMask   sipb          vlines2      xsnow
cntr_ptr     Excl        grid4         letters       monitor.xbm   plaid         star          vlines3
cntr_ptrmsk  flagdown    grid8         light_gray    mouse.xbm     rdblarrow     starMask      weird_size
cross_weave  flagup      hlines2       mailempty     narrower.xbm  Right         stipple       wider.xbm
Dashes       FlipHoriz   hlines3       mailemptymsk  netactive     right_ptr     Stipple       wide_weave

 > >  
 > > Should this just be a symbolic link to /usr/X11R6/X11/?  For fun,
I added
                                                      include/X11

 > > a symbolic link to /usr/X11R6/X11/ from /usr/include, but that didn't seem
 > > to change the error message when compiling with install.pl
 > >         Also, I found the references to "31DEC02" in my .AIPSRC and
 > > CCOPTS.SH and changed them to "31DEC03".  I noticed that there were
 > > several CCOPTS.SH files and even two under directories named "LINUX";
 > > only one of these had references to 31DEC02, so I assume only that needed
 > > to change.

         I said in $SYSLOCAL - do not touch any other CCOPTS.SH.  That
one should be at $AIPS_ROOT/$TST/$ARCH/SYSTEM/$SITE/

         The .AIPSRC is in your home area.

 > >         After making this change, the install.pl script gets further, but
 > > still fails.  Here's a log of the end of the error messages.
 > > 
 > > ------------------- 
 > > PP        : Preprocess /usr/local/aips/31DEC03/AIPS/PGM/SETTVP.FOR
 > > PP        : into       /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.f
 > > FC        : Date       Tue Jul 22 14:22:20 CDT 2003
 > > FC        : Interpret  FC  \
 > > FC        :            /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.f
 > > FC        : as         LIST=FALSE PURGE=FALSE
 > > FC        : plus       /usr/local/bin/g77 -c -fno-automatic -fno-globals
 > > -Wno-globals -malign-double -Wimplicit -Wall -O2 \
 > > FC        :            /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.f
 > > FC        : Compile of /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.f
 > > FC        : ends successfully.
 > > FC        : Ends successfully
 > > LINK      : Date is... Tue Jul 22 14:22:21 CDT 2003
 > > LINK      : Interpret  LINK \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.o
 > > LINK      : as         PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=TRUE
 > > LINK      : plus       /usr/local/bin/g77 \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.o \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/AIPSUB/SUBLIB \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB
 > > \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/YSUB/SUBLIB \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/YSS/SUBLIB \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/APLSUB/SUBLIB \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB
 > > \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/APLSUB/SUBLIB \
 > > LINK      :            /usr/local/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB
 > > \
 > > LINK      :
 > > /usr/local/aips/31DEC03/LINUX/LIBR/GNU/libreadline.a \
 > > LINK      :            -lncurses \
 > > LINK      :             -s \
 > > LINK      :            -o /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.EXE
 > > /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.o(.text+0x5a0): In function
 > > `MAIN__':
 > > : undefined reference to `tvopen_'
 > > /usr/local/aips/31DEC03/LINUX/PREP/SETTVP.o(.text+0x5d4): In function
 > > `MAIN__':
 > > : undefined reference to `tvclos_'
 > > /usr/local/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB(ZFIO.o)(.text+0x17a):
 > > In function `zfio_':
 > > : undefined reference to `zfi2_'
 > > /usr/local/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB(ZOPEN.o)(.text+0x45e):
 > > In function `zopen_':
 > > : undefined reference to `zdaopn_'
 > > /usr/local/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB(ZTTCLS.o)(.text+0x6b):
 > > In function `zttcls_':
 > > : undefined reference to `zttcl2_'

These indicate to me that INSTEP2 did not run to completion at all.
Take a look at the end of INSTEP2.LOG and at all of the *.LIS files in
the $AIPS_ROOT/$TST/LINUX/INSTALL area.  TVOPEN is in YSUB.LIS and
should have a - in front of it.

Eric Greisen



More information about the Daip mailing list