This might be an isolated case, but it might also be an indication of deeper issues. If I try to include LuaD using RDMD, and the path I enter into the -I argument is longer than around 25 characters, RDMD fails with an error "Error: cannot read file dmd.d". For example: --------- #These work correctly: rdmd -ILuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I../LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I~/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -Iinclude/LuaD -L-llua --build-only -ofLuaTest LuaTest.d #These throw an error: rdmd -I../../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -Iprojecttest/include/LuaD -L-llua --build-only -ofLuaTest LuaTest.d rdmd -I~/Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d --------- Like I said, this only happens with LuaD for some reason. Perhaps because of the amount of files it has. I'm using RDMD build 20110706, DMD v2.054, openSUSE 11.4 x86_64.
This is likely just an instance of issue 6452. Please check if that's the case by checking RDMD's commandline to DMD with --chatty: rdmd --chatty -I../../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d
Yeap, I believe so, the output reads: dmd -I../../../../Documents/D/LuaD -Isrc -L-llua -v -o- 'clarcomage.d' -I'.' >clarcomage.d.deps dmd '@/tmp/.rdmd/rdmd.BCB020D4C2774917E15EAB178F8B5D3C.rsp' Error: cannot read file dmd.d So I guess it's resolved duplicate, then. *** This issue has been marked as a duplicate of issue 6452 ***