LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-05-2010, 01:59 PM   #1
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 72
installing gtk+ 2.22.1 on slackware 13.1


ive been trying to install gtk+ 2.22.1 from source on my slackware 13 machine so i can compile and install the new gimp.
i have installed all the dependencies, and running configure shows no errors.

when i run make or make install, however, it exits with strange errors and doesnt install anything. i know all the dependencies have been installed correctly, but i cant install gimp until i get the most recent version of gtk+ up and running. here is the results of my configure:

Code:
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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 how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/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 for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 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/x86_64-slackware-linux/bin/ld -m elf_x86_64) 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/x86_64-slackware-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the c++ linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) 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/x86_64-slackware-linux/bin/ld -m elf_x86_64) 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... no
checking dependency style of gcc... gcc3
checking for nm... /usr/bin/nm -B
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) 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 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 for sigsetjmp... 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/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/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_CA en_GB 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@latin sr@ije sv ta te th tk tr tt ug uk ur uz uz@cyrillic vi 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 extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.25.10... yes (version 2.25.17)
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 ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
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 fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking for uxtheme.h... no
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 for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... (cached) void
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 mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... no
checking for gdk-pixbuf-csource... /usr/local/bin/gdk-pixbuf-csource
checking for XOpenDisplay... yes
checking for XextFindDisplay... yes
checking for XRenderQueryExtension... yes
checking if <X11/extensions/XIproto.h> is needed for xReply... no
checking for XConvertCase... yes
checking for XInternAtoms... yes
checking for XAddConnectionWatch... yes
checking for XkbQueryExtension... yes
checking for XShapeCombineMask... yes
checking for XSyncQueryExtension... yes
checking for X11/extensions/sync.h... yes
checking for XShmAttach... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking for Xinerama support on XFree86... yes
checking Pango flags... -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  
checking ATK flags... -pthread -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -pthread -L/usr/local/lib -latk-1.0 -lgobject-2.0 -lgthread-2.0 -lrt -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... /usr/bin/cups-config
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking for httpGetAuthString... yes
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 gobject-introspection... 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... true
configure: creating ./config.status
config.status: creating config.h.win32
config.status: creating gtk-zip.sh
config.status: creating Makefile
config.status: creating gdk-2.0.pc
config.status: creating gtk+-2.0.pc
config.status: creating gtk+-unix-print-2.0.pc
config.status: creating gail.pc
config.status: creating gdk-2.0-uninstalled.pc
config.status: creating gtk+-2.0-uninstalled.pc
config.status: creating gail-uninstalled.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 tests/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/faq/Makefile
config.status: creating docs/tools/Makefile
config.status: creating docs/tutorial/Makefile
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/vs9/Makefile
config.status: creating gdk/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/directfb/Makefile
config.status: creating gdk/tests/Makefile
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/theme-bits/Makefile
config.status: creating gtk/tests/Makefile
config.status: creating modules/Makefile
config.status: creating modules/other/Makefile
config.status: creating modules/other/gail/Makefile
config.status: creating modules/other/gail/libgail-util/Makefile
config.status: creating modules/other/gail/tests/Makefile
config.status: creating modules/engines/Makefile
config.status: creating modules/engines/pixbuf/Makefile
config.status: creating modules/engines/ms-windows/Makefile
config.status: creating modules/engines/ms-windows/Theme/Makefile
config.status: creating modules/engines/ms-windows/Theme/gtk-2.0/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: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing gdk/gdkconfig.h commands
config.status: gdk/gdkconfig.h is unchanged
configuration:
        target: x11
and here are the results of my make:
Code:
make  all-recursive
make[1]: Entering directory `/home/trademark91/gtk+-2.22.1'
Making all in po
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/po'
Making all in po-properties
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/po-properties'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/po-properties'
Making all in gdk
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk'
cd .. && /bin/sh ./config.status gdk/gdkconfig.h
config.status: executing gdk/gdkconfig.h commands
config.status: gdk/gdkconfig.h is unchanged
echo timestamp > stamp-gc-h
make  all-recursive
make[3]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk'
Making all in x11
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk/x11'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk/x11'
Making all in .
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk'
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk'
Making all in tests
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk/tests'
make[3]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk'
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk'
Making all in gtk
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/gtk'
echo '#include <gtk/gtk.h>' > xgen-gtfsrc.c && \
          gcc -E -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/local/lib\" -DGTK_DATADIR=\"/usr/local/share\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_VERSION=\"2.22.1\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"x86_64-unknown-linux-gnu\" -DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,cups\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince --unlink-tempfile --preview --print-settings %s %f"\" -I.. -I../gtk -I.. -I../gdk -I../gdk -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14       -DGTK_ENABLE_BROKEN  -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES    -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall xgen-gtfsrc.c | \
          grep -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
          sort | uniq | \
          sed '{ s/^/*tp++ = /; s/$/();/; }' > xgen-gtf \
        && cp xgen-gtf gtktypefuncs.c && rm -f xgen-gtf
make  all-recursive
make[3]: Entering directory `/home/trademark91/gtk+-2.22.1/gtk'
Making all in theme-bits
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gtk/theme-bits'
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall   -o decompose-bits decompose-bits.o -pthread -L/usr/local/lib -latk-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lpng14 -lgthread-2.0 -lrt -lglib-2.0   
libtool: link: gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall -o decompose-bits decompose-bits.o -pthread  -L/usr/local/lib /usr/local/lib/libatk-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgio-2.0.so -lresolv /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/lib64/libpng14.so -lz -lm /usr/local/lib/libgthread-2.0.so -lpthread -lrt /usr/local/lib/libglib-2.0.so -pthread
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_variant'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_dup_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_uint16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_va'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_byte'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_of_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_ref_sink'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_double'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_int32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_dict_entry'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_open'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_dup_strv'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_dup_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_add'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_signature'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_init'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_add_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_boolean'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_copy'
/usr/local/lib/libgdk_pixbuf-2.0.so: undefined reference to `g_realloc_n'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_from_data'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_first'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_print'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_variant'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_new_tuple'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_uint16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_dcgettext'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_dict_entry'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_strv'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_equal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_malloc0_n'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_next'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_floating'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_child_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_next'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_int32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_array'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_checked_'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_key'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_uint64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_free'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_element'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_ref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_uint32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_end'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_compare'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_object_path'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_free'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_value_get_variant'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_init'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_variant'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_container'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_handle'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_parse'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_clear'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_equal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_bytestring'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_object_path'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_uint64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_boolean'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_int16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_va'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_tuple'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_n_children'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_unref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_byte'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_double'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_int16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_int64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_print_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_source_set_name'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_int64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_type_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_close'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_uint32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_fixed_array'
/usr/local/lib/libgdk_pixbuf-2.0.so: undefined reference to `g_malloc_n'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_next_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_signature'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_bytestring'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_tuple'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_error_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_handle'
collect2: ld returned 1 exit status
make[4]: *** [decompose-bits] Error 1
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gtk/theme-bits'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/trademark91/gtk+-2.22.1/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/trademark91/gtk+-2.22.1'
make: *** [all] Error 2
and yes i have tried make clean and re running make
but i still get the same errors. any help?
 
Old 12-05-2010, 02:08 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 861

Rep: Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685
When you get past that, there will very likely be dozens of additional hurdles if my own experience counts. Unless you're up for a long term project and a major learning experience (nothing wrong with that!), you'd be better off just moving to -current.
 
Old 12-05-2010, 02:32 PM   #3
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 72
well i'm up for the project and the learning, plus, i have everything else i want installed on this already. i really just want to get the new gimp up and running, everything else seems to compile and install very easily and straightforward.

even this issue is probably a user error, and simply upgrading to something that will have it run out of the box isnt going to help me with that error in the future, is it?
 
Old 12-05-2010, 02:42 PM   #4
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 861

Rep: Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685
Is that libgio from glib-2.26.1? You'll need a glib-2.26.x. If it is, make sure you don't have an old glib2 installed, possibly creating ambiguous headers.

Good luck!
 
Old 12-05-2010, 03:01 PM   #5
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by volkerdi View Post
Is that libgio from glib-2.26.1? You'll need a glib-2.26.x. If it is, make sure you don't have an old glib2 installed, possibly creating ambiguous headers.

Good luck!
thanks for catching that. mine was from glib-2.25.17

but, after compiling and installing 2.26.1, i still get the same errors.

results from make
Code:
root@darkstar:~/gtk+-2.22.1# make
make  all-recursive
make[1]: Entering directory `/home/trademark91/gtk+-2.22.1'
Making all in po
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/po'
Making all in po-properties
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/po-properties'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/po-properties'
Making all in gdk
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk'
make  all-recursive
make[3]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk'
Making all in x11
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk/x11'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk/x11'
Making all in .
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk'
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk'
Making all in tests
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gdk/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk/tests'
make[3]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk'
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/gdk'
Making all in gtk
make[2]: Entering directory `/home/trademark91/gtk+-2.22.1/gtk'
make  all-recursive
make[3]: Entering directory `/home/trademark91/gtk+-2.22.1/gtk'
Making all in theme-bits
make[4]: Entering directory `/home/trademark91/gtk+-2.22.1/gtk/theme-bits'
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall   -o decompose-bits decompose-bits.o -L/usr/local/lib -latk-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lpng14 -lglib-2.0   
libtool: link: gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -o decompose-bits decompose-bits.o  -L/usr/local/lib /usr/local/lib/libatk-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgio-2.0.so -lresolv /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so -lpthread -lrt /usr/local/lib/libgmodule-2.0.so -ldl /usr/lib64/libpng14.so -lz -lm /usr/local/lib/libglib-2.0.so -pthread
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_variant'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_dup_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_uint16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_va'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_byte'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_of_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_ref_sink'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_double'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_int32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_dict_entry'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_open'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_dup_strv'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_dup_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_add'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_byteswap'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_signature'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_init'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_add_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_boolean'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_copy'
/usr/local/lib/libgdk_pixbuf-2.0.so: undefined reference to `g_realloc_n'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_from_data'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_first'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_print'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_variant'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_new_tuple'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_uint16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_dcgettext'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_dict_entry'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_strv'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_equal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_malloc0_n'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_next'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_floating'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_child_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_next'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_int32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_array'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_checked_'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_key'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_uint64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_free'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_element'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_ref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_uint32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_end'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_compare'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_object_path'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_free'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_init'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_variant'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_container'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_handle'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_parse'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_clear'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_equal'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_bytestring'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_object_path'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_uint64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_boolean'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_int16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_va'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_tuple'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_n_children'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_unref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_byte'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_double'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_int16'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_int64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_print_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_source_set_name'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_int64'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_type_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_builder_close'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new_uint32'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_fixed_array'
/usr/local/lib/libgdk_pixbuf-2.0.so: undefined reference to `g_malloc_n'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_iter_next_value'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_is_signature'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_bytestring'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_type_is_tuple'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_new'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_string'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_error_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_variant_get_handle'
collect2: ld returned 1 exit status
make[4]: *** [decompose-bits] Error 1
make[4]: Leaving directory `/home/trademark91/gtk+-2.22.1/gtk/theme-bits'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/trademark91/gtk+-2.22.1/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/trademark91/gtk+-2.22.1/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/trademark91/gtk+-2.22.1'
make: *** [all] Error 2
any thoughts?

i knew to first use make clean, ldconfig, etc, and glib-2.26.1 installed without issue.
 
Old 12-05-2010, 03:09 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
What version of gimp are you trying to build? If 2.6.11, I'm approaching 100% certainty that it does not require newer gtk+2 than what is available in Slackware 13.1.

Even so, you almost surely have several conflicts between the stuff installed in /usr and the stuff installed in /usr/local. You are creating a textbook case of why it's generally not a good idea to (attempt to) replace packages provided with the system. Debian makes that difficult, while Slackware makes it easy, but neither makes it a good idea.

Last edited by rworkman; 12-05-2010 at 03:10 PM.
 
Old 12-05-2010, 03:14 PM   #7
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by rworkman View Post
What version of gimp are you trying to build? If 2.6.11, I'm approaching 100% certainty that it does not require newer gtk+2 than what is available in Slackware 13.1.

Even so, you almost surely have several conflicts between the stuff installed in /usr and the stuff installed in /usr/local. You are creating a textbook case of why it's generally not a good idea to (attempt to) replace packages provided with the system. Debian makes that difficult, while Slackware makes it easy, but neither make it a good idea.
build 2.7.1

and ive been sorting those conflicts as ive been installing things.
 
Old 12-05-2010, 03:30 PM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
2.7.1 is a development release, right?
 
Old 12-05-2010, 03:45 PM   #9
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 861

Rep: Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685
gimp-2.7.1 compiles on x86_64 -current using the stock gimp.SlackBuild...

As far as the problems trademark91 is facing, one way to avoid things like header mismatches (I suspect old headers in /usr/include could be behind those errors) is to use the SlackBuilds to build new packages, and then install them with upgradepkg. When testing new things here, I avoid building directly to the machine (even in /usr/local) wherever possible. It makes things easier to track, and it allows me to remove all traces of builds that didn't work out quite right.
 
1 members found this post helpful.
Old 12-05-2010, 11:52 PM   #10
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 72
well, i just reinstalled and upgraded to -current.

not entirely sure what the error was, but everything seems sorted now.gimp compiled, and runs well. thanks for your help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot find gtk-config on ubuntu9.04 after installing GTK Randyqiu Programming 2 11-17-2009 09:58 PM
qt-gtk on slackware 13 Rockem Slackware 8 10-05-2009 07:35 PM
GTK+ in slackware 12.2 netpumber Slackware 3 02-16-2009 12:49 PM
GTK installing from Slackware current AhYup Slackware 3 06-25-2005 11:26 AM
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 08:25 PM


All times are GMT -5. The time now is 03:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration