LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-22-2008, 12:07 PM   #1
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Rep: Reputation: 15
Question GTK+ compile problems - compiling newest version on slightly older OS


I'm on Suse Linux Enterprise Desktop 10 SP2 (because I have to be) and I'm trying to compile gtk+-2.14.2

Enterprise Linux desktops generally have older versions of software, because impotent people think that makes them more secure.

I believe that I have installed all the dependencies of GTK+. I also installed libX11 and it's dependencies in an attempt to fix my problems, because it still isn't working. Here is a list of what I have in the directory structure thus far:

atk-1.23.5
cairo-1.6.4
cups-1.3.8-source
fontconfig-2.6.0
freetype-2.3.7
glib-2.18.1
inputproto-1.4.2.1
jpegsrc.v6b
kbproto-1.0.3
libpng-1.2.31
libpthread-stubs-0.1
libX11-1.1.3
libXau-1.0.3
libxcb-1.1.91
libXft-2.1.13
libxml2-2.6.30
pango-1.21.6
pixman-0.12.0
Python-2.5.2
tiff-3.8.2
xcb-proto-1.2
xextproto-7.0.2
xproto-7.0.10
xtrans-1.0.4


I think the problem is that I'm running on older software. The GTK+ code is looking for things that don't exist in my installed X11 version. I'm looking for confirmation of this theory and any info you may have concerning building new software on old software, like I'm trying to do. Can I follow dependancies and install all of X11 into my directory structure along with whatever else I need, and expect GTK+ to compile? Or is what I'm doing just impossible?

partial make dump (930 KB won't post to LQ):
Code:
...
/bin/sh ../libtool --mode=link gcc  -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall   -o gtk-query-immodules-2.0  queryimmodules.o libgtk-x11-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la 
gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o  ./.libs/libgtk-x11-2.0.so -L/builds/synaptic/lib /home/user/tmp/gtk+-2.14.2/gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib -L/opt/gnome/lib /builds/synaptic/lib/libatk-1.0.so /builds/synaptic/lib/libpangoft2-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so -lXinerama /opt/gnome/lib/libpangocairo-1.0.so /usr/lib/libcairo.so /usr/lib/libglitz.so /opt/gnome/lib/libpangoft2-1.0.so /opt/gnome/lib/libpango-1.0.so /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libgmodule-2.0.so /opt/gnome/lib/libglib-2.0.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /builds/synaptic/lib/libpango-1.0.so /builds/synaptic/lib/libcairo.so /usr/lib/libpng12.so -lSM -lICE /builds/synaptic/lib/libpng12.so /builds/synaptic/lib/libpixman-1.so /builds/synaptic/lib/libfontconfig.so /usr/lib/libexpat.so /builds/synaptic/lib/libfreetype.so -lz -lXcursor -lXrender -lXext -lXcomposite -lXdamage -lXfixes /builds/synaptic/lib/libX11.so /home/user/tmp/gtk+-2.14.2/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /builds/synaptic/lib/libgio-2.0.so /builds/synaptic/lib/libgobject-2.0.so /builds/synaptic/lib/libgmodule-2.0.so -ldl /builds/synaptic/lib/libglib-2.0.so -lm  -Wl,--rpath -Wl,/builds/synaptic/lib
./.libs/libgtk-x11-2.0.so: undefined reference to `g_test_bug_base'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_thread_pool_set_sort_function'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_title'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_is_private'
/builds/synaptic/lib/libpangoft2-1.0.so: undefined reference to `pango_font_description_get_gravity'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_description'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_dgettext'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_size'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_free'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_extents_to_pixels'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_new'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_layout_get_lines_readonly'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_layout_set_height'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_iter_is_begin'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_move'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_sort_changed_iter'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_iter_next'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_swap'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_object_force_floating'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_thread_pool_set_max_idle_time'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_type_register_static_simple'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_dpgettext'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_checksum_get_string'
./.libs/libgtk-x11-2.0.so: undefined reference to `cairo_surface_set_fallback_resolution'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_checksum_new'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_thread_gettime'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_slice_copy'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_intern_static_string'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_get_user_special_dir'
/home/user/tmp/gtk+-2.14.2/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_source_is_destroyed'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_checksum_free'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_checksum_update'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_remove'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_once_init_leave'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_load_from_file'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_attr_gravity_new'
/builds/synaptic/lib/libpangoft2-1.0.so: undefined reference to `pango_font_description_set_gravity'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_layout_iter_get_line_readonly'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_visited'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_language_get_default'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_modified'
/home/user/tmp/gtk+-2.14.2/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_timeout_add_seconds_full'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_initially_unowned_get_type'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_attr_gravity_hint_new'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_date_set_time_t'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_set_double'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_foreach'
/builds/synaptic/lib/libpangoft2-1.0.so: undefined reference to `pango_matrix_get_font_scale_factor'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_iter_is_end'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_mime_type'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_intern_string'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_is_private'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_layout_get_line_readonly'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_hash_table_remove_all'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_has_item'
/builds/synaptic/lib/libpangoft2-1.0.so: undefined reference to `pango_version'
/home/user/tmp/gtk+-2.14.2/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_main_current_source'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_get_double'
/builds/synaptic/lib/libpangoft2-1.0.so: undefined reference to `pango_quantize_line_geometry'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_applications'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_signal_new_class_handler'
/home/user/tmp/gtk+-2.14.2/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `pango_color_to_string'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_iter_get_position'
./.libs/libgtk-x11-2.0.so: undefined reference to `cairo_ps_surface_set_size'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_test_queue_destroy'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_hash_table_get_type'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_uris'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_slice_free_chain_with_offset'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_slice_alloc'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_signal_override_class_handler'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_new'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_description'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_hash_table_ref'
./.libs/libgtk-x11-2.0.so: undefined reference to `cairo_format_stride_for_width'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_set_title'
./.libs/libgtk-x11-2.0.so: undefined reference to `cairo_surface_get_type'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_hash_table_iter_next'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_param_spec_ref_sink'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `g_warn_message'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_ascii_strtoll'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_sort_iter'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_get_iter_at_pos'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_set'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_to_file'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_slice_alloc0'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_test_init'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_gravity_hint_get_type'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_insert_before'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_add_group'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_hash_table_unref'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_hash_table_iter_init'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_add_application'
/home/user/tmp/gtk+-2.14.2/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `pango_cairo_show_error_underline'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_remove_item'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_get_end_iter'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_gravity_get_type'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_matrix_transform_rectangle'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_object_ref_sink'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_mime_type'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_move_item'
/builds/synaptic/lib/libgio-2.0.so: undefined reference to `glib_gettext'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_free'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message_expr'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_signal_chain_from_overridden_handler'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_get_begin_iter'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_strcmp0'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_get_length'
/builds/synaptic/lib/libpangoft2-1.0.so: undefined reference to `pango_font_map_create_context'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_hash_table_get_keys'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_slice_free1'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_once_init_enter_impl'
./.libs/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_timeout_add_seconds'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_iter_get_sequence'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_object_is_floating'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_groups'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_app_info'
/home/user/tmp/gtk+-2.14.2/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_uri_escape_string'
/builds/synaptic/lib/libpangoft2-1.0.so: undefined reference to `pango_font_describe_with_absolute_size'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_get'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_set_error_literal'
./.libs/libgtk-x11-2.0.so: undefined reference to `pango_layout_iter_get_run_readonly'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_added'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_sequence_iter_prev'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[4]: Leaving directory `/home/user/tmp/gtk+-2.14.2/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/tmp/gtk+-2.14.2/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/tmp/gtk+-2.14.2/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/tmp/gtk+-2.14.2'
make: *** [all] Error 2

Last edited by versaulis; 09-22-2008 at 12:11 PM.
 
Old 09-22-2008, 12:08 PM   #2
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
configure dump:

Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... 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 for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 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 ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
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 option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
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 Whether to write dependencies into .pc files... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for indent... no
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 az az_IR be be@latin bg bn bn_IN br bs ca ca@valencia 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 kn ko ku li lt lv mai mi mk ml mn mr ms nb 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 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.17.6... yes (version 2.18.1)
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 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 gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadRGBAImageOriented in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking for jas_init in -ljasper... yes
checking pixbuf loaders to build... 
checking if gio can sniff png... 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 x86 platform... yes
checking compiler support for MMX... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
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... checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/extensions/Xinerama.h... yes
yes
checking Pango flags... -I/builds/synaptic/include/pango-1.0 -I/builds/synaptic/include/glib-2.0 -I/builds/synaptic/lib/glib-2.0/include -I/builds/synaptic/include/cairo -I/opt/gnome/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12   -L/builds/synaptic/lib -L/usr/X11R6/lib -L/opt/gnome/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfontconfig -lexpat -lfreetype -lpng12 -lz -lm -lXrender -lX11 -lXext -lpixman-1  
checking ATK flags... -I/builds/synaptic/include/atk-1.0 -I/builds/synaptic/include/glib-2.0 -I/builds/synaptic/lib/glib-2.0/include   -L/builds/synaptic/lib -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -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 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 whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for db2html... false
configure: creating ./config.status
config.status: creating config.h.win32
config.status: creating gtk-zip.sh
config.status: creating Makefile
config.status: creating gdk-pixbuf-2.0.pc
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-pixbuf-2.0-uninstalled.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: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating po-properties/Makefile.in
config.status: WARNING:  'po-properties/Makefile.in.in' seems to ignore the --datarootdir setting
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-pixbuf/Makefile
config.status: creating docs/reference/gdk-pixbuf/version.xml
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 gdk-pixbuf/Makefile
config.status: creating gdk-pixbuf/gdk_pixbuf.rc
config.status: creating gdk-pixbuf/gdk-pixbuf-features.h
config.status: creating gdk-pixbuf/pixops/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/test/Makefile
config.status: creating perf/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing gdk/gdkconfig.h commands
configuration:
        target: x11
 
Old 09-23-2008, 02:00 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
Is your final goal is gtk+-2.14.2 itself or you just want to use some program that need this library on your Suse Linux Enterprise Desktop 10 SP2 ?
 
Old 09-23-2008, 12:41 PM   #4
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
The ultimate goal is to learn how to compile applications in this manner, so that I can compile many different applications into a customized structure. Some will depend on GTK+. Right now, my target application is Synaptic and it relys on Glade, which relys on GTK+.
 
Old 09-23-2008, 11:42 PM   #5
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by versaulis View Post
The ultimate goal is to learn how to compile applications in this manner, so that I can compile many different applications into a customized structure. Some will depend on GTK+. Right now, my target application is Synaptic and it relys on Glade, which relys on GTK+.
If you are interesting in application(s) and not in the library itself
you can on the other "more modern" box pack application into self-contained executable using statifier (http://statifier.sf.net) or Ermine (http://magicErmine.com) and then copy it to your target box.

GTK+ application usually needed different config files too, so may be Ermine better fit to the task. But from the other side it's commercial and statifier - GPL licensed.
 
Old 09-24-2008, 01:19 PM   #6
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Nice idea I guess. I installed Fedora 9 KDE4 edition and tried out both of the programs you mentioned. Both of them produced executables, but none of them worked properly. Even file-roller would not work. It kept telling me that it could not find files.
 
Old 09-24-2008, 01:32 PM   #7
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by versaulis View Post
Nice idea I guess. I installed Fedora 9 KDE4 edition and tried out both of the programs you mentioned. Both of them produced executables, but none of them worked properly. Even file-roller would not work. It kept telling me that it could not find files.
Where it doesn't work - on Fedora 9, where you pack or on Suse ?
Could you post error messages you got both from exe packed with statifier and with Ermine ?
 
Old 09-24-2008, 01:51 PM   #8
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Valery Reznic View Post
Where it doesn't work - on Fedora 9, where you pack or on Suse ?
Could you post error messages you got both from exe packed with statifier and with Ermine ?
The executables generally work on Fedora, where I'm packing them. They generally do not work on Suse. File-roller was the only program that opened on Suse, and it would not open any archives. Ermine seems to work a little better - it got file-roller to at least show up on screen. Seems to be too many bugs in these programs and I do not have time to help debug. They are just not ready for prime time.

rpmrebuild does not work either. I tried gnomesword, gnuchess, file-roller, and a few others. The error I get is

error: line 6: Unknown tag: %define_unpackaged_files_terminate_build 0
/usr/lib/rpmrebuild.sh: ERROR: package 'gnuchess' modification failed.

rpmrebuild works if I do not tell it to use the statify plugin.
 
Old 09-24-2008, 03:40 PM   #9
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by versaulis View Post
The executables generally work on Fedora, where I'm packing them. They generally do not work on Suse. File-roller was the only program that opened on Suse, and it would not open any archives. Ermine seems to work a little better - it got file-roller to at least show up on screen. Seems to be too many bugs in these programs and I do not have time to help debug. They are just not ready for prime time.

rpmrebuild does not work either. I tried gnomesword, gnuchess, file-roller, and a few others. The error I get is

error: line 6: Unknown tag: %define_unpackaged_files_terminate_build 0
/usr/lib/rpmrebuild.sh: ERROR: package 'gnuchess' modification failed.

rpmrebuild works if I do not tell it to use the statify plugin.
GTK+ programs used a lot of plugins. Plugin names came from config files.
While ermine (and statifier) able automatically pick up all shared libraries in more simple case (i.e when all of them listed in the ldd output) in more compilcated ones Ermine need user supplied configuration which list additional files to be packed.
Ermine packed executable worked on Fedora 9 system because packed or not
those files anyway present. But when you copy this executable to another box if something wasn't packed - executable has a problem.

Yes, specifying additional files is not as simple as just running the program, but in most cases it's simpler than struggle with compiler.
It's looks like you don't packaged everything program need.

Quote:
Seems to be too many bugs in these programs and I do not have time to help debug
Posting error messages is just a couple more seconds. When one asked for help in the first place such reaction is strange, IMO.
 
Old 09-24-2008, 05:17 PM   #10
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Thumbs down

Quote:
Posting error messages is just a couple more seconds. When one asked for help in the first place such reaction is strange, IMO.
Posting error messages takes seconds, once you already have them, however, you left out the important fact that continuing to struggle with software that does not appear to work is extremely time consuming. Even if you could get all the bugs out, the very idea that these programs implement is disadvantageous to the majority of users whom do not know much about the specific Linux software they are trying to package. Since your programs cannot trace plugins, and so on, that task is left to the user. I could not imagine how long it would take to figure out what all I need to include to package programs like Mono, Gambas, or Glade. Even when I *think* I have figured it out, I run the risk of finding bugs later on.

Therefore, the choice is to compile all of our software from source or to learn about all of the smallest details of the software, so that we know how to tell your programs what to include in the packages they create. IMO, using Linux From Scratch to create a self-sufficient software directory, to be used as an additional resource on Suse, is the better choice, since this will take less time to accomplish.
 
Old 09-25-2008, 06:35 AM   #11
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by versaulis View Post
Posting error messages takes seconds, once you already have them, however, you left out the important fact that continuing to struggle with software that does not appear to work is extremely time consuming. Even if you could get all the bugs out, the very idea that these programs implement is disadvantageous to the majority of users whom do not know much about the specific Linux software they are trying to package. Since your programs cannot trace plugins, and so on, that task is left to the user. I could not imagine how long it would take to figure out what all I need to include to package programs like Mono, Gambas, or Glade. Even when I *think* I have figured it out, I run the risk of finding bugs later on.

Therefore, the choice is to compile all of our software from source or to learn about all of the smallest details of the software, so that we know how to tell your programs what to include in the packages they create. IMO, using Linux From Scratch to create a self-sufficient software directory, to be used as an additional resource on Suse, is the better choice, since this will take less time to accomplish.
Posting error messages doesn't imply continuing struggle with software.

You can find out what files your program used easy enough - just run you program under strace:
Code:
strace -e open your_program
Any approach has it's pros and cons. While compiling from source is more usual way to do things you'll need to repeat it on each platform where do you want to use program.
Packing program should be done only once and then packed (OK, correctly packed) program able to run on nearly any Linux distribution.

You have every right to choose what fit you, but
it's looks like compiling from source not without struggle too ?
 
Old 09-25-2008, 08:59 AM   #12
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Quote:
Posting error messages doesn't imply continuing struggle with software.
Quote:
Just like the curse, just like the stray, you feed it once and now it stays.

strace examines activities at runtime. It does not trace everything, unless everything is used/called. It's not a fool proof plan to trace all files and requirements of a piece of software.

Compiling from source is meant to work by the authors of the code. There are also large communities of people that know how to compile OSS code. I have not done much compiling from source, but I would prefer to learn how to do something that has been working for 30 years than a lets-hope-it-works approach. LFS gives me an isolated approach that is a sure-fire success, given that hardware is compatible.
 
Old 09-25-2008, 11:48 AM   #13
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 666

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by versaulis View Post
strace examines activities at runtime. It does not trace everything, unless everything is used/called. It's not a fool proof plan to trace all files and requirements of a piece of software.

Compiling from source is meant to work by the authors of the code. There are also large communities of people that know how to compile OSS code. I have not done much compiling from source, but I would prefer to learn how to do something that has been working for 30 years than a lets-hope-it-works approach. LFS gives me an isolated approach that is a sure-fire success, given that hardware is compatible.
While it's possible to write program which will open unpredictable files,
usually real-word applications (and certainly GTK+ applications) behave good:
they read some configuration files and from here them read filename/path of plugins to be loaded. It's not that hard to track all those files.

If you prefer compiling from source - have it your way. I just said there is another approach to try. And I did a lot of porting from one gcc/g++ version to another and have to say that risk introduce bug in the process (especially for c++ code is not too small)
 
  


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
Can't compile GTK+ because it thinks I've got the wrong version of Glib? bigtoque Linux - Software 1 07-27-2008 08:39 PM
Compiled libtorrent but future compiling calls upon older version in repos. granduke Fedora 4 05-13-2008 07:14 PM
gtk+2.0 installation problem(older glib version ) anirudh.iitm Ubuntu 1 08-16-2006 01:37 PM
kernel build problems -how to install older gcc version? kpachopoulos Fedora 3 07-04-2005 08:56 AM
gtk+2.4.4 compile problems AnimaSola Linux - Software 0 07-13-2004 08:49 PM


All times are GMT -5. The time now is 03:06 AM.

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