Re: AfterStep on HP-UX 10.20?

Chris Ridd (
Mon, 10 Aug 1998 13:02:22 +0100

On Fri, 07 Aug 1998 16:52:18 -0000, Ben Tracy wrote:
> Howdy!
> I have managed to port AfterStep to my HP-UX (also referred to as HPSUX)
> 10.10 box.  Like you've found, most of the catch is include files being in
> different places.  (On mine, I had a heap of trouble with xpm.h.) The
> thing to do is go over to /usr/include on your machine and from your
> command line prompt put in the following command:
> find . -name Xlib.h
> This command will produce output like the following:
> ./X11/Xlib.h
> ./X11R5/X11/Xlib.h
> (at least it does on my box.. YMMV) 
> Then what you have to do is every source file that has that include
> problem, you must add one of those paths that you got from the find
> command, ommitting the first period and slash.  So, if I wanted to use the
> second of the paths above I would replace the old Xlib.h include with:
> #include <X11R5/X11/Xlib.h>

You shouldn't need to edit the source files; look at your compiler 
options. Especially look at the -I option...

All this stuff should be set properly when you use imake/xmkmf, so you 
might want to look at that to see why it isn't working properly.