www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9108] New: Running dmd generates an error

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

           Summary: Running dmd generates an error
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: alexander alexandermohn.com



Running dmd on my Ubuntu 12.04 generates an error.

1. Download  dmd.2.060.zip

2. Install D (Using the installation instructions on
www.dlang.org/dmd-linux.html) To do this successfully, you must replace /bin/
with either /bin32/ or /bin64/ depending on the operating system, due to the
fact that this zip does not have a /linux/bin/ path.

3. Attempt to compile a D file.

This generates the error:
Error: module object is in file 'object.d' which cannot be read
import path[0] = /etc/../../src/phobos
import path[1] = /etc/../../src/druntime/import

It should compile the D source code into a binary that can run successfully on
the system.

This occurs with DMD 2.060 on Ubuntu 12.04.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 02 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9108


Maxim Fomin <maxim maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim maxim-fomin.ru



---

 Error: module object is in file 'object.d' which cannot be read
 import path[0] = /etc/../../src/phobos
 import path[1] = /etc/../../src/druntime/import
 
Probably you have /etc/dmd.conf from previous installation. Normally these files are in /usr/include/d/... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 02 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9108


Maxim Fomin <maxim maxim-fomin.ru> changed:

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



---
Since this is environment misconfiguration, marked as WORKSFORME

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