Re: AfterStep on HP-UX 10.20?

Ben Tracy (
Fri, 7 Aug 1998 16:52:18 +0000 (GMT)


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:


(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>

This should work for most if not all include files that are placed

Welcome to the not-so-wonderful world of Unix/C porting! ;-)

| Ben Tracy              |                                            |
| WSI Corporation        | If a man speaks in a forest with no woman  |
| Billerica,MA           | around to hear him, is he still wrong?     |
|    |                                            |

On Fri, 7 Aug 1998, Ken Martindale wrote:

>        I hope I'm not asking in the wrong place, but this seems to be
>      the only forum I can find for discussion of AfterStep.  Anyway,
>      I have been using AfterStep on my Linux box for some time and I
>      recently got the idea of installing it on my HP-UX workstation as
>      well, however, I have been having some difficulty doing so.  I
>      found no reference to such an attempt in the FAQ or anywhere in
>      the documentation.  My first problem was that Imake wasn't
>      installed.  I got that fixed OK, but I'm still unable to get make
>      to operate properly (i.e. Can't open include file 'X11/Xlib.h').
>      I am still kind of new to this so it's probably something simple
>      having to do with the differences between Linux and HP-UX but so
>      far I haven't figured out exactly what.  Any help you can offer
>      would be greatly appreciated.
>      Thanks in advance,
>      -Ken (
> --
>    WWW:
>    FTP:
>    MAIL: