SliTaz SliTaz Forum

You are not logged in.

#1 2012-01-17 08:20:26

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Help needed with compiling Emerald

This issue relates to my previous post http://forum.slitaz.org/topic/how-to-get-compiz-working

Essentially, from what I understand compiz requires an external window decorator to get the decorator plugin working. After trying all sorts of window managers, jwm, xfwm4 etc I was not able to make any progress and if I try to run any of them I get an error message stating that a window manager (compiz) is already running and if I use --replace option, it takes me back to the Slim login.

The Compiz Wiki tells me that I could run emerald as a decorator and since emerald is not in the Slitaz repo, I downloaded emerald-0.8.8 from http://releases.compiz-fusion.org/0.8.8/ and tried to compile it.

I ran .configure from the source directory and it worked without any errors. However, when I ran make check (before doing a make), make fails with following errors.

main.c: In function ‘decor_update_window_property’:

main.c:508:8: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast

/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’

main.c:508:8: error: too few arguments to function ‘decor_quads_to_property’

/usr/include/compiz/decoration.h:186:1: note: declared here

main.c: In function ‘decor_update_switcher_property’:

main.c:1940:8: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast

/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’

main.c:1940:8: error: too few arguments to function ‘decor_quads_to_property’

/usr/include/compiz/decoration.h:186:1: note: declared here

main.c: In function ‘update_default_decorations’:

main.c:2368:5: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast

/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’

main.c:2368:5: error: too few arguments to function ‘decor_quads_to_property’

/usr/include/compiz/decoration.h:186:1: note: declared here

main.c:2427:5: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast

/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’

main.c:2427:5: error: too few arguments to function ‘decor_quads_to_property’

/usr/include/compiz/decoration.h:186:1: note: declared here

main.c:2436:5: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast

/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’

main.c:2436:5: error: too few arguments to function ‘decor_quads_to_property’

/usr/include/compiz/decoration.h:186:1: note: declared here

main.c: In function ‘update_window_decoration_size’:

main.c:3044:11: warning: assignment makes pointer from integer without a cast

main.c: In function ‘update_switcher_window’:

main.c:3242:9: warning: assignment makes pointer from integer without a cast

main.c:3291:11: warning: assignment makes pointer from integer without a cast

main.c: In function ‘main’:

main.c:5620:5: error: too few arguments to function ‘decor_set_dm_check_hint’

/usr/include/compiz/decoration.h:411:1: note: declared here

make[1]: *** [main.o] Error 1

make[1]: Leaving directory `/home/tux/Downloads/emerald-0.8.8/src'

make: *** [check-recursive] Error 1

Any help to resolve this issue is greatly appreciated.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]