digitalmars.D.learn - Module zlib cannot be read
- Joseph Rushton Wakeling (11/11) Apr 22 2012 Hello all,
- Jesse Phillips (7/10) Apr 22 2012 Do you see the file:
- Joseph Rushton Wakeling (5/13) Apr 22 2012 Ah! The need to copy the etc/ directory was missing from the instructio...
Hello all,
I currently have a self-compiled and installed dmd, druntime, phobos and rdmd
on
Ubuntu 12.04. I get the following error message whenever I try to use rdmd or
equivalently dmd -run:
/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/
Is this just a plain old bug in dev Phobos? Or is there something wrong with
my
setup (& if so, can anyone advise what it could be)?
Thanks & best wishes,
-- Joe
Apr 22 2012
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. If you do, I don't know why it is complaining.
Apr 22 2012
On 22/04/12 19:18, Jesse Phillips wrote:On Sunday, 22 April 2012 at 15:26:34 UTC, Joseph Rushton Wakeling wrote: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!/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.
Apr 22 2012








Joseph Rushton Wakeling <joseph.wakeling webdrake.net>