www.digitalmars.com         C & C++   DMDScript  

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

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

           Summary: module object cannot read file 'object.d'
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andy.elvey paradise.net.nz



PDT ---
This problem has been reported before, but I am reporting it again - it
*really* needs to be fixed. I'm using Ubuntu 10.04.   

I originally mentioned this problem on the D mailing-list here - 
http://www.mail-archive.com/digitalmars-d-learn puremagic.com/msg07626.html

I've tried installing D three ways - 
* Using the .deb file from Digital Mars. This seemed to install fine, but I got
the "cannot read file object.d" when I tried to compile a simple program. 

* Running "linux.mak" in the /src directory. Same error. 

* Using the ddebber tool. Seemed to install fine, but the same error again. 

The problem seems to be with the dmd.conf file, but the end-result is that the
install does not work "out-of-the-box". Knowing where the problem seems to be
is one thing - fixing it is quite another.  

An aside - it would be a *great deal of help* if the install process created a
log that you could refer to afterwards. 

I'm not a complete newbie. I've compiled and installed many applications in my
years on Linux, but few have given me as many problems as D. Even GHC (Haskell) 
which is a BIG application, installs and runs flawlessly. 

This problem is disappointing. I still believe that D is a great language, but
problems like this *really* need to be fixed for it to gain more users.     
- Andy

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 20 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5083




PST ---
** Update - 9th Nov 2010 ** 
I've just installed dmd 2.050 (using the one-click .deb package from dmd). 

The install went fine. However, when I type "dmd -v" at the terminal, this is
what I get - 

andy obsidian:~$ dmd -v
binary    dmd
version   v2.050
config    dmd.conf
parse     import
Error: cannot read file ... p/../../src/druntime/import.d
andy obsidian:~$  

So it looks like the file import.d can't be found. (I did a search for it and
that failed to find it too). If someone can let me know which directory it
should be in, that would be good. 

When I try to compile a very simple D program, I get the same error - 

dmd -w -c "hello.d" (in directory: /home/andy/d_stuff)
Compilation failed.
Error: cannot read file ... p/../../src/druntime/import.d

I hope this may be of some help.  At least the previous problem with the
object.d file seems to have gone (to be replaced with another problem,
unfortunately..). 

I am **really keen** to get dmd installed on my PC, so I'll do all that I can
to help with getting this problem fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 08 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5083


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com



14:03:32 PST ---
I cannot reproduce anything like what you're experiencing.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 19 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5083


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies gmail.com
         Resolution|                            |WORKSFORME



This sounds like a setup issue, not a problem with the compiler or the deb. 
Please reopen if anyone can reproduce with a recent version of the
compiler/installer.

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