Module zlib cannot be read

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Apr 22 11:04:30 PDT 2012


On 22/04/12 19:18, Jesse Phillips wrote:
> On Sunday, 22 April 2012 at 15:26:34 UTC, Joseph Rushton Wakeling wrote:
>> /usr/local/include/d2/std/zlib.d(26): Error: module zlib is in file
>> 'etc/c/zlib.d' which cannot be read
>> import 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.

Ah!  The need to copy the etc/ directory was missing from the instructions I 
followed:
https://xtzgzorex.wordpress.com/2011/07/31/d-building-dmd-and-phobos-on-linux/

Done now, and rdmd works fine.  Thanks!


More information about the Digitalmars-d-learn mailing list