www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4586] New: DMD should look for dmd.conf in /usr/local/etc

http://d.puremagic.com/issues/show_bug.cgi?id=4586

           Summary: DMD should look for dmd.conf in /usr/local/etc
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: llucax gmail.com


--- Comment #0 from Leandro Lucarella <llucax gmail.com> 2010-08-05 07:00:54
PDT ---
According to the FHS[1] (Filesystem Hierarchy Standard), "The /usr/local
hierarchy is for use by the system administrator when installing software
locally", so by default DMD should probably be installed there (and give a nice
and simple option in the makefile to let the package maintainers change that to
/usr, probably using the well known "prefix" variable).

Anyway, even when things installed in /usr/local could have their config files
in /etc directly, it is recommended to use /usr/local/etc instead, in case you
want to install a local version of a program already installed as a package.

DMD should then look for dmd.conf in /usr/local/etc before looking in /etc.

[1] http://www.pathname.com/fhs/

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 05 2010