[Issue 16494] cannot find source code for runtime library after brew install in custom directory

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16494

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P1  |P2

--


[Issue 16494] cannot find source code for runtime library after brew install in custom directory

2016-09-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16494

Timothee Cour  changed:

   What|Removed |Added

 CC||timothee.co...@gmail.com

--- Comment #1 from Timothee Cour  ---
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

--