[daip] Help with AIPS -- Latest

Jonathan Mines mines at physics.technion.ac.il
Wed Jan 5 05:30:38 EST 2005


Eric,

I was, indeed, in $LOAD when I saw the empty file ./XAS.  While I was 
present at the time, I could not remember whether it was a binary 
installation or whether things were compiled locally.  I could not reach 
the person who handled it (He is on vacation.), so I went ahead assuming 
that things were compiled locally.  Unfortunately, either I was mistaken 
or there is another problem because I generated a long series of error 
messages.  (See Below.)  What do I do now?  Thank you for your assistance.

[mines at phbehar2 XAS]$ make clean
rm -f *.o xas XAS
[mines at phbehar2 XAS]$ make
/usr/bin/gcc  -D_BSD -DUSE_SHM -O2 -c xas.c
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
xas.h:81:33: X11/extensions/XShm.h: No such file or directory
In file included from xas.c:31:
xas.h:88: error: parse error before "connected"
xas.h:88: warning: data definition has no type or storage class
xas.h:204: error: parse error before "XasDebug"
xas.h:204: warning: data definition has no type or storage class
xas.h:205: error: parse error before "XDebug"
xas.h:205: warning: data definition has no type or storage class
xas.h:206: error: parse error before "ByteSwapped"
xas.h:206: warning: data definition has no type or storage class
xas.h:207: error: parse error before "ByteSwapDisp"
xas.h:207: warning: data definition has no type or storage class
xas.h:208: error: parse error before "RedBigger"
xas.h:208: warning: data definition has no type or storage class
xas.h:209: error: parse error before '*' token
xas.h:209: warning: data definition has no type or storage class
xas.h:211: error: parse error before "cursor"
xas.h:211: warning: data definition has no type or storage class
xas.h:212: error: parse error before "win"
xas.h:212: warning: data definition has no type or storage class
xas.h:213: error: parse error before "ImageGC"
xas.h:213: warning: data definition has no type or storage class
xas.h:216: error: parse error before '*' token
xas.h:216: warning: data definition has no type or storage class
xas.h:217: error: parse error before '*' token
xas.h:217: warning: data definition has no type or storage class
xas.h:218: error: parse error before '*' token
xas.h:218: warning: data definition has no type or storage class
xas.h:225: error: parse error before '*' token
xas.h:225: warning: data definition has no type or storage class
xas.h:234: error: parse error before "plane_info"
xas.h:234: warning: data definition has no type or storage class
xas.h:235: error: parse error before "graph_info"
xas.h:235: warning: data definition has no type or storage class
xas.h:236: error: parse error before "line_info"
xas.h:236: warning: data definition has no type or storage class
xas.h:275: error: parse error before "TV_colour"
xas.h:275: warning: data definition has no type or storage class
xas.h:276: error: parse error before '*' token
xas.h:276: warning: data definition has no type or storage class
xas.h:277: error: parse error before "fg_curs"
xas.h:277: warning: data definition has no type or storage class
xas.h:417: error: parse error before '*' token
xas.h:433: error: parse error before "is_complete"
xas.h:433: error: parse error before '*' token
xas.h:433: warning: data definition has no type or storage class
xas.h:435: error: parse error before '*' token
xas.h:459: error: parse error before "int"
xas.c: In function `main':
xas.c:44: error: `XEvent' undeclared (first use in this function)
xas.c:44: error: (Each undeclared identifier is reported only once
xas.c:44: error: for each function it appears in.)
xas.c:44: error: parse error before "report"
xas.c:45: error: `KeySym' undeclared (first use in this function)
xas.c:47: error: `XComposeStatus' undeclared (first use in this function)
xas.c:47: error: parse error before "compose"
xas.c:61: error: `False' undeclared (first use in this function)
xas.c:119: error: `report' undeclared (first use in this function)
xas.c:171: error: `True' undeclared (first use in this function)
xas.c:209: error: `Expose' undeclared (first use in this function)
xas.c:223: error: `ButtonPress' undeclared (first use in this function)
xas.c:226: error: `MotionNotify' undeclared (first use in this function)
xas.c:229: error: `KeyPress' undeclared (first use in this function)
xas.c:230: error: `XKeyEvent' undeclared (first use in this function)
xas.c:230: error: parse error before ')' token
xas.c:231: error: `key' undeclared (first use in this function)
xas.c:231: error: `compose' undeclared (first use in this function)
xas.c:234: error: `ConfigureNotify' undeclared (first use in this function)
xas.c: In function `ProcessAipsRequest':
xas.c:298: error: `False' undeclared (first use in this function)
make: *** [xas.o] Error 1
[mines at phbehar2 XAS]$

Jonathan




Eric Greisen wrote:

>Jonathan Mines writes:
>
>>From the first message I was going o tell you to look for a message
>like this:
>
> > OK... You can more or less disregard the previous e-mails.  I think we 
> > sort of figured out what the problem is, however, I am not certain what 
> > the easiest way to correct it is.  When I start up AIPS, the TEKSRV and 
> > MSGSRV windows open, but the TVSERV does not.  I get the message:
> > 
> > START_AIPS: I am GUESSING you are at a workstation called phbehar2
> > START_AIPS: Starting TV servers on phbehar2 asynchronously
> > START_AIPS:  - with Internet Sockets...
> > START_AIPS: Starting TPMON daemons on PHBEHAR2 asynchronously...
> > Starting up 31DEC05 AIPS with normal priority
> > Begin the one true AIPS number 1 (release of 31DEC05) at priority =   0
> > AIPS 1: You are assigned TV device/server   1
> > AIPS 1: You are assigned graphics device/server   1
> > AIPS 1: Enter user ID number
> > ?XASERVERS: TVSERV is already running on host phbehar2, user mines
> > XASERVERS: Start XAS on phbehar2, DISPLAY :0
> > /home/mines/bin/aips/31DEC05/SYSTEM/UNIX/XASERVERS: line 206: ./XAS: 
> > Permission denied
> > XASERVERS: TEKSRV is already running on host phbehar2, display :0, user 
> > mines
> > XASERVERS: MSGSRV is already running on host phbehar2, display :0, user 
> > mines
> > 
> > 
> > We checked.  The file ./XAS is not an executable file.  Indeed, it is 
> > completely empty.  Would it be correct to assume that there was a 
> > problem with the download?  What should/can I do now?  Thank you.
>
>./ means the local copy and was preceded by a cd to $LOAD.  Were youu
>in $LOAD when you saw an empty file?
>
>Assuming yes, did you do a binary install or did you compile things
>locally?
>
>If the latter:
>
>cd $AIPS_ROOT
>source LOGIN.CSH     (or . LOGIN.SH for bash)
>$CDTST
>cd $YSERV/XAS
>make clean
>make
>
>what happens?
>
>Eric Greisen
>
>  
>




More information about the Daip mailing list