[Sawfish] problem compiling sawfish-pager

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


I switched distributions to Ubuntu (12.04) a while back (new computer,
and it came pre-installed), and since then I haven't been able to get
sawfish-pager to compile.  I haven't been following the list for a
while, so I apologize if this has been discussed already....

Here's a log of a compile attempt, from git:

% ./autogen.sh && make                     
rm -f sawfishpager pager.jlc
rm -f Makefile config.cache config.log config.status
rm -f sawfish-pager.pc
rm -rf autom4te.cache
rm -f aclocal.m4 configure
fakeroot debian/rules clean sawfish-pager*.ebuild
make[1]: Entering directory `/home/nowan/src/pager'
dh clean --with autotools-dev --with autoreconf
dh: unable to load addon autoreconf: Can't locate
Debian/Debhelper/Sequence/autoreconf.pm in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14
/usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 4) line 2.
BEGIN failed--compilation aborted at (eval 4) line 2.

make[1]: *** [clean] Error 2
make[1]: Leaving directory `/home/nowan/src/pager'
make: [gitclean] Error 2 (ignored)
removed `m4/libtool.m4'
removed `m4/lt~obsolete.m4'
removed `m4/ltoptions.m4'
removed `m4/ltsugar.m4'
removed `m4/ltversion.m4'
Running autoheader
Running libtoolize
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running aclocal 
Running autoconf 
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to
toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking 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/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... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for REP... yes
checking for GTK... yes
checking for SAWFISH... yes
checking for GDK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sawfish-pager.pc
config.status: creating sawfish-pager.ebuild
config.status: creating sawfish-pager.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands

  == == == == == == == == == == == == ==

  sawfishpager: 0.90.3 'Stomping Jack Flash'

  == == == == == == == == == == == == ==

  prefix:       /usr/local
  pager.c dir:  /usr/local/lib/sawfish
  pager.jl dir: /usr/local/share/sawfish/lisp/sawfish/wm/ext

  == == == == == == == == == == == == ==

  compiler:     gcc
  cflags:       -g -O2 
  preprocessor: gcc -E
  cppflags:
  ldflags:
  makeflags:

  == == == == == == == == == == == == ==

  rep:          0.92.2.1
  gtk+:         2.24.10
  sawfish:      1.9.1

  == == == == == == == == == == == == ==

  image loader: GDK Pixbuf Xlib

  == == == == == == == == == == == == ==
  
cc -pthread -I/usr/include/gtk-2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -pthread -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/libpng12 -pthread -I/usr/local/include
-I/usr/local/include/ -I/usr/local/lib/rep/ -I/usr/include/gtk-2.0
-I/usr/include/gdk-pixbuf-2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -Wl,-rpath
/usr/local/lib/rep/sawfish /usr/local/lib/rep/sawfish/client.so
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lglib-2.0 -pthread -L/usr/local/lib -lX11
-lgdk_pixbuf_xlib-2.0 -lrep -lcrypt -lgmp -lm -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
-lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -lrt
-lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -pthread
-lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 -lrt -lgdk_pixbuf-2.0
-lgobject-2.0 -lglib-2.0 sawfishpager.c -o sawfishpager
sawfishpager.c: In function ‘configure_event’:
sawfishpager.c:334:34: warning: assignment makes pointer from integer
without a cast [enabled by default]
sawfishpager.c:339:39: warning: assignment makes pointer from integer
without a cast [enabled by default]
sawfishpager.c: In function ‘make_background’:
sawfishpager.c:357:15: warning: assignment makes pointer from integer
without a cast [enabled by default]
/tmp/cc0JGBhV.o: In function `main':
sawfishpager.c:(.text+0x21): undefined reference to `gtk_init'
sawfishpager.c:(.text+0x2b): undefined reference to `client_open'
sawfishpager.c:(.text+0x3e): undefined reference to `client_close'
sawfishpager.c:(.text+0x6f): undefined reference to `gtk_plug_new'
sawfishpager.c:(.text+0x7b): undefined reference to `gtk_window_new'
sawfishpager.c:(.text+0x91): undefined reference to `gtk_vbox_new'
sawfishpager.c:(.text+0x9a): undefined reference to `gtk_container_get_type'
sawfishpager.c:(.text+0xaf): undefined reference to `g_type_check_instance_cast'
sawfishpager.c:(.text+0xbe): undefined reference to `gtk_container_add'
sawfishpager.c:(.text+0xc3): undefined reference to `gtk_drawing_area_new'
sawfishpager.c:(.text+0xf7): undefined reference to `gtk_drawing_area_get_type'
sawfishpager.c:(.text+0x10c): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x11e): undefined reference to `gtk_drawing_area_size'
sawfishpager.c:(.text+0x12a): undefined reference to `gtk_box_get_type'
sawfishpager.c:(.text+0x13c): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x157): undefined reference to `gtk_box_pack_start'
sawfishpager.c:(.text+0x161): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x176): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x197): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x1a1): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x1b6): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x1d7): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x1fa): undefined reference to `gdk_input_add'
sawfishpager.c:(.text+0x204): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x219): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x23a): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x244): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x259): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x27a): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x284): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x299): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x2ba): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x2c4): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x2d9): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x2fa): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x304): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x319): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x33a): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x34e): undefined reference to `gtk_widget_set_events'
sawfishpager.c:(.text+0x358): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x36d): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x38e): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x398): undefined reference to `gtk_object_get_type'
sawfishpager.c:(.text+0x3ad): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x3ce): undefined reference to `g_signal_connect_data'
sawfishpager.c:(.text+0x3dd): undefined reference to `gtk_widget_show'
sawfishpager.c:(.text+0x3e9): undefined reference to `gtk_widget_show'
sawfishpager.c:(.text+0x3f8): undefined reference to `gdk_atom_intern'
sawfishpager.c:(.text+0x40a): undefined reference to `gdk_atom_intern'
sawfishpager.c:(.text+0x42d): undefined reference to `gtk_window_get_type'
sawfishpager.c:(.text+0x442): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x44f): undefined reference to `gtk_window_set_type_hint'
sawfishpager.c:(.text+0x45e): undefined reference to `gtk_widget_show'
sawfishpager.c:(.text+0x463): undefined reference to `gtk_main'
/tmp/cc0JGBhV.o: In function `send_command':
sawfishpager.c:(.text+0x492): undefined reference to `client_eval'
/tmp/cc0JGBhV.o: In function `box':
sawfishpager.c:(.text+0x583): undefined reference to `gdk_draw_rectangle'
/tmp/cc0JGBhV.o: In function `clipbox':
sawfishpager.c:(.text+0x5cb): undefined reference to `gdk_gc_set_clip_rectangle'
sawfishpager.c:(.text+0x600): undefined reference to `gdk_draw_rectangle'
/tmp/cc0JGBhV.o: In function `expose_event':
sawfishpager.c:(.text+0x649): undefined reference to `gtk_widget_get_state'
sawfishpager.c:(.text+0x68d): undefined reference to `gdk_draw_drawable'
/tmp/cc0JGBhV.o: In function `motion_notify_event':
sawfishpager.c:(.text+0x9cd): undefined reference to `gdk_window_get_pointer'
/tmp/cc0JGBhV.o: In function `configure_event':
sawfishpager.c:(.text+0xbfa): undefined reference to `g_object_unref'
sawfishpager.c:(.text+0xc1d): undefined reference to `gdk_gc_unref'
sawfishpager.c:(.text+0xc48): undefined reference to `gdk_pixmap_new'
sawfishpager.c:(.text+0xc86): undefined reference to `gdk_gc_new'
sawfishpager.c:(.text+0xcb5): undefined reference to `gdk_gc_set_foreground'
sawfishpager.c:(.text+0xce8): undefined reference to
gdk_gc_set_line_attributes'
sawfishpager.c:(.text+0xcfc): undefined reference to `gdk_gc_new'
sawfishpager.c:(.text+0xd1e): undefined reference to `gdk_gc_set_foreground'
sawfishpager.c:(.text+0xd47): undefined reference to
gdk_gc_set_line_attributes'
/tmp/cc0JGBhV.o: In function `make_background':
sawfishpager.c:(.text+0xd87): undefined reference to `g_object_unref'
sawfishpager.c:(.text+0xdb9): undefined reference to
gdk_pixmap_create_from_xpm'
sawfishpager.c:(.text+0xdf6): undefined reference to `gdk_pixmap_new'
sawfishpager.c:(.text+0xe3a): undefined reference to `gdk_draw_rectangle'
sawfishpager.c:(.text+0xec0): undefined reference to `gdk_draw_rectangle'
sawfishpager.c:(.text+0xf1c): undefined reference to `gdk_draw_line'
sawfishpager.c:(.text+0xf50): undefined reference to `gdk_draw_line'
sawfishpager.c:(.text+0xf69): undefined reference to `gdk_gc_set_fill'
sawfishpager.c:(.text+0xf87): undefined reference to `gdk_gc_set_tile'
/tmp/cc0JGBhV.o: In function `draw_pager':
sawfishpager.c:(.text+0x142b): undefined reference to `gdk_draw_line'
sawfishpager.c:(.text+0x147e): undefined reference to `gdk_draw_line'
sawfishpager.c:(.text+0x14d9): undefined reference to `gdk_draw_line'
sawfishpager.c:(.text+0x1531): undefined reference to `gdk_draw_line'
sawfishpager.c:(.text+0x1547): undefined reference to `gtk_widget_draw'
/tmp/cc0JGBhV.o: In function `parse_stdin':
sawfishpager.c:(.text+0x1bcb): undefined reference to `gdk_window_resize'
sawfishpager.c:(.text+0x1bdd): undefined reference to
gtk_drawing_area_get_type'
sawfishpager.c:(.text+0x1bf2): undefined reference to
g_type_check_instance_cast'
sawfishpager.c:(.text+0x1c04): undefined reference to `gtk_drawing_area_size'
sawfishpager.c:(.text+0x1c45): undefined reference to `gdk_colormap_get_system'
sawfishpager.c:(.text+0x1c8e): undefined reference to `gdk_colormap_free_colors'
sawfishpager.c:(.text+0x1d34): undefined reference to `gdk_colormap_alloc_color'
/tmp/cc0JGBhV.o: In function `destroy_event':
sawfishpager.c:(.text+0x1db0): undefined reference to `gtk_main_quit'
/tmp/cc0JGBhV.o: In function `wmspec_change_state':
sawfishpager.c:(.text+0x1e11): undefined reference to `gdk_display_get_default'
sawfishpager.c:(.text+0x1e19): undefined reference to
gdk_x11_display_get_xdisplay'
sawfishpager.c:(.text+0x1e2f): undefined reference to `gdk_x11_drawable_get_xid'
sawfishpager.c:(.text+0x1e40): undefined reference to
gdk_x11_get_xatom_by_name'
sawfishpager.c:(.text+0x1e74): undefined reference to `gdk_x11_atom_to_xatom'
sawfishpager.c:(.text+0x1e8a): undefined reference to `gdk_x11_atom_to_xatom'
sawfishpager.c:(.text+0x1e96): undefined reference to
gdk_get_default_root_window'
sawfishpager.c:(.text+0x1e9e): undefined reference to `gdk_x11_drawable_get_xid'
sawfishpager.c:(.text+0x1ea6): undefined reference to `gdk_display_get_default'
sawfishpager.c:(.text+0x1eae): undefined reference to
gdk_x11_display_get_xdisplay'
sawfishpager.c:(.text+0x1ecd): undefined reference to `XSendEvent'
collect2: ld returned 1 exit status
make: *** [sawfishpager] Error 1

-- 
Jeremy Hankins <nowan@xxxxxxxxx>

--
Sawfish ML


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/