RE: [gtkmm] Building under Solaris



Yes, I recent versions of gtkmm 2.2 do not seem to build with the Forte
compliler, but I don't believe that it would be difficult to fix. This is
what I said last time somebody mentioned it:
http://marc.theaimsgroup.com/?l=gtkmm&m=105698812406958&w=2

In this case, it just looks like you need to specify a particualr tempate
instantiation. You might find similar stuff in the .m4 files, with "SUN"
comments, or you should find lots in the mailing list archives. 

Murray Cumming
www.murrayc.com
murrayc usa net

> -----Original Message-----
> From: gtkmm-list-admin gnome org 
> [mailto:gtkmm-list-admin gnome org] On Behalf Of James Overly
> Sent: Montag, 15. Dezember 2003 21:47
> To: gtkmm-list gnome org
> Subject: [gtkmm] Building under Solaris
> 
> 
> Hi -
> 
> I am having a problem building with the Solaris compilers
> I have read the README.sun file and I am still having
> problems.
> 
> The patch level of the compiler is newer then required:
> 
> CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-11 2002/10/31
> 
> the errors are like:  
> -I/proj/port_ots/CXCDS_ROOT_SOLARIS8/ots/gtk2/lib/glib-2.0/inc
> lude -mt -I/proj/ 
> port_ots/CXCDS_ROOT_SOLARIS8/ots/gtk2/include/glib-2.0 
> -I/proj/port_ots/CXCDS_RO 
> OT_SOLARIS8/ots/gtk2/lib/glib-2.0/include 
> -I/proj/port_ots/CXCDS_ROOT_SOLARIS8/o
> ts/gtk2/include -g -c context.cc  -KPIC -DPIC -o 
> .libs/context.o "../../glib/glibmm/arrayhandle.h", line 184: 
> Error: Ambiguous partial specializa tion for 
> Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Pango::FontFa
> ce>>, Gli b::Container_Helpers::TypeTraits and 
> Glib::Container_Helpers::TypeTraits.
> "../../glib/glibmm/arrayhandle.h", line 184: Error: Ambiguous 
> partial specializa tion for 
> Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Pango::FontFa
> mily>>, G lib::Container_Helpers::TypeTraits and 
> Glib::Container_Helpers::TypeTraits.
> "../../glib/glibmm/arrayhandle.h", line 184: Error: Ambiguous 
> partial specializa tion for 
> Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Pango::FontFa
> mily>>, G lib::Container_Helpers::TypeTraits and 
> Glib::Container_Helpers::TypeTraits.
> "../../glib/glibmm/arrayhandle.h", line 184: Error: Ambiguous 
> partial specializa tion for 
> Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Pango::FontFa
> mily>>, G lib::Container_Helpers::TypeTraits and 
> Glib::Container_Helpers::TypeTraits.
> "../../glib/glibmm/arrayhandle.h", line 188: Error: Ambiguous 
> partial specializa tion for 
> Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Pango::FontFa
> mily>>, G lib::Container_Helpers::TypeTraits and 
> Glib::Container_Helpers::TypeTraits.
> "context.cc", line 34:     Where: While specializing 
> "Glib::ArrayHandle<Glib::Re
> fPtr<Pango::FontFamily>, 
> Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Pango:
> :FontFamily>>>".
> 
> and seem to be in the following files:
> 
> glib/glibmm/slisthandle.h 
> glib/glibmm/listhandle.h  
> glib/glibmm/arrayhandle.h
> 
> Also pixmap.cc and screen.cc have the following errors: 
> "pixmap.cc", line 84: Error: Overloading ambiguity between 
> "Glib::unwrap<const G dk::Drawable>(const Glib::RefPtr<const 
> Gdk::Drawable>&)" and "Glib::unwrap<const  
> Gdk::Drawable>(const Glib::RefPtr<const Gdk::Drawable>&)". 
> "pixmap.cc", line 98: Error: Overloading ambiguity between 
> "Glib::unwrap<const G dk::Drawable>(const Glib::RefPtr<const 
> Gdk::Drawable>&)" and "Glib::unwrap<const  
> Gdk::Drawable>(const Glib::RefPtr<const Gdk::Drawable>&)". 
> "pixmap.cc", line 113: Error: Overloading ambiguity between 
> "Glib::unwrap<const 
> Gdk::Drawable>(const Glib::RefPtr<const Gdk::Drawable>&)" and 
> "Glib::unwrap<cons t Gdk::Drawable>(const Glib::RefPtr<const 
> Gdk::Drawable>&)". "pixmap.cc", line 130: Error: Overloading 
> ambiguity between "Glib::unwrap<const 
> Gdk::Drawable>(const Glib::RefPtr<const Gdk::Drawable>&)" and 
> "Glib::unwrap<cons t Gdk::Drawable>(const Glib::RefPtr<const 
> Gdk::Drawable>&)". "pixmap.cc", line 148: Error: Overloading 
> ambiguity between "Glib::unwrap<const 
> Gdk::Drawable>(const Glib::RefPtr<const Gdk::Drawable>&)" and 
> "Glib::unwrap<cons t Gdk::Drawable>(const Glib::RefPtr<const 
> Gdk::Drawable>&)". "pixmap.cc", line 166: Error: Overloading 
> ambiguity between "Glib::unwrap<const 
> Gdk::Drawable>(const Glib::RefPtr<const Gdk::Drawable>&)" and 
> "Glib::unwrap<cons t Gdk::Drawable>(const Glib::RefPtr<const 
> Gdk::Drawable>&)". "screen.cc", line 198: Error: Overloading 
> ambiguity between "Glib::unwrap<Gdk::C
> olormap>(const Glib::RefPtr<const Gdk::Colormap>&)" and 
> olormap>"Glib::unwrap<const Gdk:
> :Colormap>(const Glib::RefPtr<const Gdk::Colormap>&)".
> 
> I don't know if these are related to the other errors though.
> 
> Any help would be appreaceated. I have developers waiting for 
> this package.
> 
> Thanks in advance
> Jim Overly
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]