-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/30/11 9:18 AM, sebastien biner wrote: > I am trying to install the latest version of unison on two machines. > > On the first one (an old intel macbook running os 10.6.7)) everything > works fine. > > On my brand new iMac (running os 10.6.8) there is a problem with > lablgtk2-2.12.0-3. Part of the error message is copied at the end of > this email. I have no idea what to do. Everything seems to be identical > between the machines except the os. If it is of any help, I use fink > version 0.30.1 and gcc version 4.2.1 >
> Any help would be appreciated. > > Cheers. > -- > ---------------------- > Sébastien Biner > ---------------------- > > ps : I did a 'fink selfudate' and 'fink update-all' and still have the > error. > > > > error message >>> > > File "gButton.ml", line 1, characters 0-1: > > Error: The implementation gButton.ml > > does not match the interface gButton.cmi: > > Class declarations do not match: > > class tool_item : > > ([> Gtk.tool_item ] as 'a) Gtk.obj -> > > object > > val obj : 'a Gtk.obj > > method add : GObj.widget -> unit > > method all_children : GObj.widget list > > method as_tool_item : Gtk.tool_item Gtk.obj > > method as_widget : Gtk.widget Gtk.obj > > method border_width : int > > method child : GObj.widget > > method children : GObj.widget list > > method coerce : GObj.widget > > method connect : GContainer.container_signals_impl > > method destroy : unit -> unit > > method drag : GObj.drag_ops > > method focus : GContainer.focus > > method get_expand : bool > > method get_homogeneous : bool > > method get_oid : int > > method get_use_drag_window : bool > > method is_important : bool > > method misc : GObj.misc_ops > > method private obj : 'a Gtk.obj > > method remove : GObj.widget -> unit > > method resize_mode : Gtk.Tags.resize_mode > > method set_border_width : int -> unit > > method set_expand : bool -> unit > > method set_homogeneous : bool -> unit > > method set_is_important : bool -> unit > > method set_resize_mode : Gtk.Tags.resize_mode -> unit > > method set_tooltip : GData.tooltips -> string -> string -> unit > > method set_use_drag_window : bool -> unit > > method set_visible_horizontal : bool -> unit > > method set_visible_vertical : bool -> unit > > method visible_horizontal : bool > > method visible_vertical : bool > > end > > does not match > > class tool_item : > > [> Gtk.tool_item ] Gtk.obj -> > > object > > val obj : [> Gtk.tool_item ] Gtk.obj > > method add : GObj.widget -> unit > > method all_children : GObj.widget list > > method as_tool_item : Gtk.tool_item Gtk.obj > > method as_widget : Gtk.widget Gtk.obj > > method border_width : int > > method child : GObj.widget > > method children : GObj.widget list > > method coerce : GObj.widget > > method connect : GContainer.container_signals > > method destroy : unit -> unit > > method drag : GObj.drag_ops > > method focus : GContainer.focus > > method get_expand : bool > > method get_homogeneous : bool > > method get_oid : int > > method get_use_drag_window : bool > > method is_important : bool > > method misc : GObj.misc_ops > > method remove : GObj.widget -> unit > > method resize_mode : Gtk.Tags.resize_mode > > method set_border_width : int -> unit > > method set_expand : bool -> unit > > method set_homogeneous : bool -> unit > > method set_is_important : bool -> unit > > method set_resize_mode : Gtk.Tags.resize_mode -> unit > > method set_tooltip : GData.tooltips -> string -> string -> unit > > method set_use_drag_window : bool -> unit > > method set_visible_horizontal : bool -> unit > > method set_visible_vertical : bool -> unit > > method visible_horizontal : bool > > method visible_vertical : bool > > end > > The instance variable obj has type > > ([> Gtk.tool_item ] as 'a) Gtk.obj = 'a Gobject.obj > > but is expected to have type > > ([> Gtk.tool_item ] as 'b) Gtk.obj = 'b Gobject.obj > > Type 'a = [> `bin | `container | `gtk | `toolitem | `widget ] > > is not compatible with type > > 'b = [> `bin | `container | `gtk | `toolitem | `widget ] > > make[1]: *** [gButton.cmo] Error 2 > > make: *** [world] Error 2 > > ### execution of /var/tmp/tmp.1.ManfLR failed, exit code 2 > > Removing runtime build-lock... > > Removing build-lock package... > > /sw/bin/dpkg-lockwait -r fink-buildlock-lablgtk2-2.12.0-3 > > (Reading database ... 143216 files and directories currently installed.) > > Removing fink-buildlock-lablgtk2-2.12.0-3 ... > > Failed: phase compiling: lablgtk2-2.12.0-3 failed > > > Can you please give us the output of fink -V | head n3 xcodebuild -version fink list ocaml for both machines? It fails for me as well on 10.6/i386 and 10.6/x86_64 with ocaml-3.12.0-1. I was able to get it to build by downgrading: fink install ocaml-3.11.1-1 ; fink build lablgtk2 We probably need an updated lablgtk2 for 10.6 which can cope with ocaml-3.12.0 . - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4Mhq0ACgkQB8UpO3rKjQ/DnQCeIXTxuDuuryNKO4j5kOHUOO8r +hIAn31RqOz0WjdTc4fRxB2xrcmCNrAE =cZkh -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
