[Gtk-sharp-list] GTK# compilation gtk-sharp-2.12.7 on Ubutu 8.10

yvan.godin at gmail.com yvan.godin at gmail.com
Sat Jan 24 07:06:39 EST 2009


Hello

I am trying to compile mono 2.2 and  gtk-sharp-2.12.7  on my Ubuntu 8.10 
and I need some help.

when running
./configure for GTK
it indicate:  cairo=no   (dependency error ?)

if I force manually to yes then 'make' give me

generated/CairoHelper.cs(34,61): error CS0433: The imported type 
`Cairo.Context' is defined multiple times

on

mcs -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 
-define:GTK_SHARP_2_12  -nowarn:0169,0612,0618 -unsafe 
-out:pango-sharp.dll -target:library /r:../glib/glib-sharp.dll 
/r:../cairo/Mono.Cairo.dll 
-r:/usr/local/lib/pkgconfig/../../lib/mono/1.0/Mono.Cairo.dll   
generated/*.cs ./Attribute.cs ./AttrBackground.cs ./AttrFallback.cs 
./AttrFamily.cs ./AttrFontDesc.cs ./AttrForeground.cs ./AttrGravity.cs 
./AttrGravityHint.cs ./AttrLanguage.cs ./AttrLetterSpacing.cs 
./AttrRise.cs ./AttrScale.cs ./AttrShape.cs ./AttrSize.cs 
./AttrStretch.cs ./AttrStrikethroughColor.cs ./AttrStrikethrough.cs 
./AttrStyle.cs ./AttrUnderlineColor.cs ./AttrUnderline.cs 
./AttrVariant.cs ./AttrWeight.cs ./Scale.cs ./ScriptIter.cs AssemblyInfo.cs

thank's for your help (and sorry for my bad english)

Yvan



More information about the Gtk-sharp-list mailing list