[Mono-list] Getting started with mono
Jonathan Pryor
jonpryor@vt.edu
27 Apr 2003 21:39:13 -0400
Yup, you appear to be doing the right thing.
As for you Gtk# compilation issue, I saw the same (or a similar) issue
as well. Oddly, doing a "make install" of Gtk#, followed by a recompile
allowed it to compile properly.
No, that doesn't make sense to me, either (installing software which
hasn't finished building). But installing, then re-building Gtk# worked
for me.
I'm guessing this is a Gtk# build issue, but I don't know what the
correct solution is.
- Jon
On Sun, 2003-04-27 at 17:12, Philip Van Hoof wrote:
> On Sun, 2003-04-27 at 22:05, Jonathan Pryor wrote:
>
>
> > Solution: compile <cvs module="mcs"/>/class/corlib FIRST, build mono,
> > install mono & the new corlib.dll (in <cvs
> > module="mcs"/>/class/lib/corlib.dll), and then build & install the rest
> > of the mono class libraries.
>
>
> So, short ..
>
>
> cvs -z3 co mono mcs gtk-sharp
>
> cd mcs
> make -f makefile.gnu
> <ignore the error-messages>
> cd ../mono
> ./autogen.sh --prefix=/usr
> make
> make install
> cd ../mcs
> cp class/lib/corlib.dll /usr/lib
> make -f makefile.gnu
> make -f makefile.gnu install prefix=/usr
> cd ../gtk-sharp
> ./autogen.sh --prefix=/usr
> make linux
> make install
>
>
>
>
> Well, that worked .. so I guess that I did everything correctly?!
>
>
> Eh.. well not everything is working .. I got this compilation-error
> while compiling gtk-sharp :
>
> mcs \
> --unsafe\
> --target library \
> -L ../glib \
> -L ../pango \
> -L ../atk \
> -L ../gdk \
> -L ../gtk \
> -L ../art \
> -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp
> -r art-sharp \
> -o rsvg-sharp.dll \
> --recurse '*.cs'
> ./generated/RsvgSharp.SizeFuncNative.cs(25) error CS1501: Can not find a
> constructor for this argument list
> ./generated/RsvgSharp.SizeFuncNative.cs(15) error CS0103: The name
> `RemoveIfNotAlive' could not be found in `RsvgSharp.SizeFuncWrapper'
> Compilation failed: 2 error(s), 0 warnings
> make[1]: *** [rsvg-sharp.dll] Error 1
> make[1]: Leaving directory `/home/freax/cvs/gtk-sharp/rsvg'
> make: *** [binding] Error 1
> [freax@pluisje gtk-sharp]$
>
>
>
>
>
> Thanks for your reply ..
>
>