On Tue, 25 May 2010, Nick Sabalausky wrote: > "Duke Normandin" <dukeofp...@ml1.net> wrote in message > news:mailman.43.1274754397.24349.digitalmar...@puremagic.com... > > Hello list... > > > > I'm new to D, but not programming. > > Welcome to D :)
Thank you! > > 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. I'm glad that in my noobiness, I've been able to contribute _something_ ;) > 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/") Kinda thought so - but thought I'd ask first, _before_ I started hacking and chopping. > BTW, these sorts of things are probably best asked over in > "digitalmars.D.learn". Thanks for the heads-up! -- Duke