You need to update your version of glib.

On Sun, Feb 17, 2013 at 9:00 PM, Diego Felix (Bill) <diegob...@gmail.com>wrote:

> When I try to compile a older version of gtk+-3  (3.4.4), I have the same
> error:
>
> When I configure:
>
> bill@bill-laptop:~/Downloads/gtk+-3.4.4$ ./configure --prefix=/opt/gtk
>> --enable-x11-backend --enable-broadway-backend
>>
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking how to create a ustar tar archive... gnutar
>> checking whether to enable maintainer-specific portions of Makefiles...
>> yes
>>
>> checking whether make supports nested variables... yes
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking for style of include used by make... GNU
>> checking dependency style of gcc... gcc3
>> checking whether gcc and cc understand -c and -o together... yes
>> checking for gcc option to accept ISO C99... -std=gnu99
>> checking for gcc -std=gnu99 option to accept ISO Standard C... (cached)
>> -std=gnu99
>> checking whether make sets $(MAKE)... (cached) yes
>>
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... i686-pc-linux-gnu
>> checking for native Win32... no
>> checking for c++... c++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether c++ accepts -g... yes
>> checking dependency style of c++... gcc3
>> checking how to print strings... printf
>> checking for a sed that does not truncate output... /bin/sed
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for fgrep... /bin/grep -F
>> checking for ld used by gcc -std=gnu99... /usr/bin/ld
>>
>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
>> checking the name lister (/usr/bin/nm -B) interface... BSD nm
>> checking whether ln -s works... yes
>> checking the maximum length of command line arguments... 1572864
>> checking whether the shell understands some XSI constructs... yes
>> checking whether the shell understands "+="... yes
>> checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu
>> format... func_convert_file_noop
>> checking how to convert i686-pc-linux-gnu file names to toolchain
>> format... func_convert_file_noop
>> checking for /usr/bin/ld option to reload object files... -r
>> checking for objdump... objdump
>> checking how to recognize dependent libraries... pass_all
>> checking for dlltool... no
>>
>> checking how to associate runtime and link libraries... printf %s\n
>> checking for ar... ar
>> checking for archiver @FILE support... @
>> checking for strip... strip
>> checking for ranlib... ranlib
>> checking command to parse /usr/bin/nm -B output from gcc -std=gnu99
>> object... ok
>>
>> checking for sysroot... no
>> checking for mt... mt
>> checking if mt is a manifest tool... no
>> checking how to run the C preprocessor... gcc -std=gnu99 -E
>>
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking for dlfcn.h... yes
>> checking for objdir... .libs
>> checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
>> checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
>> checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
>> checking if gcc -std=gnu99 static flag -static works... yes
>> checking if gcc -std=gnu99 supports -c -o file.o... yes
>> checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
>> checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared
>> libraries... yes
>>
>> checking whether -lc should be explicitly linked in... no
>> checking dynamic linker characteristics... GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking whether stripping libraries is possible... yes
>> checking if libtool supports shared libraries... yes
>> checking whether to build shared libraries... yes
>> checking whether to build static libraries... no
>> checking how to run the C++ preprocessor... c++ -E
>> checking for ld used by c++... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>> checking whether the c++ linker (/usr/bin/ld) supports shared
>> libraries... yes
>> checking for c++ option to produce PIC... -fPIC -DPIC
>> checking if c++ PIC flag -fPIC -DPIC works... yes
>> checking if c++ static flag -static works... yes
>> checking if c++ supports -c -o file.o... yes
>> checking if c++ supports -c -o file.o... (cached) yes
>> checking whether the c++ linker (/usr/bin/ld) supports shared
>> libraries... yes
>> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> configure: creating ./config.lt
>> config.lt: creating libtool
>> checking for special C compiler options needed for large files... no
>> checking for _FILE_OFFSET_BITS value needed for large files... 64
>> checking dependency style of gcc -std=gnu99... gcc3
>> checking for nm... /usr/bin/nm -B
>> checking for some Win32 platform... no
>> checking whether build environment is sane... yes
>> checking for pkg-config... /usr/bin/pkg-config
>> checking pkg-config is at least version 0.9.0... yes
>> checking for BASE_DEPENDENCIES... yes
>> checking for CAIRO_BACKEND... yes
>> checking for GMODULE... yes
>>
>> checking Whether to write dependencies into .pc files... no
>> checking for perl5... no
>> checking for perl... /usr/bin/perl
>> checking for indent... indent
>> checking for lstat... yes
>> checking for mkstemp... yes
>> checking for flockfile... yes
>>
>> checking for getc_unlocked... yes
>> checking for localtime_r... yes
>> checking for _NL_TIME_FIRST_WEEKDAY... yes
>> checking for _NL_MEASUREMENT_MEASUREMENT... yes
>> checking for _NL_PAPER_HEIGHT... yes
>> checking for _NL_PAPER_WIDTH... yes
>> checking locale.h usability... yes
>> checking locale.h presence... yes
>> checking for locale.h... yes
>> checking for LC_MESSAGES... yes
>> checking libintl.h usability... yes
>> checking libintl.h presence... yes
>> checking for libintl.h... yes
>> checking for ngettext in libc... yes
>> checking for dgettext in libc... yes
>> checking for bind_textdomain_codeset... yes
>> checking for msgfmt... /usr/local/bin/msgfmt
>>
>> checking for dcgettext... yes
>> checking if msgfmt accepts -c... yes
>> checking for gmsgfmt... /usr/local/bin/msgfmt
>> checking for xgettext... /usr/local/bin/xgettext
>> checking for catalogs to be installed...  af am ang ar as ast az az_IR be
>> be@latin bg bn bn_IN br bs ca ca@valencia crh cs cy da de dz el en en_CA
>> en_GB en@shaw eo es et eu fa fi fr ga gl gu he hi hr hu hy ia id io is
>> it ja ka kg kk kn ko ku lg li lt lv mai mi mk ml mn mr ms my nb nds ne nl
>> nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@ije sr@latinsv ta 
>> te th tk tr tt ug uk ur uz uz@cyrillicvi wa xh yi zh_CN zh_HK zh_TW
>>
>> checking for extra flags to get ANSI library prototypes... none needed
>> checking for the BeOS... no
>> checking for HP-UX... no
>> checking for pkg-config... (cached) /usr/bin/pkg-config
>> checking pkg-config is at least version 0.16... yes
>> checking for GLIB - version >= 2.32.0... yes (version 2.35.7)
>>
>> checking for bind_textdomain_codeset... (cached) yes
>> checking pwd.h usability... yes
>> checking pwd.h presence... yes
>> checking for pwd.h... yes
>> checking sys/time.h usability... yes
>> checking sys/time.h presence... yes
>> checking for sys/time.h... yes
>>
>> checking for unistd.h... (cached) yes
>> checking ftw.h usability... yes
>> checking ftw.h presence... yes
>> checking for ftw.h... yes
>> checking for GNU ftw extensions... yes
>> checking for stdlib.h... (cached) yes
>>
>> checking for unistd.h... (cached) yes
>> checking for sys/param.h... yes
>> checking for getpagesize... yes
>>
>> checking for working mmap... yes
>> checking for mallinfo... yes
>> checking for getresuid... yes
>> checking for uid_t in sys/types.h... yes
>> checking for round in -lm... yes
>> checking for round... yes
>> checking for rint... yes
>> checking for isnan... yes
>> checking for isinf... yes
>> checking for nearbyint... yes
>>
>> checking crt_externs.h usability... no
>> checking crt_externs.h presence... no
>> checking for crt_externs.h... no
>> checking for _NSGetEnviron... no
>> checking whether to build dynamic modules... yes
>> checking whether dynamic modules work... yes
>> checking immodules to build...
>> checking sys/systeminfo.h usability... no
>> checking sys/systeminfo.h presence... no
>> checking for sys/systeminfo.h... no
>> checking sys/sysinfo.h usability... yes
>> checking sys/sysinfo.h presence... yes
>> checking for sys/sysinfo.h... yes
>> checking for gdk-pixbuf-csource... /usr/local/bin/gdk-pixbuf-csource
>>
>> checking for XOpenDisplay... yes
>> checking for XextFindDisplay... yes
>> checking if <X11/extensions/XIproto.h> is needed for xReply... no
>> checking for XkbQueryExtension... yes
>> checking for XShapeCombineMask... yes
>> checking for XSyncQueryExtension... yes
>> checking for X11/extensions/sync.h... yes
>> checking for Xinerama packages... yes
>> checking for XGetEventData... yes
>>
>> checking X11/extensions/XInput2.h usability... yes
>> checking X11/extensions/XInput2.h presence... yes
>> checking for X11/extensions/XInput2.h... yes
>> checking for XIAllowTouchEvents... yes
>> checking for XIScrollClassInfo.number... yes
>> checking Pango flags... -pthread -I/usr/local/include/glib-2.0
>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include
>> -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
>> -I/usr/include/freetype2 -I/usr/include/libpng12   -L/usr/local/lib
>> -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
>> checking ATK flags... -I/usr/local/include/atk-1.0
>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>> -L/usr/local/lib -latk-1.0 -lgobject-2.0 -lglib-2.0
>>
>> checking for library containing gethostent... none required
>> checking for library containing setsockopt... none required
>> checking for library containing connect... none required
>> checking for struct sockaddr_un.sun_len... no
>> checking for cups-config... no
>> checking libpapi... checking for papiServiceCreate in -lpapi... no
>> checking cairo-pdf.h usability... yes
>> checking cairo-pdf.h presence... yes
>> checking for cairo-pdf.h... yes
>> checking cairo-ps.h usability... yes
>> checking cairo-ps.h presence... yes
>> checking for cairo-ps.h... yes
>> checking cairo-svg.h usability... yes
>> checking cairo-svg.h presence... yes
>> checking for cairo-svg.h... yes
>> checking for pkg-config... (cached) /usr/bin/pkg-config
>> checking pkg-config is at least version 0.16... yes
>> checking for gobject-introspection... yes
>> checking whether to use PackageKit... yes
>> checking whether to use colord... yes
>> checking for COLORD... no
>>
>> checking for gtkdoc-check... /usr/bin/gtkdoc-check
>> checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
>> checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
>> checking whether to build gtk-doc documentation... no
>> checking for db2html... false
>>
>> checking for -Bsymbolic-functions linker flag... yes
>> configure: creating ./config.status
>> config.status: creating config.h.win32
>> config.status: creating gtk-zip.sh
>> config.status: creating Makefile
>>
>> config.status: creating gdk-3.0.pc
>> config.status: creating gtk+-3.0.pc
>> config.status: creating gtk+-unix-print-3.0.pc
>> config.status: creating gail-3.0.pc
>> config.status: creating m4macros/Makefile
>> config.status: creating po/Makefile.in
>> config.status: creating po-properties/Makefile.in
>> config.status: creating demos/Makefile
>> config.status: creating demos/gtk-demo/Makefile
>> config.status: creating demos/gtk-demo/geninclude.pl
>> config.status: creating demos/pixbuf-demo/Makefile
>> config.status: creating demos/widget-factory/Makefile
>> config.status: creating examples/Makefile
>> config.status: creating tests/Makefile
>> config.status: creating tests/a11y/Makefile
>> config.status: creating tests/css/Makefile
>> config.status: creating tests/css/parser/Makefile
>> config.status: creating tests/reftests/Makefile
>> config.status: creating tests/visuals/Makefile
>> config.status: creating docs/Makefile
>>
>> config.status: creating docs/reference/Makefile
>> config.status: creating docs/reference/gdk/Makefile
>> config.status: creating docs/reference/gdk/version.xml
>> config.status: creating docs/reference/gtk/Makefile
>> config.status: creating docs/reference/gtk/version.xml
>> config.status: creating docs/reference/libgail-util/Makefile
>> config.status: creating docs/reference/libgail-util/version.xml
>> config.status: creating docs/tools/Makefile
>> config.status: creating build/Makefile
>> config.status: creating build/win32/Makefile
>> config.status: creating build/win32/vs9/Makefile
>> config.status: creating build/win32/vs10/Makefile
>> config.status: creating gdk/Makefile
>> config.status: creating gdk/broadway/Makefile
>> config.status: creating gdk/x11/Makefile
>> config.status: creating gdk/win32/Makefile
>> config.status: creating gdk/win32/rc/Makefile
>> config.status: creating gdk/win32/rc/gdk.rc
>> config.status: creating gdk/quartz/Makefile
>> config.status: creating gdk/wayland/Makefile
>> config.status: creating gdk/tests/Makefile
>> config.status: creating gdk/gdkversionmacros.h
>>
>> config.status: creating gtk/Makefile
>> config.status: creating gtk/makefile.msc
>> config.status: creating gtk/gtkversion.h
>> config.status: creating gtk/gtk-win32.rc
>> config.status: creating gtk/a11y/Makefile
>> config.status: creating gtk/tests/Makefile
>> config.status: creating libgail-util/Makefile
>> config.status: creating modules/Makefile
>>
>> config.status: creating modules/engines/Makefile
>> config.status: creating modules/engines/pixbuf/Makefile
>> config.status: creating modules/input/Makefile
>> config.status: creating modules/printbackends/Makefile
>> config.status: creating modules/printbackends/cups/Makefile
>> config.status: creating modules/printbackends/lpr/Makefile
>> config.status: creating modules/printbackends/file/Makefile
>> config.status: creating modules/printbackends/papi/Makefile
>> config.status: creating modules/printbackends/test/Makefile
>> config.status: creating perf/Makefile
>> config.status: creating config.h
>> config.status: executing depfiles commands
>> config.status: executing libtool commands
>> config.status: executing default-1 commands
>> config.status: executing po-properties commands
>> config.status: executing gdk/gdkconfig.h commands
>>         GTK+ 3.4.4
>>
>>         ===========
>>         GDK backends:         x11 broadway
>>         X11 extensions:       XKB Xinerama XI2.2 XRANDR XFIXES Composite
>> DAMAGE
>>
>>         Print backends:       file lpr
>>         Dynamic modules:      yes
>>         Included immodules:   none
>>         PackageKit support:   yes
>>         colord support:       no
>>
>>         Introspection:        yes
>>         Debugging:            minimum
>>         Documentation:        no
>>
>
> When I run make:
>
> bill@bill-laptop:~/Downloads/gtk+-3.4.4$ make
>> make  all-recursive
>> make[1]: Entering directory `/home/bill/Downloads/gtk+-3.4.4'
>> Making all in po
>> make[2]: Entering directory `/home/bill/Downloads/gtk+-3.4.4/po'
>>
>> make[2]: Nothing to be done for `all'.
>> make[2]: Leaving directory `/home/bill/Downloads/gtk+-3.4.4/po'
>> Making all in po-properties
>> make[2]: Entering directory
>> `/home/bill/Downloads/gtk+-3.4.4/po-properties'
>>
>> make[2]: Nothing to be done for `all'.
>> make[2]: Leaving directory `/home/bill/Downloads/gtk+-3.4.4/po-properties'
>> Making all in gdk
>> make[2]: Entering directory `/home/bill/Downloads/gtk+-3.4.4/gdk'
>>
>> config.status: executing gdk/gdkconfig.h commands
>> config.status: gdk/gdkconfig.h is unchanged
>> echo timestamp > stamp-gc-h
>>   GEN    gdkconfig.h
>> make  all-recursive
>> make[3]: Entering directory `/home/bill/Downloads/gtk+-3.4.4/gdk'
>> Making all in x11
>> make[4]: Entering directory `/home/bill/Downloads/gtk+-3.4.4/gdk/x11'
>>   CC     gdkapplaunchcontext-x11.lo
>>   CC     gdkasync.lo
>>   CC     gdkcursor-x11.lo
>>   CC     gdkdevice-core-x11.lo
>>
>>   CC     gdkdevice-xi2.lo
>>   CC     gdkdevicemanager-core-x11.lo
>>   CC     gdkdevicemanager-x11.lo
>>   CC     gdkdevicemanager-xi2.lo
>>   CC     gdkdisplaymanager-x11.lo
>>   CC     gdkdisplay-x11.lo
>> gdkdisplay-x11.c: In function '_gdk_x11_display_open':
>> gdkdisplay-x11.c:1372:24: warning: assignment discards 'const' qualifier
>> from pointer target type [enabled by default]
>> gdkdisplay-x11.c:1380:11: warning: assignment discards 'const' qualifier
>> from pointer target type [enabled by default]
>>
>>   CC     gdkdnd-x11.lo
>>   CC     gdkeventsource.lo
>>   CC     gdkeventtranslator.lo
>>   CC     gdkgeometry-x11.lo
>>   CC     gdkkeys-x11.lo
>>   CC     gdkmain-x11.lo
>>   CC     gdkproperty-x11.lo
>>   CC     gdkscreen-x11.lo
>>   CC     gdkselection-x11.lo
>>   CC     gdktestutils-x11.lo
>>   CC     gdkvisual-x11.lo
>>   CC     gdkwindow-x11.lo
>>   CC     gdkxftdefaults.lo
>>   CC     gdkxid.lo
>>   CC     xsettings-client.lo
>>   CC     xsettings-common.lo
>>   CCLD   libgdk-x11.la
>>   CC     checksettings.o
>>   CCLD   checksettings
>> make[4]: Leaving directory `/home/bill/Downloads/gtk+-3.4.4/gdk/x11'
>> Making all in broadway
>> make[4]: Entering directory `/home/bill/Downloads/gtk+-3.4.4/gdk/broadway'
>> make  all-am
>> make[5]: Entering directory `/home/bill/Downloads/gtk+-3.4.4/gdk/broadway'
>>   CC     broadway.lo
>>
>>   CCLD   libbroadway.la
>>   CC     gdkcursor-broadway.lo
>>   CC     gdkdevice-broadway.lo
>> gdkdevice-broadway.c: In function 'gdk_broadway_device_class_init':
>> gdkdevice-broadway.c:82:29: warning: assignment from incompatible pointer
>> type [enabled by default]
>> gdkdevice-broadway.c: In function 'gdk_broadway_device_get_state':
>> gdkdevice-broadway.c:119:3: warning: 'gdk_window_get_pointer' is
>> deprecated (declared at ../../gdk/gdkwindow.h:715): Use
>> 'gdk_window_get_device_position' instead [-Wdeprecated-declarations]
>>   CC     gdkdevicemanager-broadway.lo
>>   CC     gdkdisplay-broadway.lo
>>
>>   CC     gdkdisplaymanager-broadway.lo
>>   CC     gdkdnd-broadway.lo
>>   CC     gdkeventsource.lo
>>   CC     gdkglobals-broadway.lo
>>   CC     gdkim-broadway.lo
>>   CC     gdkkeys-broadway.lo
>>   CC     gdkmain-broadway.lo
>>   CC     gdkproperty-broadway.lo
>>   CC     gdkscreen-broadway.lo
>>   CC     gdkselection-broadway.lo
>>   CC     gdktestutils-broadway.lo
>>   CC     gdkvisual-broadway.lo
>>   CC     gdkwindow-broadway.lo
>> gdkwindow-broadway.c: In function 'gdk_window_broadway_set_device_cursor':
>> gdkwindow-broadway.c:822:29: warning: 'gdk_cursor_ref' is deprecated
>> (declared at ../../gdk/gdkcursor.h:231): Use 'g_object_ref' instead
>> [-Wdeprecated-declarations]
>> gdkwindow-broadway.c: In function 'create_moveresize_window':
>> gdkwindow-broadway.c:1446:3: warning: 'gdk_pointer_grab' is deprecated
>> (declared at ../../gdk/gdkmain.h:81): Use 'gdk_device_grab' instead
>> [-Wdeprecated-declarations]
>>   CCLD   libgdk-broadway.la
>> make[5]: Leaving directory `/home/bill/Downloads/gtk+-3.4.4/gdk/broadway'
>> make[4]: Leaving directory `/home/bill/Downloads/gtk+-3.4.4/gdk/broadway'
>> Making all in .
>> make[4]: Entering directory `/home/bill/Downloads/gtk+-3.4.4/gdk'
>>   CC     gdk.lo
>> gdk.c: In function 'gdk_pre_parse_libgtk_only':
>> gdk.c:275:3: warning: 'g_type_init' is deprecated (declared at
>> /usr/local/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
>>   CC     gdkapplaunchcontext.lo
>>   CC     gdkcairo.lo
>>   CC     gdkcolor.lo
>>   CC     gdkcursor.lo
>>   CC     gdkdeprecated.lo
>>   CC     gdkdevice.lo
>>   CC     gdkdevicemanager.lo
>>   CC     gdkdisplay.lo
>>   CC     gdkdisplaymanager.lo
>>   CC     gdkdnd.lo
>>   CC     gdkevents.lo
>>   CC     gdkglobals.lo
>>   CC     gdkkeys.lo
>>   CC     gdkkeyuni.lo
>>   CC     gdkoffscreenwindow.lo
>>   CC     gdkpango.lo
>>   CC     gdkpixbuf-drawable.lo
>>   CC     gdkrectangle.lo
>>   CC     gdkrgba.lo
>>   CC     gdkscreen.lo
>>   CC     gdkselection.lo
>>   CC     gdkvisual.lo
>>   CC     gdkwindow.lo
>>   CC     gdkwindowimpl.lo
>>   CC     gdkenumtypes.lo
>>   CC     gdkmarshalers.lo
>>   CCLD   libgdk-3.la
>>   GISCAN Gdk-3.0.gir
>> (process:9341): GLib-GObject-CRITICAL **:
>> /build/buildd/glib2.0-2.32.3/./gobject/gtype.c:2722: You forgot to call
>> g_type_init()
>> (process:9341): GLib-GObject-CRITICAL **:
>> g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
>> (interface_type)' failed
>> (process:9341): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
>> 0' failed
>> (process:9341): GLib-GObject-CRITICAL **:
>> /build/buildd/glib2.0-2.32.3/./gobject/gtype.c:2722: You forgot to call
>> g_type_init()
>> (process:9341): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
>> 0' failed
>> (process:9341): GLib-GObject-CRITICAL **:
>> /build/buildd/glib2.0-2.32.3/./gobject/gtype.c:2722: You forgot to call
>> g_type_init()
>> (process:9341): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
>> 0' failed
>
>
> Any idea?
>
> Diego *Felix* de Almeida
> +552183798074
>
>
> On Sun, Feb 17, 2013 at 4:07 PM, Diego Felix (Bill) 
> <diegob...@gmail.com>wrote:
>
>> I tried this but I can not install this requirement:
>>
>> configure: error: Package requirements (glib-2.0 >= 2.35.3    atk >=
>>> 2.7.5    pango >= 1.32.4    cairo >= 1.10.0    cairo-gobject >= 1.10.0
>>>  gdk-pixbuf-2.0 >= 2.27.1) were not met:
>>> No package 'pango' found
>>
>>
>> When I run configure:
>>
>> bill@bill-laptop:~/Downloads/pango-1.32.6$ ./configure
>>>
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>>> checking for gawk... gawk
>>> checking whether make sets $(MAKE)... yes
>>> checking whether make supports nested variables... yes
>>> checking build system type... i686-pc-linux-gnu
>>> checking host system type... i686-pc-linux-gnu
>>> checking for native Win32... no
>>> checking for gcc... gcc
>>> checking whether the C compiler works... yes
>>> checking for C compiler default output file name... a.out
>>> checking for suffix of executables...
>>> checking whether we are cross compiling... no
>>> checking for suffix of object files... o
>>> checking whether we are using the GNU C compiler... yes
>>> checking whether gcc accepts -g... yes
>>> checking for gcc option to accept ISO C89... none needed
>>> checking for style of include used by make... GNU
>>> checking dependency style of gcc... gcc3
>>> checking for c++... c++
>>> checking whether we are using the GNU C++ compiler... yes
>>> checking whether c++ accepts -g... yes
>>> checking dependency style of c++... gcc3
>>> checking for sysconf... yes
>>> checking for getpagesize... yes
>>> checking how to run the C preprocessor... gcc -E
>>>
>>> checking for grep that handles long lines and -e... /bin/grep
>>> checking for egrep... /bin/grep -E
>>> checking for ANSI C header files... yes
>>> checking for sys/types.h... yes
>>> checking for sys/stat.h... yes
>>> checking for stdlib.h... yes
>>> checking for string.h... yes
>>> checking for memory.h... yes
>>> checking for strings.h... yes
>>> checking for inttypes.h... yes
>>> checking for stdint.h... yes
>>> checking for unistd.h... yes
>>> checking for unistd.h... (cached) yes
>>> checking sys/mman.h usability... yes
>>> checking sys/mman.h presence... yes
>>> checking for sys/mman.h... yes
>>>
>>> checking how to print strings... printf
>>> checking for a sed that does not truncate output... /bin/sed
>>> checking for fgrep... /bin/grep -F
>>> checking for ld used by gcc... /usr/bin/ld
>>>
>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
>>> checking the name lister (/usr/bin/nm -B) interface... BSD nm
>>> checking whether ln -s works... yes
>>> checking the maximum length of command line arguments... 1572864
>>> checking whether the shell understands some XSI constructs... yes
>>> checking whether the shell understands "+="... yes
>>> checking how to convert i686-pc-linux-gnu file names to
>>> i686-pc-linux-gnu format... func_convert_file_noop
>>> checking how to convert i686-pc-linux-gnu file names to toolchain
>>> format... func_convert_file_noop
>>> checking for /usr/bin/ld option to reload object files... -r
>>> checking for objdump... objdump
>>> checking how to recognize dependent libraries... pass_all
>>> checking for dlltool... dlltool
>>>
>>> checking how to associate runtime and link libraries... printf %s\n
>>> checking for ar... ar
>>> checking for archiver @FILE support... @
>>> checking for strip... strip
>>> checking for ranlib... ranlib
>>> checking command to parse /usr/bin/nm -B output from gcc object... ok
>>>
>>> checking for sysroot... no
>>> checking for mt... mt
>>> checking if mt is a manifest tool... no
>>> checking for dlfcn.h... yes
>>> checking for objdir... .libs
>>> checking if gcc supports -fno-rtti -fno-exceptions... no
>>> checking for gcc option to produce PIC... -fPIC -DPIC
>>> checking if gcc PIC flag -fPIC -DPIC works... yes
>>> checking if gcc static flag -static works... yes
>>> checking if gcc supports -c -o file.o... yes
>>> checking if gcc supports -c -o file.o... (cached) yes
>>> checking whether the gcc linker (/usr/bin/ld) supports shared
>>> libraries... yes
>>>
>>> checking whether -lc should be explicitly linked in... no
>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>> checking how to hardcode library paths into programs... immediate
>>> checking whether stripping libraries is possible... yes
>>> checking if libtool supports shared libraries... yes
>>> checking whether to build shared libraries... yes
>>> checking whether to build static libraries... no
>>> checking how to run the C++ preprocessor... c++ -E
>>> checking for ld used by c++... /usr/bin/ld
>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>> checking whether the c++ linker (/usr/bin/ld) supports shared
>>> libraries... yes
>>> checking for c++ option to produce PIC... -fPIC -DPIC
>>> checking if c++ PIC flag -fPIC -DPIC works... yes
>>> checking if c++ static flag -static works... yes
>>> checking if c++ supports -c -o file.o... yes
>>> checking if c++ supports -c -o file.o... (cached) yes
>>> checking whether the c++ linker (/usr/bin/ld) supports shared
>>> libraries... yes
>>> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
>>> checking how to hardcode library paths into programs... immediate
>>> configure: creating ./config.lt
>>> config.lt: creating libtool
>>> checking for some Win32 platform... no
>>> checking for pkg-config... /usr/bin/pkg-config
>>> checking pkg-config is at least version 0.9.0... yes
>>> checking for HARFBUZZ... yes
>>> checking for FONTCONFIG... yes
>>> checking for FREETYPE... yes
>>> checking for XFT... no
>>> checking for CoreText availability... no
>>> checking for CAIRO... yes
>>> checking which cairo font backends could be used... freetype
>>> checking for GLIB... yes
>>> checking for LIBTHAI... no
>>> checking for gobject-introspection... yes
>>> checking modules to link statically...
>>> checking dynamic modules to build...
>>> arabic-lang,basic-fc,basic-win32,basic-coretext,indic-lang, (those built
>>> into Pango will be excluded)
>>> checking for flockfile... yes
>>> checking for strtok_r... yes
>>>
>>> checking for gtkdoc-check... /usr/bin/gtkdoc-check
>>> checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
>>> checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
>>> checking whether to build gtk-doc documentation... no
>>> checking for -Bsymbolic-functions linker flag... yes
>>>
>>> checking Whether to write dependencies into .pc files... no
>>> checking for dirent.h that defines DIR... yes
>>> checking for library containing opendir... none required
>>>
>>> checking for unistd.h... (cached) yes
>>> checking that generated files are newer than configure... done
>>> configure: creating ./config.status
>>> config.status: creating Makefile
>>> config.status: creating pango/Makefile
>>> config.status: creating pango/mini-fribidi/Makefile
>>> config.status: creating pango/pango.rc
>>> config.status: creating pango/pangoft2.rc
>>> config.status: creating pango/pangowin32.rc
>>> config.status: creating pango/pangocairo.rc
>>> config.status: creating pango/pangoxft.rc
>>> config.status: creating pango-view/Makefile
>>> config.status: creating modules/Makefile
>>> config.status: creating modules/arabic/Makefile
>>> config.status: creating modules/basic/Makefile
>>> config.status: creating modules/indic/Makefile
>>> config.status: creating modules/thai/Makefile
>>> config.status: creating examples/Makefile
>>> config.status: creating docs/Makefile
>>> config.status: creating docs/version.xml
>>> config.status: creating tools/Makefile
>>> config.status: creating tests/Makefile
>>>
>>> config.status: creating build/Makefile
>>> config.status: creating build/win32/Makefile
>>> config.status: creating build/win32/vs9/Makefile
>>> config.status: creating build/win32/vs10/Makefile
>>> config.status: creating pango.pc
>>> config.status: creating pangowin32.pc
>>> config.status: creating pangoft2.pc
>>> config.status: creating pangoxft.pc
>>> config.status: creating pangocairo.pc
>>> config.status: creating pango-uninstalled.pc
>>> config.status: creating pangowin32-uninstalled.pc
>>> config.status: creating pangoft2-uninstalled.pc
>>> config.status: creating pangoxft-uninstalled.pc
>>> config.status: creating pangocairo-uninstalled.pc
>>> config.status: creating pango-zip.sh
>>> config.status: creating config.h.win32
>>> config.status: creating config.h
>>>
>>> config.status: executing depfiles commands
>>> config.status: executing libtool commands
>>> config.status: executing pango/module-defs.h commands
>>> config.status: executing pango/module-defs-fc.c commands
>>> config.status: executing pango/module-defs-win32.c commands
>>> config.status: executing pango/module-defs-coretext.c commands
>>> config.status: executing pango/module-defs-lang.c commands
>>> config.status: executing pango/pango-features.h commands
>>> config.status: creating pango/pango-features.h
>>> configuration:
>>> backends: Cairo FreeType
>>
>>
>> When I run make:
>>
>> bill@bill-laptop:~/Downloads/pango-1.32.6$ make
>>> make  all-recursive
>>> make[1]: Entering directory `/home/bill/Downloads/pango-1.32.6'
>>> Making all in pango
>>> make[2]: Entering directory `/home/bill/Downloads/pango-1.32.6/pango'
>>>   GEN      s-enum-types-h
>>>   GEN      s-enum-types-c
>>> make  all-recursive
>>> make[3]: Entering directory `/home/bill/Downloads/pango-1.32.6/pango'
>>> Making all in mini-fribidi
>>> make[4]: Entering directory
>>> `/home/bill/Downloads/pango-1.32.6/pango/mini-fribidi'
>>>   CC       fribidi.lo
>>>   CC       fribidi_char_type.lo
>>>   CC       fribidi_types.lo
>>>   CCLD     libmini-fribidi.la
>>> make[4]: Leaving directory
>>> `/home/bill/Downloads/pango-1.32.6/pango/mini-fribidi'
>>> make[4]: Entering directory `/home/bill/Downloads/pango-1.32.6/pango'
>>>   CC       break.lo
>>>   CC       ellipsize.lo
>>>   CC       fonts.lo
>>>   CC       glyphstring.lo
>>>   CC       modules.lo
>>>   CC       pango-attributes.lo
>>>   CC       pango-bidi-type.lo
>>>   CC       pango-color.lo
>>>   CC       pango-context.lo
>>> pango-context.c: In function 'string_from_script':
>>> pango-context.c:1415:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-context.c:1415:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-context.c:1415:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-context.c:1415:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-context.c:1416:5: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-context.c:1416:5: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>>   CC       pango-coverage.lo
>>>   CC       pango-engine.lo
>>> pango-engine.c: In function '_pango_get_fallback_shaper':
>>> pango-engine.c:208:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-engine.c:208:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-engine.c:208:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-engine.c:208:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-engine.c:209:5: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-engine.c:209:5: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>>   CC       pango-fontmap.lo
>>>   CC       pango-fontset.lo
>>>   CC       pango-glyph-item.lo
>>>   CC       pango-gravity.lo
>>>   CC       pango-item.lo
>>>   CC       pango-language.lo
>>>   CC       pango-layout.lo
>>>   CC       pango-markup.lo
>>>   CC       pango-matrix.lo
>>>   CC       pango-renderer.lo
>>>   CC       pango-script.lo
>>>   CC       pango-tabs.lo
>>>   CC       pango-utils.lo
>>> pango-utils.c: In function 'read_config':
>>> pango-utils.c:619:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:619:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:619:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:619:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:638:7: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:638:7: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c: In function 'pango_get_sysconf_subdirectory':
>>> pango-utils.c:731:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:731:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:731:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:731:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:745:7: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:745:7: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c: In function 'pango_get_lib_subdirectory':
>>> pango-utils.c:766:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:766:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:766:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:766:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:786:7: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pango-utils.c:786:7: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>>   CC       reorder-items.lo
>>>   CC       shape.lo
>>>   CC       pango-enum-types.lo
>>>   CC       module-defs-lang.lo
>>>   CCLD     libpango-1.0.la
>>>   CC       pangofc-font.lo
>>>   CC       pangofc-fontmap.lo
>>> pangofc-fontmap.c: In function 'get_gravity_class':
>>> pangofc-fontmap.c:242:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pangofc-fontmap.c:242:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pangofc-fontmap.c:242:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pangofc-fontmap.c:242:3: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pangofc-fontmap.c:243:5: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>> pangofc-fontmap.c:243:5: warning: dereferencing type-punned pointer will
>>> break strict-aliasing rules [-Wstrict-aliasing]
>>>   CC       pangofc-decoder.lo
>>>   CC       pangoft2.lo
>>>   CC       module-defs-fc.lo
>>>   CC       pangoft2-fontmap.lo
>>> pangoft2-fontmap.c: In function 'pango_ft2_font_map_for_display':
>>> pangoft2-fontmap.c:296:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangoft2-fontmap.c:296:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangoft2-fontmap.c:296:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangoft2-fontmap.c:296:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangoft2-fontmap.c:297:5: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangoft2-fontmap.c:297:5: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>>   CC       pangoft2-render.lo
>>>   CC       pango-ot-buffer.lo
>>>   CC       pango-ot-info.lo
>>>   CC       pango-ot-ruleset.lo
>>>   CC       pango-ot-tag.lo
>>>   CCLD     libpangoft2-1.0.la
>>>   CC       pangocairo-context.lo
>>>   CC       pangocairo-font.lo
>>>   CC       pangocairo-fontmap.lo
>>>   CC       pangocairo-render.lo
>>>   CC       pangocairo-fcfont.lo
>>> pangocairo-fcfont.c: In function 'get_gravity_class':
>>> pangocairo-fcfont.c:190:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangocairo-fcfont.c:190:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangocairo-fcfont.c:190:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangocairo-fcfont.c:190:3: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangocairo-fcfont.c:191:5: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>> pangocairo-fcfont.c:191:5: warning: dereferencing type-punned pointer
>>> will break strict-aliasing rules [-Wstrict-aliasing]
>>>   CC       pangocairo-fcfontmap.lo
>>>   CCLD     libpangocairo-1.0.la
>>>   CC       querymodules.o
>>>   CCLD     pango-querymodules
>>>   GISCAN Pango-1.0.gir
>>> (process:25309): GLib-GObject-CRITICAL **: /build/buildd/*glib2.0-2.32.3
>>> */./gobject/gtype.c:2722: You forgot to call g_type_init()
>>> (process:25309): GLib-GObject-CRITICAL **:
>>> g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
>>> (interface_type)' failed
>>> (process:25309): GLib-CRITICAL **: g_once_init_leave: assertion `result
>>> != 0' failed
>>> (process:25309): GLib-GObject-CRITICAL **:
>>> /build/buildd/glib2.0-2.32.3/./gobject/gtype.c:2722: You forgot to call
>>> g_type_init()
>>> (process:25309): GLib-CRITICAL **: g_once_init_leave: assertion `result
>>> != 0' failed
>>> (process:25309): GLib-GObject-CRITICAL **:
>>> /build/buildd/glib2.0-2.32.3/./gobject/gtype.c:2722: You forgot to call
>>> g_type_init()
>>> (process:25309): GLib-CRITICAL **: g_once_init_leave: assertion `result
>>> != 0' failed
>>
>>
>> I can not uninstall *glib2.0-2.32.3*
>>
>> But I installed a glib-2.0 >= 2.35.3:
>>
>> bill@bill-laptop:~/Downloads/gtk+-3.6.4$ pkg-config --modversion
>>> glib-2.0
>>> 2.35.7
>>
>>
>> Diego *Felix* de Almeida
>> +552183798074
>>
>>
>> On Sat, Feb 9, 2013 at 8:50 PM, Florian Müllner <fmuell...@gnome.org>wrote:
>>
>>> On Sat, Feb 9, 2013 at 12:39 AM, Diego Felix (Bill) <diegob...@gmail.com>
>>> wrote:
>>> > I tried to make the gtk+ from git repository (branch broadway)
>>>
>>> Why? That's an old development branch that has long been merged to
>>> master; to build the broadway backend, just configure GTK+ (master or
>>> any version >= 3.2) with --enable-broadway-backend.
>>>
>>
>>
>
> _______________________________________________
> gtk-list mailing list
> gtk-l...@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
>


-- 
  Jasper
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to