[Mono-list] Compiling on cyginw

Hervé Poussineau poussine@freesurf.fr
Wed, 16 Jul 2003 20:40:02 +0200


-----Message d'origine-----
De : "Hervé Poussineau" <poussine@freesurf.fr>

>8) *BUT !* I can't go further because I have a compile error with
>mono/metadata/socket-io.c
>socket-io.c: In function `convert_sockopt_level_and_name':
>socket-io.c:396: `SOL_IPV6' undeclared (first use in this function)

That's OK now for this problem (CVS update).

The next one is :
[...]
Making all in runtime
make[2]: Entering directory `/home/hpoussin/mono/runtime'
cp ../../mcs/class/lib/Accessibility.dll . || cp
C:/cygwin/home/hpoussin/install/lib/Accessibility.dll .
cp: cannot stat `../../mcs/class/lib/Accessibility.dll': No such file or
directory
cp: cannot stat `C:/cygwin/home/hpoussin/install/lib/Accessibility.dll': No
such file or directory
make[2]: [Accessibility.dll] Error 1 (ignored)
cp ../../mcs/class/lib/ByteFX.Data.dll . || cp
C:/cygwin/home/hpoussin/install/lib/ByteFX.Data.dll .
cp: cannot stat `../../mcs/class/lib/ByteFX.Data.dll': No such file or
directory
[...]

Is the mcs checkout automatic or not ?
- if it should be automatic, it doesn't work
- if not, how can I continue the compilation without these warnings ?

Later on compilation, I have quite the same messages :
[...]
Making install in runtime
make[1]: Entering directory `/home/hpoussin/mono/runtime'
cp ../../mcs/class/lib/Accessibility.dll . || cp
C:/cygwin/home/hpoussin/install/lib/Accessibility.dll .
cp: cannot stat `../../mcs/class/lib/Accessibility.dll': No such file or
directory
cp: cannot stat `C:/cygwin/home/hpoussin/install/lib/Accessibility.dll': No
such file or directory
make[1]: [Accessibility.dll] Error 1 (ignored)
cp ../../mcs/class/lib/ByteFX.Data.dll . || cp
C:/cygwin/home/hpoussin/install/lib/ByteFX.Data.dll .
cp: cannot stat `../../mcs/class/lib/ByteFX.Data.dll': No such file or
directory
[...]

At the end, I have the message :
Add /home/hpoussin/install/bin and /home/hpoussin/install/lib to $PATH
Don't forget to copy the class libraries to /home/hpoussin/install/lib

But I can't find anywhere mcs.exe, System.dll, and the other ones.
=>How can I compile the class library?

Hervé

PS: I already have a working copy of .NET SDK 1.1 and of Mono 0.25, so mcs
and csc commands are valid in cygwin shell.