[Issue 17022] New: brew install dmd has a bug in its creation of dmd.conf

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Dec 23 02:42:14 PST 2016


https://issues.dlang.org/show_bug.cgi?id=17022

          Issue ID: 17022
           Summary: brew install dmd has a bug in its creation of dmd.conf
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: timothee.cour2 at gmail.com

brew install dmd has a bug in its creation of dmd.conf:

$homebrew_D/etc/dmd.conf should be a symlink (eg to
../Cellar/dmd/2.072.1/etc/dmd.conf)

just like 

$homebrew_D/bin/dmd is a symlink to ../Cellar/dmd/2.072.1/bin/dmd


Without it, it causes conflict issues when using several versions of dmd:

brew install dmd (subsequent versions, eg 2.071.1 2.072.1)

$homebrew_D/Cellar/dmd/2.071.1/bin/dmd --help|grep Config
Config file: $homebrew_D/etc/dmd.conf

$homebrew_D/Cellar/dmd/2.072.1/bin/dmd --help|grep Config
Config file: $homebrew_D/etc/dmd.conf

=> they use the same dmd.conf, which is incorrect.

--


More information about the Digitalmars-d-bugs mailing list