problem building gtk+ 2.10.6



I couldn't find anything relevant on google, so here is my question:

My Gtk+ build fails on x86_64-linux with (compiler is GCC 3.4.6):

$ configure --prefix=/home/install-gtk/gtk --disable-debug --disable-modules \
    --without-libtiff --with-included-loaders=xpm,png,gif,jpeg
$ make all install
[...]
make[3]: Entering directory `/build/gtk/gtk+-2.10.6/gtk'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"tall-troy/gtk/lib\" -DGTK_DATADIR=\"/home/install-gtk/gtk/share\" -DGTK_DATA_PREFIX=\"/home/install-gtk/gtk\" -DGTK_SYSCONFDIR=\"/home/install-gtk/gtk/etc\" -DGTK_VERSION=\"2.10.6\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"x86_64-unknown-linux-gnu\" -DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,lpr\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince --preview %f"\" -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -pthread -I/home/install-gtk/gtk/include/glib-2.0 -I/home/install-gtk/gtk/lib/glib-2.0/include -I/home/install-gtk/gtk/include/pango-1.0 -I/home/install-gtk/gtk/include/cairo -I/home/install-gtk/gtk/include/atk-1.0        -I/usr/X11R6/include  -DG_DISABLE_DEPRECATED -g -O2 -Wall -MT updateiconcache.o -MD -MP -MF ".deps/updateiconcache.Tpo" \
  -c -o updateiconcache.o `test -f 'updateiconcache.c' || echo './'`updateiconcache.c; \
then mv -f ".deps/updateiconcache.Tpo" ".deps/updateiconcache.Po"; \
else rm -f ".deps/updateiconcache.Tpo"; exit 1; \
fi
gcc: %f": No such file or directory
cc1: error: unrecognized command line option "-fpreview"
make[3]: *** [updateiconcache.o] Error 1

Apparently the GDK_PRINT_PREVIEW_COMMAND is somehow misquoted:
-DGTK_PRINT_PREVIEW_COMMAND=\""evince --preview %f"\"

Have other people experienced this issue ?
Thanks in advance.

Arno



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]