Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 07, 2003 Config problem with 0.75? | ||||
---|---|---|---|---|
| ||||
Attachments: | Any suggestions as to what is going on here would be greatly appreciated. Summary: Error: Error reading file 'std/c/linux/linux.d' Details: with the test program: //import std.file; //import std.stream; import std.c.stdio; int main (char[][] args) { return 9; } running dmd -v test.d yields: parse test semantic test semantic2 test semantic3 test code test generating code for function 'main' gcc test.o -o test -lphobos -lpthread -lm but if I uncomment one of the imports, say, std.file, I get: dmd -v test.d parse test semantic test Error: Error reading file 'std/c/linux/linux.d' I have dmd installed in /usr/local/dmd. My path is: /usr/SmartEiffel/bin:...:/usr/local/dmd/bin:/usr/local/bin:... echo $DFLAGS yields: -I/usr/local/dmd/src/phobos /etc/dmd.conf and /usr/local/bin/dmd.conf yield the same value as $DFLAGS, but that value is set in ~/.bashrc |
November 07, 2003 Re: Config problem with 0.75? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Hixson | In article <bof9h7$2ukb$1@digitaldaemon.com>, Charles Hixson says... > >This is a multi-part message in MIME format. >--------------000105010405000703000007 >Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit > >Any suggestions as to what is going on here would be greatly >appreciated. >Summary: Error: Error reading file 'std/c/linux/linux.d' What's going on is that the person that made the phobos conversion for new structure made a bad job (I can't spell lowsy). you need to move the linux directory to std/c (or some thing like that). also there are many "import" that didn't get the "private" access modifier. Ant |
November 07, 2003 Re: Config problem with 0.75? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Hixson | "Charles Hixson" <charleshixsn@earthlink.net> wrote in message news:bof9h7$2ukb$1@digitaldaemon.com... > Any suggestions as to what is going on here would be greatly > appreciated. > Summary: Error: Error reading file 'std/c/linux/linux.d' It's an error I made making the install. To fix: mv dmd/src/phobos/std/linux/* dmd/src/phobos/std/c/linux |
November 07, 2003 Re: Config problem with 0.75? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Thanks. Problem solved. mv was rephrased to
mv dmd/src/phobos/std/linux dmd/src/phobos/std/c
I hope this won't cause any problems. (OTOH, by the time I'm doing anything advanced we'll probably be beyond version 0.8 :-)
Walter wrote:
> "Charles Hixson" <charleshixsn@earthlink.net> wrote in message
> news:bof9h7$2ukb$1@digitaldaemon.com...
>
>>Any suggestions as to what is going on here would be greatly
>>appreciated.
>>Summary: Error: Error reading file 'std/c/linux/linux.d'
>
>
> It's an error I made making the install. To fix:
>
> mv dmd/src/phobos/std/linux/* dmd/src/phobos/std/c/linux
>
>
|
November 07, 2003 Re: Config problem with 0.75? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Hixson | "Charles Hixson" <charleshixsn@earthlink.net> wrote in message news:bogq35$21sa$1@digitaldaemon.com... > Thanks. Problem solved. mv was rephrased to > mv dmd/src/phobos/std/linux dmd/src/phobos/std/c > > I hope this won't cause any problems. I hope not (btw, I also corrected the dmd.zip on the web site). |
Copyright © 1999-2021 by the D Language Foundation