/usr/local/include/d2/std/zlib.d(26): Error: module zlib is in file 'etc/c/zlib.d' which cannot be readimport path[0] = /usr/local/include/d2/
Do you see the file: /usr/local/include/d2/etc/c/zlib.d ?If not, then you probably do not have etc copied over from Phobos like you will need to.
If you do, I don't know why it is complaining.