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

From: Peter S Galbraith (
Date: Thu Mar 01 2001 - 11:26:39 EST

  • Next message: "XForms: fl_get_xyplot grief II: an example"

    # To subscribers of the xforms list from Peter S Galbraith <> :

    Steve Lamont wrote:

    > Under the GNU/Linux and *BSD systems where XForms
    > comes as a standard package, the /usr/X11R6/include/X11 or
    > /usr/include/X11 paths might be preferred.

    Debian GNU/Linux currently uses /usr/X11R6/include/X11

    But I point you to Debian's current policy:

         _Packages using the X Window System should abide by the FHS standard
         whenever possible_; they should install binaries, libraries, manual
         pages, and other files in FHS-mandated locations wherever possible.
         This means that files must not be installed into `/usr/X11R6/bin/',
         `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this is necessary for
         the package to operate properly. Configuration files for window
         managers and display managers should be placed in a subdirectory of
         `/etc/X11/' corresponding to the package name due to these programs'
         tight integration with the mechanisms of the X Window System.
         Application-level programs should use the `/etc/' directory unless
         otherwise mandated by policy. The installation of files into
         subdirectories of `/usr/X11R6/include/X11/' and `/usr/X11R6/lib/X11/'
         is permitted but discouraged; package maintainers should determine if
         subdirectories of `/usr/lib/' and `/usr/share/' can be used instead
         (symlinks from the X11R6 directories to FHS-compliant locations is
         encouraged if the program is not easily configured to look elsewhere
         for its files). Packages must not provide -- or install files into --
         the directories `/usr/bin/X11/', `/usr/include/X11/', or
         `/usr/lib/X11/'. Files within a package should, however, make
         reference to these directories, rather than their X11R6-named
         counterparts `/usr/X11R6/bin/', `/usr/X11R6/include/X11/', and
         `/usr/X11R6/lib/X11/', if the resources being referred to have not
         been moved to FHS-compliant locations.

    Perhaps this issue should be considered closely prior to the Open
    Source release, just to make sure it's right and doesn't need to
    be changed later.


    Peter Galbraith, research scientist          <>
    Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
    P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
        6623'rd GNU/Linux user at the Counter - 
    To unsubscribe, send the message "unsubscribe" to   or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Thu Mar 01 2001 - 06:39:00 EST