Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!+ From: Damon.Lipparelli@cs.cmu.edu Newsgroups: comp.windows.x Subject: Building X11R4 on an hp800 system Message-ID: Date: 10 Jan 90 18:20:27 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 26 I have had a touch of trouble building X11R4 on my hp 835 running hpux 3.1. I found that the file ./server/os/4.2bsd/connection.c needed some modification to compile. I needed to define the structure sockaddr_un and define the variable unsock outside the #ifdef UNIXCONN (around line 240). After this, everything with the exception of xmh built fine. Everything built seems to run fine except for xman. I didn't want to get rid of the binaries, libraries, etc for X11R3 so I built X11R4 in a non-standard place. After major additions to site.def to get all of the directories built where I want them, I started the make World. Now, xman can't find the application defaults directory. Even with the XAPPLRESDIR variable set. The other applications need the XAPPLRESDIR var set, but otherwise work fine. I did some mucking around the code in ./lib/Xt/Initialize.c and found that xman gets the right application defaults file, but for some reason doesn't use it. The only way xman will come up is if I sym-link /usr/lib/X11/app-defaults (the current location of the X11R3 app-defaults) to the directory where I put the X11R4 app-defaults. I'm not sure where the bug in this lies, but I believe it must either be in xman or the hp800 server since all of the other applications can find the app-defaults once the var is set. Any ideas? Sorry if this is long-winded; any help would be greatly appreciated. Thanks, Damon Lipparelli (lipp@cs.cmu.edu)