Re: [gtkmm] building problem



You are probably using SUSE 8.x, and you probably need to get gcc
update. They shipped a non-official gcc.

On Mon, 2004-02-09 at 04:46, Miguel Bernal wrote:
> Hi all
> 
>  I hope this is the right place to ask my doubt.
> when I compiled the gtkmm-2.2.8 I recived the next error:
> 
> make[5]: Entering directory
> `/usr/local/src/gtk+-2/gtkmm-2/gtkmm-2.2.8/glib/glibmm'
> if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H
> -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED
> -DGDK_DISABLE_DEPRECATED      
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED  -I../../glib
> -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk
> -I../..     
> /gdk -I../../gtk -I../../gtk -I/usr/local/lib/sigc++-1.2/include
> -I/usr/local/include/sigc++-1.2 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/in     
> clude -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
>   -g -O2 -Wall -MT convert.lo -MD -MP -MF ".deps/convert.Tpo" \
>   -c -o convert.lo `test -f 'convert.cc' || echo './'`convert.cc; \
> then mv -f ".deps/convert.Tpo" ".deps/convert.Plo"; \
> else rm -f ".deps/convert.Tpo"; exit 1; \
> fi
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION
> -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
> -DGTK_D     
> ISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango
> -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk
> -I/usr/loca     
> l/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread
> -I/usr/local/include/glib     
> -2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -Wall -MT convert.lo -MD -MP -MF
> .deps/convert.Tpo -c convert.cc  -fPIC -DPIC -o .libs/convert.o
> In file included from ../../glib/glibmm/exception.h:25,
>                  from ../../glib/glibmm/error.h:28,
>                  from ../../glib/glibmm/convert.h:29,
>                  from convert.cc:3:
> ../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
>    typename std::iterator_traits<_Iterator>::value_type> struct 
>    Glib::ustring::SequenceToString' is private
> ../../glib/glibmm/ustring.h:548: error: within this context
> ../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
>    typename std::iterator_traits<_Iterator>::value_type> struct 
>    Glib::ustring::SequenceToString' is private
> ../../glib/glibmm/ustring.h:554: error: within this context
> ../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
>    typename std::iterator_traits<_Iterator>::value_type> struct 
>    Glib::ustring::SequenceToString' is private
> ../../glib/glibmm/ustring.h:560: error: within this context
> ../../glib/glibmm/ustring.h:532: error: `template<class In, class ValueType = 
>    typename std::iterator_traits<_Iterator>::value_type> struct 
>    Glib::ustring::SequenceToString' is private
> ../../glib/glibmm/ustring.h:566: error: within this context
> make[5]: *** [convert.lo] Error 1
> make[5]: Leaving directory
> `/usr/local/src/gtk+-2/gtkmm-2/gtkmm-2.2.8/glib/glibmm'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/usr/local/src/gtk+-2/gtkmm-2/gtkmm-2.2.8/glib/glibmm'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/gtk+-2/gtkmm-2/gtkmm-2.2.8/glib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/gtk+-2/gtkmm-2/gtkmm-2.2.8/glib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/gtk+-2/gtkmm-2/gtkmm-2.2.8'
> make: *** [all] Error 2
> 
> I'm using
> g++ (GCC) 3.3
> glib-2.2.3
> gtk+-2.2.4
> libsigc++-1.2.5
> 
> What can I do to resolve it?
> 
> Thsnks in advance
> 
> _________________________________________________________
> Do You Yahoo!?
> La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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