Re: XForms: what is the proper directory for forms.h?

From: Rouben Rostamian (
Date: Tue Feb 27 2001 - 22:32:53 EST

  • Next message: Martin Heine: "Re: XForms: what is the proper directory for forms.h?"

    # To subscribers of the xforms list from "Rouben Rostamian" <> :

    Clive A Stubbings <> wrote:

    > Must admit it always looked a little strange to me too.
    > If the consensus is /usr/X11R6/include/X11 then I'm happy to
    > move them in my 0.89 rpms.
    > While I'm at it..
    > libs in /usr/X11R6/lib
    > bins in /usr/X11R6/bin
    > mans in /usr/X11R6/man
    > docs in /usr/doc/xforms-0.89
    > demos in /usr/lib/xforms
    > Anyone got any better ideas?

    These are pretty reasonable suggestions. You will also need to put
    forms.h somewhere. To be consistent with the above, it will go in


    Commonly /usr/include/X11/ is a symbolic link to the directory
    above. Because of that, users will #include forms.h by doing:

         #include <X11/forms.h>

    Alternatively, if you put form.h in /usr/include, users can simply say:

         #include <forms.h>

    Either /usr/X11R6/include/X11/ or /usr/include/ is acceptable to me.

    What do others think?

    Another comment:

    I am looking at the Red Hat distribution and SuSE distribution of
    Linux right now.

        Red Hat tend to keep /usr/X11R6/lib strictly for the core X
        Window development libraries, such as,, etc.,
        and puts all other libraries, X related or not, in /usr/lib.

        SuSE lumps all X related libraries in /usr/X11R6/lib.

    Again, I don't have a preference one way or another.

    Rouben Rostamian <>
    To unsubscribe, send the message "unsubscribe" to   or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Tue Feb 27 2001 - 17:40:34 EST