Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Install problems

Moderators: larsivi kris

Posted: 06/03/07 09:42:43

Hello,

i try to install tango with gdc 0.23 on Linux Debian stable. gdc 0.23 is installed.

That is what i have done:
svn co http://svn.dsource.org/projects/tango/branches/D1_0/0.98/
./build-gdc.sh
cp -Rf lib/libgphobos.a /usr/local/lib
cp -f object.di /usr/local/include/d/4.1.2/
cp -Rf tango/ /usr/local/include/d/4.1.2/

hansen@hansen-lx:~/dd$ rebuild hello_tango.d
WARNING: Module hello_tango.d does not have a module declaration. This can cause problems

with rebuild's -oq option. If an error occurs, fix this first.

My hello_tango.d file:

import tango.io.Console;

void main()
{
   Cout("Hello, World").newline;
}

What does the warning mean?
WARNING: Module hello_tango.d does not have a module declaration. This can cause problems

with rebuild's -oq option. If an error occurs, fix this first.

Manfred

Author Message

Posted: 06/03/07 20:44:36

This warning is created by rebuild, which likes programs to explicitly have module names. It is not a problem with Tango.