"Duke Normandin" <[email protected]> wrote in message news:[email protected]... > Hello list... > > I'm new to D, but not programming.
Welcome to D :) > I've followed the instructions on > > http://www.digitalmars.com/d/2.0/dmd-osx.html > > However, I keep on getting this error: > > dnormandin@ ~/programming/dmd2/code > 04:38 pm >> dmd -w firstApp.d > object.d: 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 > > My guess is that dmd.conf is hosed somehow. I haven't edited the > default one - I've got it living in /etc/. > -- > Duke Looks like those instructions need to be fixed. The file dmd.conf is expecting to live in the same directory as the DMD executable (ie, "{wherever you unzipped DMD}/osx/bin/" ). Deleting it out of /etc/ should work. Or, if you really wanted, you could edit it (it's a pretty simple text file) and change the paths to point to the right places (Just replace "%...@p%" with ""{wherever you unzipped DMD}/osx/bin/") BTW, these sorts of things are probably best asked over in "digitalmars.D.learn".
