Дравствуйте!
уже третий день мучаюсь с проблемой - не собирается gtk (самый новый ГТК нужен для плеера abraka)
--
поставил переменные
$ export |grep -P 'CPPFLAGS|LDFLAGS|PKG_CONFIG_PATH|LD_LIBRARY_PATH'
export CPPFLAGS="-I/usr/local/include -I/usr/local/lib/glib-2.0/include"
export LDFLAGS="-L/usr/local/lib"
export LD_LIBRARY_PATH="/usr/local/lib"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
конфигуряк и собрать
$ ./configure --disable-man --disable-gtk-doc --prefix=/usr/local
$ make
и получаю фейл:
/bin/sh ../libtool --tag=CC --mode=link gcc -DGDK_PIXBUF_DISABLE_DEPRECATED
-g -O2 -Wall -L/usr/local/lib -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
-L/usr/local/lib -lpangocairo-1.0 -lX11 -lXcomposite -lXdamage -lXfixes -latk-1.0
-lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lm
libtool: link: gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -o .libs/gtk-query-immodules-2.0
queryimmodules.o -L/usr/local/lib ./.libs/libgtk-x11-2.0.so /home/me/cra4/gtk+-2.18.9/gdk/.libs/libgdk-x11-2.0.so
../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so /usr/lib/libXinerama.so
/usr/lib/libXrandr.so /usr/lib/libXcursor.so /home/me/cra4/gtk+-2.18.9/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
/usr/local/lib/libpangocairo-1.0.so /usr/lib/libstdc++.so /usr/lib/libXcomposite.so
/usr/lib/libXext.so /usr/lib/libXdamage.so /usr/lib/libXfixes.so /usr/lib/libatk-1.0.so
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libcairo.so
/usr/lib/libpixman-1.so -lpng12 /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libxcb.so
/usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/local/lib/libgio-2.0.so -lresolv /usr/local/lib/libpangoft2-1.0.so
/usr/local/lib/libpango-1.0.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so
-lz /usr/lib/libexpat.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so
-ldl /usr/local/lib/libglib-2.0.so -lm -Wl,-rpath -Wl,/usr/local/lib
/usr/local/lib/libgio-2.0.so: undefined reference to `g_mkstemp_full'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_unref'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_array_get_element_size'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_to_ascii'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_error_new_valist'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_ptr_array_new_with_free_func'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_poll'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_array_unref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_main_context_get_thread_default'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_mapped_file_unref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_is_non_ascii'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
--
--
slackware13
Нужные пакеты для ГТК:
$ findpkg 'GLib|Pango|ATK|iconv|gettext|fontconfig|Cairo|shared-mime-info'
atk-1.26.0-i486-1
cairo-1.8.6-i486-3
dbus-glib-0.80-i486-1
fontconfig-2.6.0-i486-2
gettext-0.17-i486-2
gettext-tools-0.17-i486-3
glib-1.2.10-i486-3
glib2-2.18.4-i486-1
glib-2.22.0-s13
glibc-2.9-i486-3
glibc-i18n-2.9-i486-3
glibc-profile-2.9-i486-3
glibc-solibs-2.9-i486-3
glibc-zoneinfo-2.9-noarch-3
pango-1.22.4-i486-4
pango-1.28.0-s13
pycairo-1.8.4-i486-3
sdl_pango-1.2.0-with-FB-api-patch-s13
shared-mime-info-0.60-i486-1
taglib-1.5-i486-1
taglib-extras-0.1.3-i486-1
* те пакеты, которые "*-s13" собраны мной и находятся в /usr/local...
слаковский glib2 лежит в /usr/lib
нужный glib2 лежит в /usr/local/lib
ld.so.conf
cat /etc/ld.so.conf
/usr/i486-slackware-linux/lib
/usr/lib/seamonkey
/usr/lib
/usr/local/lib