[daip] [HelpDesk #19384] Using AIPS remotely
Eric Greisen
egreisen at nrao.edu
Mon Jun 26 13:16:02 EDT 2006
Adam Ginsburg writes:
> "My" computer is sum-ginsburg.aoc.nrao.edu, and it runs AIPS alright.
> sum-ginsburg is a summer student computer, which may be why you don't
> know it.
>
> The errors I'm getting are extensive. I'm attempting to update X, but I
> had it and gcc installed already, so I don't know why I'm getting these
> errors.
You are not entitled to modify the public areas in aips at the
aoc. Your previous e-mail made no mention of attempting to use our
public system.
AMY - PLEASE GO SEE WHAT THIS PERSON IS DOING!!!!!!!!!!!!!!!!!
Eric Greisen
>
> [adam at localhost XAS]$ cd /AIPS
> [adam at localhost AIPS]$ . LOGIN.SH
> [adam at localhost AIPS]$ $CDTST
> AIPS_VERSION=/AIPS/31DEC06
> [adam at localhost AIPS]$ cd $YSERV/XAS
> [adam at localhost XAS]$ make
> /usr/bin/gcc -D_BSD -DUSE_SHM -O2 -c xas.c
> In file included from xas.c:31:
> xas.h:52:22: error: X11/Xlib.h: No such file or directory
> xas.h:53:23: error: X11/Xutil.h: No such file or directory
> xas.h:54:24: error: X11/keysym.h: No such file or directory
> xas.h:81:33: error: X11/extensions/XShm.h: No such file or directory
> In file included from xas.c:31:
> xas.h:88: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
> ?connected?
> xas.h:204: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?XasDebug?
> xas.h:205: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?XDebug?
> xas.h:206: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?ByteSwapped?
> xas.h:207: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?ByteSwapDisp?
> xas.h:208: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?RedBigger?
> xas.h:209: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?*? token
> xas.h:211: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?cursor?
> xas.h:212: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?win?
> xas.h:213: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?ImageGC?
> xas.h:216: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?*? token
> xas.h:217: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?*? token
> xas.h:218: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?*? token
> xas.h:225: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?*? token
> xas.h:234: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?plane_info?
> xas.h:235: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?graph_info?
> xas.h:236: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?line_info?
> xas.h:275: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?TV_colour?
> xas.h:276: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?*? token
> xas.h:277: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?fg_curs?
> xas.h:417: error: expected ?)? before ?*? token
> xas.h:419: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?XSetIOErrorHandler?
> xas.h:433: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
> before ?is_complete?
> xas.h:435: error: expected ?)? before ?*? token
> xas.h:459: error: expected ?)? 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: expected ?;? before ?report?
> xas.c:45: error: ?KeySym? undeclared (first use in this function)
> xas.c:45: error: expected ?;? before ?key?
> xas.c:47: error: ?XComposeStatus? undeclared (first use in this function)
> xas.c:47: error: expected ?;? before ?compose?
> xas.c:61: error: ?False? undeclared (first use in this function)
> xas.c:78: error: ?display? undeclared (first use in this function)
> xas.c:103: error: ?win? undeclared (first use in this function)
> xas.c:119: error: ?report? undeclared (first use in this function)
> xas.c:122: error: ?connected? undeclared (first use in this function)
> xas.c:138: error: ?XasDebug? undeclared (first use in this function)
> xas.c:171: error: ?True? undeclared (first use in this function)
> xas.c:206: error: ?XDebug? 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: expected expression before ?)? token
> xas.c:232: error: ?key? undeclared (first use in this function)
> xas.c:234: error: ?ConfigureNotify? undeclared (first use in this function)
> xas.c: In function ?ProcessAipsRequest?:
> xas.c:281: error: ?XDebug? undeclared (first use in this function)
> xas.c:288: error: ?XasDebug? undeclared (first use in this function)
> xas.c:298: error: ?connected? undeclared (first use in this function)
> xas.c:298: error: ?False? undeclared (first use in this function)
> make: *** [xas.o] Error 1
>
>
> Eric Greisen wrote:
> > Please use daip at nrao.edu for aips questions.
> >
> > > > From helpdesk at aoc.nrao.edu Sun Jun 18 21:53:49 2006
> > > >
> > > > >From: Adam Ginsburg <keflavich at gmail.com>
> > > > >To: helpdesk at aoc.nrao.edu
> > > > >Subject: Using AIPS remotely
> > > >
> > > > I'm trying to run AIPS remotely, from a desktop on NM Tech campus but
> > > > not at the AOC. From the cookbook section 12.4, I think I should be
> > > > able to do that, but I've run into a few problems. First, I tried
> > > > SSH-ing into my computer and running "aips tv=local", but that gives me
> > > > this error:
> >
> > I need a bit more information here. You sat SSH-ing into "my"
> > computer. What computer is that? A computer at the NRAO that can run
> > AIPS when you are sitting in front of it? The aips tv=local starts
> > an XAS server on that computer (assuming it is a real aips computer)
> > with Unix sockets and then must open a display window on your computer
> > addressed by the $DISPLAY variable. It appears that your computer at
> > Tech is refusing the connection or that the $DISPLAY variable is not
> > set.
> >
> > In fact the message about sum-ginsburg below suggests to me that you
> > are trying something on machines that do not run aips at all. At
> > least I do not know that name.
> >
> > > >
> > > > XAS: cannot connect to X server :0
> > > > UNIXSERVERS: Start message server MSSRV1 on sum-ginsburg, display :0
> > > > Xlib: connection to ":0.0" refused by server
> > > > Xlib: No protocol specified
> > > >
> > > > xterm Xt error: Can't open display: :0
> > > > Xlib: connection to ":0.0" refused by server
> > > > Xlib: No protocol specified
> > > >
> > > > xterm Xt error: Can't open display: :0
> > > >
> > > >
> > > > (I'm running the latest Fedora Core linux)
> > > >
> > > > Then, I tried to install AIPS on my computer. The whole of the install
> > > > was successful, except the important part: the XAS install failed, and I
> > > > can't find either a log of why it failed or any way to attempt to
> > > > reinstall just that component.
> > > >
> > > > What do you recommend? Do you need more information?
> >
> > The failure of XAS was displayed during the installation. I am
> > assuming that you were compiling AIPS locally on your machine. I
> > actually now recommend that you do not do that but do a binary
> > installation. To do the binary
> >
> > perl install.pl -n
> >
> > where the -n does the binary instead of local compile version.
> >
> > To check your XAS failure:
> >
> > cd $AIPS_ROOT
> > source LOGIN.CSH (or . LOGIN.SH for bash)
> > $CDTST
> > cd $YSERV/XAS
> > make
> >
> >
> > Eric Greisen
> >
> >
More information about the Daip
mailing list