[Mono-list] Getting started with mono

Philip Van Hoof spamfrommailing@freax.org
27 Apr 2003 23:12:40 +0200


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 ..



-- 
Philip Van Hoof a.k.a. freax
me at freax dot org
http://www.freax.be -- http://www.freax.eu.org -- http://www.freax.org