Thread overview
[Issue 16494] cannot find source code for runtime library after brew install in custom directory
Sep 14, 2016
Timothee Cour
Dec 17, 2022
Iain Buclaw
September 14, 2016
https://issues.dlang.org/show_bug.cgi?id=16494

Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com

--- Comment #1 from Timothee Cour <timothee.cour2@gmail.com> ---
was caused by installing linuxbrew on a mounted directory, except that the $HOME variable was ran on another machine when installed the first time, and had a different value from the $HOME on the machine where it was run a 2nd time.

What's weird is that the dmd.conf file existed at the correct location but DFLAGS defined there were wrong (pointing to old home); not sure why dmd -v|grep Config would return Config file: (null) in that case

cat $HOMEBREW_PREFIX/etc/dmd.conf
[Environment]
DFLAGS=-I/home/old_name/.linuxbrew/Cellar/dmd/2.071.1/include/dlang/dmd
-L-L/home/old_name/.linuxbrew/Cellar/dmd/2.07
1.1/lib

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=16494

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2

--
December 13
https://issues.dlang.org/show_bug.cgi?id=16494

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19188

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--