Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!math.liu.se!oldam From: oldam@math.liu.se (Olof Damberg) Newsgroups: comp.soft-sys.andrew Subject: HELP: Andrew applications will not create window. Message-ID: <9010131801.AA04901@math.liu.se> Date: 13 Oct 90 18:01:47 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 40 I got curious about the Andrew Toolkit, so I decided to take a few hours to install the stuff and test it to see what it could offer us. I took the Andrew distribution from the X11R4 release tape and patched it to PL 7 (plus the vui patch). The patch logs reported no errors. I compiled and installed the default set of programs plus MK_BASIC_UTILS on a root account on one of our SPARC servers (SUN4/390 named calc) The cc compiler was used with the CDEGUBFLAGS set to -O2 No radical changes in the site.h and the site.mcr files I defined DEFAULT_ANDREWDIR_ENV to /usr/share/lib/X11/Andrew The compilation and installation run without any pain whatsoever. Now, when I try to run ANY windowbased Andrew program I always get the following message: calc[~]>help -display wagner:0.0 Starting help (Version 7.2, ATK 15.1); please wait... No 'localhost' found in host table; creating new window. Could not open the display; this program will not run without a window system. help: failed to create new window; exiting. A look in the /etc/hosts file gives that it IS a 'localhost' defined. Is it looking in some other file (on what machine) ?? Needless to say, I am running X and every other X program I use runs smoothly. I have setenv ANDREWDIR /usr/share/lib/X11/Andrew setenv DISPLAY wagner:0.0 (This my SUN3/50 on the local net) and $ANDREWDIR/bin is in my PATH. SUNOS 4.0.3 Export ; X11R4 PL 18, MIT Xsun server. Maybe this info is insufficient for anyone to give me the solution to this, but ANY pointers are GREATLY appreciated. Another thing, I really miss some info file containing instructions for setting the Andrew system up, once it is installed. Is there such a file ? Perhaps I haven't looked closely enough... ------------------------------------------------------------- Olof Damberg | email: oldam@math.liu.se Dept of Math, Linkoping University | phone: +46 13 281473 S-581 83 Linkoping, SWEDEN | fax: +46 13 100746