[dmd-beta] dmd 2.065 beta 1
Jordi Sayol
g.sayol at yahoo.es
Mon Jan 20 04:16:33 PST 2014
On Linux, last beta do not read "/etc/dmd.conf"
----
$ dmd -run hello_world.d
Error: cannot find source code for runtime library file 'object.d'
dmd might not be correctly installed. Run 'dmd -man' for installation instructions.
Specify path to file 'object.d' with -I switch
----
adding -I switches with the same paths in "/etc/dmd.conf" fix the problem.
BTW, I see that dmd.conf has changed from:
----
[Environment]
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import -L-L%@P%/../lib32 -L-L%@P%/../lib64 -L--no-warn-search-mismatch -L--export-dynamic
----
to
----
[Environment32]
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import -L-L%@P%/../lib32 -L--export-dynamic
[Environment64]
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import -L-L%@P%/../lib64 -L--export-dynamic
----
Should I change deb/rpm packages to these two new sections?
--
Jordi Sayol
More information about the dmd-beta
mailing list