You are not logged in.
Pages: 1
Hello,
I'm trying to install xfce4-4.4RC1 on slackware. Here's my specs:
Kernel 2.6.14.2
Gcc 3.4.2
xfce4-4.2.3.2 (already installed)
Glib 2.12.4
gtk+ 2.10.2
pango 2.14.6
cairo 1.2.4
freetype 2.2.1
During the Terminal compile, I get (forgive me for posting all this shit, but hopefully it's useful):
/bin/sh ../libtool --mode=link --tag=CC gcc -g -O2 -Wl,--as-needed -o Terminal -no-undefined -L/usr/local/lib -lexo-0.3 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1 -L/usr/local/lib -L/usr/X11R6/lib -lvte -lz -lncurses -lSM -lICE -lXft -lX11 -lfreetype -lXrender -lgtk-x11-2.0 -lpangoxft-1.0 -lpangox-1.0 -lfontconfig -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 Terminal-terminal-enum-types.o Terminal-terminal-marshal.o Terminal-main.o Terminal-terminal-accel-map.o Terminal-terminal-app.o Terminal-terminal-dialogs.o Terminal-terminal-helper-dialog.o Terminal-terminal-helper.o Terminal-terminal-image-loader.o Terminal-terminal-monitor.o Terminal-terminal-options.o Terminal-terminal-preferences.o Terminal-terminal-preferences-dialog.o Terminal-terminal-screen.o Terminal-terminal-shortcut-editor.o Terminal-terminal-stock.o Terminal-terminal-tab-header.o Terminal-terminal-toolbars-model.o Terminal-terminal-toolbars-view.o Terminal-terminal-widget.o Terminal-terminal-window.o
gcc -g -O2 -Wl,--as-needed -o Terminal Terminal-terminal-enum-types.o Terminal-terminal-marshal.o Terminal-main.o Terminal-terminal-accel-map.o Terminal-terminal-app.o Terminal-terminal-dialogs.o Terminal-terminal-helper-dialog.o Terminal-terminal-helper.o Terminal-terminal-image-loader.o Terminal-terminal-monitor.o Terminal-terminal-options.o Terminal-terminal-preferences.o Terminal-terminal-preferences-dialog.o Terminal-terminal-screen.o Terminal-terminal-shortcut-editor.o Terminal-terminal-stock.o Terminal-terminal-tab-header.o Terminal-terminal-toolbars-model.o Terminal-terminal-toolbars-view.o Terminal-terminal-widget.o Terminal-terminal-window.o -L/usr/local/lib /usr/local/lib/libexo-0.3.so -L/usr/X11R6/lib /usr/local/lib/libxfce4util.so /usr/lib/libstartup-notification-1.so /usr/lib/libvte.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/X11R6/lib/libfontconfig.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -lncurses -lXft /usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libcairo.so /usr/local/lib/libfreetype.so /usr/local/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/local/lib/libpng12.so -lz /usr/local/lib/libXrender.so -lSM -lICE -lX11 /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so -lm /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lrt
Terminal-terminal-accel-map.o(.text+0x83): In function `terminal_accel_map_get_type':
: undefined reference to `g_type_register_static_simple'
Terminal-terminal-app.o(.text+0xb3): In function `terminal_app_get_type':
/tmp/xfce4-4.4RC1-installer/Terminal/terminal/terminal-app.c:99: undefined reference to `g_type_register_static_simple'
Terminal-terminal-helper-dialog.o(.text+0x5b): In function `terminal_helper_chooser_get_type':
: undefined reference to `g_type_register_static_simple'
Terminal-terminal-helper-dialog.o(.text+0x12fb): In function `terminal_helper_dialog_get_type':
: undefined reference to `g_type_register_static_simple'
Terminal-terminal-helper.o(.text+0x333): In function `terminal_helper_database_get_type':
: undefined reference to `g_type_register_static_simple'
Terminal-terminal-image-loader.o(.text+0x83): more undefined references to `g_type_register_static_simple' follow
/usr/local/lib/libexo-0.3.so: undefined reference to `gtk_tree_view_set_rubber_banding'
/usr/local/lib/libexo-0.3.so: undefined reference to `gtk_tree_view_get_rubber_banding'
/usr/local/lib/libexo-0.3.so: undefined reference to `g_object_ref_sink'
collect2: ld returned 1 exit status
make[3]: *** [Terminal] Error 1
make[3]: Leaving directory `/tmp/xfce4-4.4RC1-installer/Terminal/terminal'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/xfce4-4.4RC1-installer/Terminal/terminal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xfce4-4.4RC1-installer/Terminal'
make: *** [all] Error 2
Anybody know what library contains these undefined references? A google search hinted that I might need glib > 2.10, but since I have 2.12.4, could this be what's causing it or is it something else?
Any help is greatly appreciated!!
Offline
gtk_* and g_object_* are gtk+ functions and all other g_* functions are glib. Since you're running the
latest gtk and glib version, this is most likely not the problem.
This problem could be caused by the -Wl,--as-needed cflag/ldflag, although Xfce should be save on this
flag.
Offline
I find that the automated installer works fine for 4.4RC1 on Slackware 11, provided you first install
vte
dbus
dbus-glib
All the above packages can be found at Linux Packages, ready for Slackware 11. During the install, you'll be prompted for some perl modules. You can let the suggested automated process do it for you.
Offline
Pages: 1
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 538.11 KiB (Peak: 538.95 KiB) ]