[Mono-list] Newbie Compiling from CVS

Segovax Segovax@Insightbb.com
Sat, 07 Dec 2002 04:22:07 -0500


I couldn't get the mono-build.sh script to work so I've tried to install 
from anon CVS using the directions on the go-mono website.  

I've logged in and pulled down the mcs mono and gtk-sharp source.

I then enter the mono directory and type ./autogen.sh.
That seems to work fine.

However, when I run make, I get a myriad of errors that have me 
frustrated.  Can anyone please help :o)

This is a condensed stderr from make.
---------------------
In file included from ../../mono/os/gc_wrapper.h:6,
                 from mono-hash.c:40:
/usr/include/glib-2.0/gc/gc.h:203: warning: function declaration isn't a 
prototype
In file included from ../../mono/os/gc_wrapper.h:6,

...

/usr/include/glib-2.0/gc/gc.h:838: warning: function declaration isn't a 
prototype
assembly.c: In function `search_loaded':
assembly.c:62: warning: unused variable `size'
...

/usr/include/glib-2.0/gc/gc.h:838: warning: function declaration isn't a 
prototype
mono-config.c: In function `mono_config_init':
mono-config.c:211: warning: passing arg 2 of `g_hash_table_insert' 
discards qualifiers from pointer target type
mono-config.c:211: warning: passing arg 3 of `g_hash_table_insert' 
discards qualifiers from pointer target type
loader.c: In function `mono_add_internal_call':
loader.c:49: warning: passing arg 3 of `g_hash_table_insert' discards 
qualifiers from pointer target type
...

libtest.c:196: warning: assignment discards qualifiers from pointer 
target type
libtest.c: At top level:
libtest.c:207: warning: no previous prototype for 
`mono_test_marshal_stringbuilder'
cp: cannot stat `../../mcs/class/lib/corlib.dll': No such file or directory
cp: cannot stat `/mono/lib/corlib.dll': No such file or directory
cp: cannot stat `../../mcs/class/lib/System.dll': No such file or directory
cp: cannot stat `/mono/lib/System.dll': No such file or directory
cp: cannot stat `../../mcs/class/lib/System.Data.dll': No such file or 
directory
cp: cannot stat `/mono/lib/System.Data.dll': No such file or directory
cp: cannot stat `../../mcs/class/lib/System.Xml.dll': No such file or 
directory
cp: cannot stat `/mono/lib/System.Xml.dll': No such file or directory

...
---------------------
ugh....

Thanks for any help you can give.