[Issue 12205] New: Tools build process cannot find druntime and phobos

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 19 14:19:56 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12205

           Summary: Tools build process cannot find druntime and phobos
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
        AssignedTo: nobody at puremagic.com
        ReportedBy: joseph.wakeling at webdrake.net


--- Comment #0 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 2014-02-19 14:19:53 PST ---
The tools posix.mak has recently been updated to use DMD=../dmd/src/dmd instead
of assuming an already-installed system-wide dmd.

However, this has been done without also adding appropriate paths for druntime
and phobos, so the build will fail:

$ make -f posix.mak 
../dmd/src/dmd -m64  -ofgenerated/linux/64/rdmd rdmd.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
make: *** [generated/linux/64/rdmd] Error 1

For discussion thread (and a partial patch) see:
http://forum.dlang.org/thread/mailman.3.1392153392.6445.digitalmars-d-learn@puremagic.com

Tweak to DMD value in posix.mak was made in this commit:
https://github.com/D-Programming-Language/tools/commit/385f9959bab520af92722b1ad4f7ce428079c02c

... almost 2 months ago, so I don't know why no one has screamed 'til now. :-P

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list