[Gtk-sharp-list] problem with gnome-sharp
Jan Hlodan
jan.hlodan at gmail.com
Mon Oct 29 16:04:31 EDT 2007
Hello,
I have problem with compiling "gnome-sharp". I have no ideas what
now....
I followed this instruction:
http://www.deepakg.com/blog/archives/39.htm
but I got this:
wewek at napsugaram:~/mono/gnome-sharp$ ./bootstrap-2.16 --prefix=/usr
.
.
.
configure: creating ./config.status
config.status: creating AssemblyInfo.cs
config.status: creating Makefile
config.status: creating policy.config
config.status: creating sources/Makefile
config.status: creating art/Makefile
config.status: creating art/art-sharp.dll.config
config.status: creating art/art-sharp-2.0.pc
config.status: creating gnome/Makefile
config.status: creating gnome/gnome-sharp.dll.config
config.status: creating gnome/gnome-sharp-2.0.pc
config.status: creating gnome/glue/Makefile
config.status: creating gnomevfs/Makefile
config.status: creating gnomevfs/gnome-vfs-sharp.dll.config
config.status: creating gnomevfs/gnome-vfs-sharp-2.0.pc
config.status: creating gconf/Makefile
config.status: creating gconf/doc/Makefile
config.status: creating gconf/GConf/Makefile
config.status: creating gconf/GConf/gconf-sharp.dll.config
config.status: creating gconf/GConf/gconf-sharp-2.0.pc
config.status: creating gconf/GConf.PropertyEditors/Makefile
config.status: creating gconf/tools/Makefile
config.status: creating gconf/tools/gconfsharp2-schemagen
config.status: creating gtkhtml/Makefile
config.status: creating gtkhtml/gtkhtml-sharp.dll.config
config.status: creating gtkhtml/gtkhtml-sharp-2.0.pc
config.status: creating rsvg/Makefile
config.status: creating rsvg/rsvg-sharp.dll.config
config.status: creating rsvg/rsvg-sharp-2.0.pc
config.status: creating vte/Makefile
config.status: creating vte/glue/Makefile
config.status: creating vte/vte-sharp.dll.config
config.status: creating vte/vte-sharp-2.0.pc
config.status: creating sample/Makefile
config.status: creating sample/gconf/Makefile
config.status: creating sample/gnomevfs/Makefile
config.status: creating sample/rsvg/Makefile
config.status: creating config.h
config.status: executing depfiles commands
---
Configuration summary
* Installation prefix = /usr
* C# compiler: /usr/bin/mcs -debug -define:GTK_SHARP_2_6 -
define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16
Optional assemblies included in the build:
* art-sharp.dll: yes
* gnomevfs-sharp.dll: yes
* gnome-sharp.dll: yes
* rsvg-sharp.dll: yes
* gtkhtml-sharp.dll: yes
* vte-sharp.dll: yes
NOTE: if any of the above say 'no' you may install the
corresponding development packages for them, rerun
autogen.sh to include them in the build.
gnome-sharp.dll requires libgnomecanvas, libgnome,
libgnomeui, libgnomeprint, libgnomeprintui, and
libpanelapplet.
---
Now type `make' to compile
wewek at napsugaram:~/mono/gnome-sharp$ make
make all-recursive
make[1]: Entering directory `/home/wewek/mono/gnome-sharp'
Making all in sources
make[2]: Entering directory `/home/wewek/mono/gnome-sharp/sources'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/wewek/mono/gnome-sharp/sources'
Making all in art
make[2]: Entering directory `/home/wewek/mono/gnome-sharp/art'
cp ./art-api.raw art-api.xml
chmod u+w art-api.xml
/usr/bin/gapi2-fixup --api=art-api.xml --metadata=./Art.metadata --
symbols=./art-symbols.xml
rm -f generated/* && \
/usr/bin/gapi2-codegen --generate art-api.xml \
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/pango-api.xml -I:/
usr/lib/pkgconfig/../../share/gapi-2.0/atk-api.xml -I:/usr/lib/
pkgconfig/../../share/gapi-2.0/gdk-api.xml -I:/usr/lib/pkgconfig/../../
share/gapi-2.0/gtk-api.xml \
--outdir=generated --customdir=. --assembly-name=art-
sharp \
--gluelib-name=artsharpglue-2 --glue-filename=glue/
generated.c \
--glue-
includes= \
&& touch generated-stamp
Defaulting DestroyNotify param to 'call' scope in method
PixBuf.art_pixbuf_new_rgb_dnotify
Defaulting DestroyNotify param to 'call' scope in method
PixBuf.art_pixbuf_new_rgba_dnotify
Defaulting RenderAaCallback param to 'call' scope in method
SVP.RenderAa
Generation Summary:
Enums: 10 Structs: 20 Boxed: 0 Opaques: 2 Interfaces: 0
Objects: 0 Callbacks: 2
Properties: 0 Signals: 0 Methods: 92 Constructors: 11 Throttled:
0
Total Nodes: 137
cp ../gtk-sharp.snk .
cp ../AssemblyInfo.cs .
/usr/bin/mcs -debug -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -
define:GNOME_SHARP_2_16 -nowarn:0169,0612,0618 -unsafe -out:art-
sharp.dll -target:library -r:/usr/lib/pkgconfig/../../lib/mono/gtk-
sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-
sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-
sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-
sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-
sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/1.0/
Mono.Cairo.dll generated/*.cs AssemblyInfo.cs
AssemblyInfo.cs(7,11): error CS0234: The type or namespace name
`IgnoreClassInitializers' does not exist in the namespace `GLib'. Are
you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [art-sharp.dll] Error 1
make[2]: Leaving directory `/home/wewek/mono/gnome-sharp/art'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wewek/mono/gnome-sharp'
make: *** [all] Error 2
Can you help me, please?
I'm on Kubuntu 7.04
Thank you very much for help.
wewek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20071029/e5f0a70b/attachment.html
More information about the Gtk-sharp-list
mailing list