View Full Version : checking for GTK_WINDOW_DECORATOR... no
bbb
December 10th, 2006, 10:18 PM
Hi, I'm new to compiz so please be gentle with me.
I'm trying to compile compiz but keep getting
checking for GTK_WINDOW_DECORATOR... no
and can't enable gtk metacity and gnome
What did I do wrong? I'm compiled gnome myself
using garnome-2.16.2.
Thanks!
bbb
December 10th, 2006, 10:49 PM
If it helps, here is the output of configure script. Oh, and I'm using debian sid on 686.
vaio:[~/Desktop/compiz-0.3.4]$ ./configure --prefix=/home/boat/garnome --enable-gtk --enable-librsvg
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 whether to enable maintainer-specific portions of Makefiles... no
./configure: line 2575: /bin: is a directory
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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 recognise dependent libraries... pass_all
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... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
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 for correct ltmain.sh version... yes
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/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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) 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 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 for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... cs de es fi fr hu it ja pl pt_BR sv zh_CN zh_TW
checking whether byte ordering is bigendian... no
checking for pkg-config... /home/boat/garnome/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for COMPIZ... yes
checking for GL_CFLAGS...
checking for GL_LIBS... -lGL
checking for GCONF... yes
checking for gconftool-2... /home/boat/garnome/bin/gconftool-2
Using config source xml:merged:/home/boat/garnome/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for PLACE... yes
checking for DBUS... yes
checking for ANNOTATE... yes
checking for LIBRSVG... yes
checking for GTK_WINDOW_DECORATOR... no
configure: creating ./config.status
config.status: creating compiz.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/compiz.schemas
config.status: creating images/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/window-decorator/Makefile
config.status: creating gtk/window-decorator/gwd.schemas
config.status: creating gtk/gnome/Makefile
config.status: creating gtk/gnome/compiz.desktop
config.status: creating kde/Makefile
config.status: creating kde/window-decorator/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
the following optional plugins will be compiled:
gconf: yes
place: yes
dbus: yes
annotate: yes
and the following optional features will be compiled:
svg: yes
gtk: no
metacity: no
gnome: no
kde: no
imnotpc
December 10th, 2006, 11:25 PM
I was working on a compile from source how-to awhile back and made some notes. One pre-requisite is having the gtk2-devel and libwnck-devel packages installed. If they aren't installed the configure will finish without errors but will disable gtk. If you want the gnome window manager to be enabled make sure you have control-center2-devel and metacity installed as well.
bbb
December 10th, 2006, 11:40 PM
Thank you for your reply!
I think I have gtk2-devel and libwnck-devel installed. Here is the output
from pkg-config
$ pkg-config --modversion gtk+-2.0 libwnck-1.0 librsvg-2.0
2.10.6
2.16.2
2.16.1
But somehow, I cannot enable gtk, metacity or gnome
bbb
December 11th, 2006, 01:27 AM
I think I might figured out what was wrong. My xrender version is 0.8.3 but
the configure script require 0.8.4. I'm trying to compile xrender from CVS
and try again.
bbb
December 11th, 2006, 02:47 AM
ok, upgrading xrender solve the compilation problem.
Now when I run
$compiz --replace
I get
GLX_EXT_texture_from_pixmap is missing
Running
$LIBGL_ALWAYS_INDIRECT=1 compiz --replace
works though.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.