You are not logged in.

#1 2009-01-21 17:29:41

Andy Mack
Member
Registered: 2008-06-16
Posts: 133

[Solved] Cairo-Dock Build Failed

Im trying to get cairo-dock up and running but keep getting the message that the build has failed. Tried both manual and with yaourt with same results.
Im still wet behind the ears with this kinda thing so any help would be much appreciated.

Thanks


==> Making package: cairo-dock 1.6.3.1-1 i686 (Wed Jan 21 17:26:27 GMT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found cairo-dock-1.6.3.1.tar.bz2 in build dir
==> Validating source files with md5sums...
    cairo-dock-1.6.3.1.tar.bz2 ... Passed
==> Extracting Sources...
  -> bsdtar -x -f cairo-dock-1.6.3.1.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --force
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --force-missing
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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) 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... no
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.40.5 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
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... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
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 for ANSI C header files... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for stdlib.h... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for XEXTEND... yes
checking for GLITZ... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cairo-dock.pc
config.status: WARNING:  'cairo-dock.pc.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating data/cairo-dock.conf
config.status: creating data/main-dock.conf
config.status: creating data/default-theme/Makefile
config.status: creating data/default-theme/launchers/Makefile
config.status: creating data/default-theme/icons/Makefile
config.status: creating data/gauges/Makefile
config.status: creating data/gauges/radium/Makefile
config.status: creating data/gauges/radium-fuel/Makefile
config.status: creating data/gauges/battery/Makefile
config.status: creating data/gauges/old-square/Makefile
config.status: creating data/gauges/turbo-night/Makefile
config.status: creating data/gauges/turbo-night-fuel/Makefile
config.status: creating data/gauges/turbo-night-dual/Makefile
config.status: creating data/gauges/rainbow/Makefile
config.status: creating data/gauges/tomato/Makefile
config.status: creating data/gauges/Circle/Makefile
config.status: creating data/emblems/Makefile
config.status: creating data/explosion/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE
Cairo-Dock will be compiled with the following options :
 * Use X Extensions : yes
 * Hardware Acceleration : yes
make  all-recursive
make[1]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
Making all in .
make[2]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
make[2]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
Making all in src
make[2]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
Making all in .
make[3]: Entering directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
gcc -DHAVE_CONFIG_H -I. -I..    -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/librsvg-2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2    -DHAVE_GLITZ="1"  -DHAVE_XEXTEND="1" -DCAIRO_DOCK_SHARE_DATA_DIR=\""/usr/share/cairo-dock"\" -DCAIRO_DOCK_SHARE_THEMES_DIR=\""/usr/share/cairo-dock/themes"\" -DCAIRO_DOCK_MODULES_DIR=\""/usr/lib/cairo-dock"\" -DCAIRO_DOCK_CONF_FILE=\""cairo-dock.conf"\" -DCAIRO_DOCK_EASY_CONF_FILE=\""cairo-dock_easy.conf"\" -DCAIRO_DOCK_LAUNCHER_CONF_FILE=\""launcher.conf"\" -DCAIRO_DOCK_CONTAINER_CONF_FILE=\""container.conf"\" -DCAIRO_DOCK_SEPARATOR_CONF_FILE=\""separator.conf"\" -DCAIRO_DOCK_THEME_CONF_FILE=\""themes.conf"\" -DCAIRO_DOCK_MAIN_DOCK_CONF_FILE=\""main-dock.conf"\" -DCAIRO_DOCK_DEFAULT_ICON_NAME=\""default-icon.svg"\" -DCAIRO_DOCK_DEFAULT_INDICATOR_NAME=\""default-indicator.png"\" -DCAIRO_DOCK_DEFAULT_DROP_INDICATOR_NAME=\""default-drop-indicator.svg"\" -DCAIRO_DOCK_VERSION=\""1.6.3.1"\" -DCAIRO_DOCK_LOCALE_DIR=\""/usr/share/locale"\" -DCAIRO_DOCK_GETTEXT_PACKAGE=\""cairo-dock"\" -DCAIRO_DOCK_ICON=\""cairo-dock.svg"\" -DCAIRO_DOCK_LOGO=\""cairo-dock-logo.png"\" -std=c99 -O3 -g -ggdb -Wno-unused-parameter -march=i686 -mtune=generic -O2 -pipe -MT cairo_dock-cairo-dock-callbacks.o -MD -MP -MF .deps/cairo_dock-cairo-dock-callbacks.Tpo -c -o cairo_dock-cairo-dock-callbacks.o `test -f 'cairo-dock-callbacks.c' || echo './'`cairo-dock-callbacks.c
cairo-dock-callbacks.c:24:25: error: cairo-glitz.h: No such file or directory
cairo-dock-icons.h:335: warning: inline function 'cairo_dock_update_removing_inserting_icon' declared but never defined
make[3]: *** [cairo_dock-cairo-dock-callbacks.o] Error 1
make[3]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andy/cairo-dock/src/cairo-dock-1.6.3.1'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Last edited by Andy Mack (2009-01-21 20:21:01)

Offline

#2 2009-01-21 17:34:29

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: [Solved] Cairo-Dock Build Failed

Your cairo package needs to be compiled with glitz enabled. (By default, arch's cairo is not).  Edit the cairo package build with abs, or install cairo-wglitz from aur.

Offline

#3 2009-01-21 20:20:30

Andy Mack
Member
Registered: 2008-06-16
Posts: 133

Re: [Solved] Cairo-Dock Build Failed

Worked like a charm smile

Thanks xaiviax

Offline

#4 2009-01-22 01:00:51

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: [Solved] Cairo-Dock Build Failed

Works well for me too. Thanks smile


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#5 2009-01-28 08:58:46

blitux
Member
From: Mendoza, Argentina
Registered: 2008-10-09
Posts: 21

Re: [Solved] Cairo-Dock Build Failed

xaiviax wrote:

Your cairo package needs to be compiled with glitz enabled. (By default, arch's cairo is not).  Edit the cairo package build with abs, or install cairo-wglitz from aur.

Worked for me too.


-=[ bLiTux ]=-

Offline

#6 2009-03-26 01:41:45

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: [Solved] Cairo-Dock Build Failed

When I yaourt cairo-dock it comes with the wglitz package, but from what I understand you have to get cairo-dock and cairo-dock-plugins, but when I build cairo-dock-plugins it fails while building it

applet-mixer.c:286: error: too many arguments to function 'cairo_dock_build_dialog'

and it stops right after that, any thoughs?

Last edited by SiegeMachine (2009-03-26 01:42:38)

Offline

Board footer

Powered by FluxBB