|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D.gnu - Error: Error reading file 'object.d'
I have just tried to install the Linux version of D on a (basically)
Debian system.
It seems to be installed. A plain dmd command yields the list of
command line options. But whenever I attempt to compile I get the
error message "Error: Error reading file 'object.d'".
The version is (downloaded on 08/28/2003):
...$ dmd
Digital Mars D Compiler Beta v0.70
Copyright (c) 1999-2003 by Digital Mars written by Walter Bright
www.digitalmars.com/d/index.html
Usage:
dmd files.d ... { -switch }
I've checked the /usr/local/D/dmd/src/phobos directory, and the file
is there.
The /etc/dmd.conf file is:
[Environment]
DFLAGS=-I/usr/local/D/dmd/src/phobos
And, in addition, phobos.a is in:
/usr/lib/libphobos.a
/usr/local/D/dmd/lib/libphobos.a
Any suggestions as to what's wrong?
Any other information I should supply?
Aug 29 2003
After reading the notes on the D list under the subject: bug on linux: Error: Error reading file 'object.d' (Starting on 08/27/2003) and downloading and installing the inifile.c which Walter supplied I was able to get the compiler to work IFF I included the -I directory on the command line, e.g.: dmd -I/usr/local/D/dmd/src/phobos sieve.d Including it as a DFlags variable in the environment didn't suffice. Aug 30 2003
In article <birnir$22u6$1 digitaldaemon.com>, Charles Hixson wrote:After reading the notes on the D list under the subject: bug on linux: Error: Error reading file 'object.d' (Starting on 08/27/2003) and downloading and installing the inifile.c which Walter supplied I was able to get the compiler to work IFF I included the -I directory on the command line, e.g.: dmd -I/usr/local/D/dmd/src/phobos sieve.d Including it as a DFlags variable in the environment didn't suffice. Aug 31 2003
|