[daip] failure to compile

Eric Greisen egreisen at nrao.edu
Fri Aug 18 11:41:11 EDT 2006


Tim Paglione writes:

 > I'm installing the 31DEC05 package on a new Linux machine (over 31DEC01 -
 > don't cringe) and am having trouble compiling.  I've never had this problem
 > before, AIPS always installed without a hitch, so I'm stuck.  I used the
 > gcc-2.95.3 compiler since I thought that was the trouble, but it still
 > didn't make it all the way.  It doesn't compile XAS for the TV (says it
 > can't find some *.h files in X11/ and X11/extensions/, but I don't know
 > where exactly it's looking), and finally INSTEP2 fails to compile (had a lot
 > of "undefined reference to." messages).

Two suggestions

1) If you want to compile:
     a) Check the ~/.AIPSRC file and make sure that the CCOMOPT line
         refers to 31DEC05 rather than 31DEC01
     b) The XAS compile expects that in /usr/include in your system
        there will be a directory named X11.  This directory is
        normally a link
              X11 -> ../X11R6/include/X11/
        where files
            #include <X11/Xlib.h>
            #include <X11/Xutil.h>
            #include <X11/keysym.h>
        will be found.  If you have not set up the RPM for X11
        developers tools, this may be missing.
     c) The 2.95.3 compiler is a little long in the tooth.  The 3.4.4
        and 3.4.3 compilers are okay.  The 3.3.x ones are bad as are
        the 4.0 ones (and perhaps later).

2) If you do not compile any of your own aips code, you may want to
   take a binary installation instead.  The load modules are compiled
   with the Intel compiler and should run faster on your machine(s).
   Do this with
           perl install.pl -n


Eric Greisen




More information about the Daip mailing list