Thread overview
[Issue 3408] New: compiler asks for object.d when it really expects object.di
Oct 16, 2009
Justin C Calvarese
Mar 10, 2010
Jonathan M Davis
Jul 11, 2010
eddie
Oct 28, 2012
Andrej Mitrovic
October 16, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3408

           Summary: compiler asks for object.d when it really expects
                    object.di
           Product: D
           Version: 2.035
          Platform: x86
               URL: http://dsource.org/forums/viewtopic.php?t=4790
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: technocrat7@gmail.com


--- Comment #0 from Justin C Calvarese <technocrat7@gmail.com> 2009-10-15 20:23:51 PDT ---
If a user has a problem with their path setup (such as a missing sc.ini), they will likely see this error message:

object.d: Error: module object cannot read file 'object.d'

Since DMD2 doesn't come with an object.d (but rather object.di), the error message should reflect that. Perhaps it should be:

object.d[i]: Error: module object cannot read file 'object.d[i]'

This error message could especially be frustrating for a new user who might be having difficulty setting up DMD.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 10, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3408


Jonathan M Davis <jmdavisProg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg@gmail.com


--- Comment #1 from Jonathan M Davis <jmdavisProg@gmail.com> 2010-03-10 15:55:55 PST ---
Actually, I'd argue in this particular instance, since we know that the compiler failing to find object.d means that the user doesn't have their paths set up correctly (probably due to a bad dmd.conf or a the wrong one being found first), it would be beneficial to give a much more specific error that indicated that dmd couldn't find the standard libraries because the paths or dmd.conf were not set up correctly.

Also, it would be very useful for the first time user if this problem were specifically mentioned on the installation page for dmd with instructions as to the likely causes (missing dmd.conf, poorly configured dmd.conf, find wrong dmd.conf first, etc). It would make it much friendlier for people to try and install D for the first time - particularly since this is a fairly common problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 11, 2010
add this to compiler search path -->dmd2\src\druntime\import or in DFLAGS environment variable
October 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3408


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich@gmail.com
         Resolution|                            |DUPLICATE


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-10-28 11:48:39 PDT ---
*** This issue has been marked as a duplicate of issue 7192 ***

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