www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2488] New: object.d: module object cannot read file 'object.d'

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2488

           Summary: object.d: module object cannot read file 'object.d'
           Product: D
           Version: 2.021
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: adolf.mathias googlemail.com


All attempts to compile valid D files that worked with previous versions fail
with D 2.021 under Linux (Ubuntu 8.10) with the message
object.d: module object cannot read file 'object.d'


-- 
Dec 02 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2488


schveiguy yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from schveiguy yahoo.com  2008-12-02 14:39 -------
This is an installation issue, not a bug.  What is happening is the compiler
can't find the object.di file which contains the base Object code.  You should
pay careful attention to the installation instructions at digitalmars.com, and
if you still have issues, ask questions on IRC or on the digitalmars newsgroup
here:
http://www.digitalmars.com/webnews/newsgroups.php?search_txt=&group=digitalmars.D.learn


-- 
Dec 02 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2488





------- Comment #2 from torhu yahoo.com  2008-12-03 00:26 -------
Could be the same problem as issue 2476, try the solution posted there.

http://d.puremagic.com/issues/show_bug.cgi?id=2476


-- 
Dec 02 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2488





------- Comment #3 from adolf.mathias googlemail.com  2008-12-03 01:33 -------
Alright, the following change to dmd.conf did it.

DFLAGS=-I% P%/../src/phobos -I% P%/../src/druntime/import -L-L% P%/../lib

I don't mind if that is necessary now while it wasn't before. It's just that
the -I% P%/../src/druntime/import isn't documented in the downloaded docs, nor
in the installation doc under 

http://www.digitalmars.com/d/2.0/dmd-linux.html

(I grep'ped for src/druntime through all the 2.021 tree, and paid careful
attention to said web page.) 

So I'd consider this a bug in the documentation and the default dmd.conf. But
you're the boss...


-- 
Dec 02 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2488


schveiguy yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Comment #4 from schveiguy yahoo.com  2008-12-03 14:18 -------
D'oh!

My bad, it seems that the latest install of d 2 does not have the path
correctly in dmd.conf.  I'll reopen for you.

I'm sorry for my knee-jerk reaction.  The message you quote is quite common for
folks who did not follow the install instructions correctly, or decided to move
things around.


-- 
Dec 03 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2488


torhu yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #5 from torhu yahoo.com  2008-12-03 19:33 -------


*** This bug has been marked as a duplicate of 2476 ***


-- 
Dec 03 2008