I've been following the same procedure (mutatis mutandi) with versions 2.020 and 2.019, only the latter worked. Clearly there must be some issue related with the druntime lib which I am missing in the installation procedure. Any idea?
Cheers! Pablo Ripolles Wrote: > Hello, > > did anybody installed DMD 2.021 successfully in GNU/Linux? > > I get lots of similar errors such as the following, whenever I try to build a > plain "hello world". > /usr/local/lib/phobos/std/c/stdio.d(200): Error: identifier 'va_list' is not > defined > /usr/local/lib/phobos/std/c/stdio.d(200): Error: va_list is used as a type > /usr/local/lib/phobos/std/c/stdio.d(200): Error: cannot have parameter of > type void > > My /etc/dmd.conf has: > DFLAGS=-I/usr/local/lib/druntime/import -I/usr/local/lib/phobos > > I installed as root with: > install -p -m 0755 dmd/bin/dmd dmd/bin/obj2asm dmd/bin/dumpobj dmd/bin/rdmd > /usr/local/bin/ > install -p -m 0644 dmd/lib/libdruntime.a dmd/lib/libphobos2.a /usr/local/lib/ > (cd dmd/src/druntime/; find -name '*.d' | xargs tar -c) | (cd > /usr/local/lib/druntime/; tar -xv) > (cd dmd/src/druntime/; find -name '*.di' | xargs tar -c) | (cd > /usr/local/lib/druntime/; tar -xv) > (cd dmd/src/phobos/; find -name '*.d' | xargs tar -c) | (cd > /usr/local/lib/phobos/; tar -xv) > > Any idea of what I'm missing? > > By the way, I followed the same procedure with DMD 1.037 and it did work. > > Thanks a lot! > > > Walter Bright Wrote: > > > > > http://www.digitalmars.com/d/1.0/changelog.html > > http://ftp.digitalmars.com/dmd.1.037.zip > > > > > > > > http://www.digitalmars.com/d/2.0/changelog.html > > http://ftp.digitalmars.com/dmd.2.021.zip > > >
