Bem-vindo: Qua, 27 de Novembro 2024, 3:43 Pesquisa avançada

Não consigo aplicar instalação do emerald em ubuntu12.04

Tópicos sobre artigos publicados no site Ubuntued! Nesta secção, por cada artigo publicado é criado um tópico onde poderá criticar, questionar, criar tópicos a questionar algum artigo feito e/ou até pedir alguma matéria a ser abordada no Ubuntued!

Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Brother vel » Qui, 3 de Maio 2012, 3:39

Há alguns meses vi este artigo no site: http://ubuntued.info/como-instalar-o-em ... ric-ocelot

Apliquei no meu ubuntu 11.10 e deu tudo certo. gostei muito de usar o emerald no ubuntu.
Quando instalei o 12.04 há alguns dias para minha surpresa deu erro. Fiz e refiz e erro.

Eu gostaria de saber se o ubuntu 12.04 não suporta o emerald? Ou, é claro estou fazendo tudo errado?
Avatar do usuário
Brother vel
 
Mensagens: 61
Registrado em: 03 Maio, 2012
Localização: Livramento -BA

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Miguel Fonseca » Qui, 3 de Maio 2012, 5:35

Boas Brother, eu não experimentei, por isso não posso confirmar se funciona, mas dá uma olhada neste link:

http://iamfuss.deviantart.com/journal/Install-emerald-for-Ubuntu-12-04-292806813

Dá atenção ao quarto (4) "post" do loki079 e segue as indicações.

Cumps.
It is only in Love and Murder, that we still remain sincere! - Friedrich Durrenmatt
Avatar do usuário
Miguel Fonseca
Bleeding-edge Helper
 
Mensagens: 2512
Registrado em: 10 Junho, 2011

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Brother vel » Qui, 3 de Maio 2012, 15:09

Olá miguel! Obrigado pela atenção...
Pois é eu já tentei este post tb e seja nele ou no do ubuntued, no passo 3 (./autogen.sh && make clean && make distclean && ./configure --prefix=/usr && make && gksu make install) é que dá errado. Antes do "emerald replace".
Avatar do usuário
Brother vel
 
Mensagens: 61
Registrado em: 03 Maio, 2012
Localização: Livramento -BA

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Miguel Fonseca » Qui, 3 de Maio 2012, 15:22

Faz o seguinte, repete os comandos e copia para aqui o resultado que te aparece no terminal.

E já agora, não te dá erros nenhuns no terminal quando executas o comando "./configure" (sem aspas)?

Executa só este comando isolado e vê se te aparecem erros.
Caso apareçam, copia e cola aqui o que te aparecer no terminal.

Em princípio poderá ser dependências em falta.

Aguardo.

Cumps.
It is only in Love and Murder, that we still remain sincere! - Friedrich Durrenmatt
Avatar do usuário
Miguel Fonseca
Bleeding-edge Helper
 
Mensagens: 2512
Registrado em: 10 Junho, 2011

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Luis Cardoso » Qui, 3 de Maio 2012, 15:29

Brother vel » 03 Mai 2012, 15:09 escreveu:Olá miguel! Obrigado pela atenção...
Pois é eu já tentei este post tb e seja nele ou no do ubuntued, no passo 3 (./autogen.sh && make clean && make distclean && ./configure --prefix=/usr && make && gksu make install) é que dá errado. Antes do "emerald replace".

Experimente fazer passo a passo, em vez de fazer a linha completa, para saber onde está a falhar! E já agora, pode partilhar aqui o erro reportado?

Quando digo fazer passo a passo é fazer da seguinte forma:
Spoiler:
./autogen.sh

make clean

make distclean

./configure --prefix=/usr

make

sudo make install
ImagemImagem
«Escolhe um trabalho de que gostes, e não terás que trabalhar um só dia na tua vida» - Confúcio
Avatar do usuário
Luis Cardoso
Redator
 
Mensagens: 10455
Registrado em: 26 Maio, 2011
Localização: Portugal

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Brother vel » Qui, 3 de Maio 2012, 17:49

Seguindo as instruções dos meus dois amigos fiz o comando e descobri que o erro começa à partir de "make"... E como consequência o "make install" também dá.

Spoiler:
vel@vel-e-flavia:~/emerald-0.9.4$ make
make all-recursive
make[1]: Entrando no diretório `/home/vel/emerald-0.9.4'
Making all in libengine
make[2]: Entrando no diretório `/home/vel/emerald-0.9.4/libengine'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR='"/usr/share/emerald/theme/"' -DDEFSETTINGSFILE='"/usr/share/emerald/settings.ini"' -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT emerald.lo -MD -MP -MF .deps/emerald.Tpo -c -o emerald.lo emerald.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT emerald.lo -MD -MP -MF .deps/emerald.Tpo -c emerald.c -fPIC -DPIC -o .libs/emerald.o
emerald.c: In function 'copy_from_defaults_if_needed':
emerald.c:49:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT emerald.lo -MD -MP -MF .deps/emerald.Tpo -c emerald.c -o emerald.o >/dev/null 2>&1
mv -f .deps/emerald.Tpo .deps/emerald.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR='"/usr/share/emerald/theme/"' -DDEFSETTINGSFILE='"/usr/share/emerald/settings.ini"' -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT themer.lo -MD -MP -MF .deps/themer.Tpo -c -o themer.lo themer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT themer.lo -MD -MP -MF .deps/themer.Tpo -c themer.c -fPIC -DPIC -o .libs/themer.o
themer.c: In function 'append_engine':
themer.c:877:9: warning: format not a string literal and no format arguments [-Wformat-security]
themer.c:888:13: warning: format not a string literal and no format arguments [-Wformat-security]
themer.c:899:17: warning: format not a string literal and no format arguments [-Wformat-security]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT themer.lo -MD -MP -MF .deps/themer.Tpo -c themer.c -o themer.o >/dev/null 2>&1
mv -f .deps/themer.Tpo .deps/themer.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -o libemeraldengine.la -rpath /usr/lib emerald.lo themer.lo -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lfreetype -lfontconfig -ldecoration -lXrender -lX11 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lfreetype -lfontconfig -ldecoration -lXrender -lX11 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
libtool: link: gcc -shared -fPIC -DPIC .libs/emerald.o .libs/themer.o -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 /usr/lib/i386-linux-gnu/libfreetype.so -lfontconfig -ldecoration -lXrender -lX11 -lpangocairo-1.0 -lpango-1.0 /usr/lib/i386-linux-gnu/libcairo.so -lgobject-2.0 -lglib-2.0 -O2 -pthread -pthread -Wl,-soname -Wl,libemeraldengine.so.0 -o .libs/libemeraldengine.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libemeraldengine.so.0" && ln -s "libemeraldengine.so.0.0.0" "libemeraldengine.so.0")
libtool: link: (cd ".libs" && rm -f "libemeraldengine.so" && ln -s "libemeraldengine.so.0.0.0" "libemeraldengine.so")
libtool: link: ar cru .libs/libemeraldengine.a emerald.o themer.o
libtool: link: ranlib .libs/libemeraldengine.a
libtool: link: ( cd ".libs" && rm -f "libemeraldengine.la" && ln -s "../libemeraldengine.la" "libemeraldengine.la" )
make[2]: Saindo do diretório `/home/vel/emerald-0.9.4/libengine'
Making all in src
make[2]: Entrando no diretório `/home/vel/emerald-0.9.4/src'
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DLOCALEDIR="\"/usr/share/locale"\" -DENGINE_DIR=\"/usr/lib/emerald/engines\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: Na função ‘decor_update_window_property’:
main.c:508:8: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:508:8: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:508:8: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:508:8: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘decor_update_switcher_property’:
main.c:1940:8: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:1940:8: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:1940:8: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:1940:8: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘update_default_decorations’:
main.c:2355:40: erro: ‘DECOR_NORMAL_ATOM_NAME’ undeclared (first use in this function)
main.c:2355:40: nota: each undeclared identifier is reported only once for each function it appears in
main.c:2368:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2368:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2368:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2368:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c:2427:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2427:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2427:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2427:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c:2436:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2436:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2436:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2436:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘update_window_decoration_size’:
main.c:3044:11: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
main.c: Na função ‘update_switcher_window’:
main.c:3242:9: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
main.c:3291:11: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
make[2]: ** [main.o] Erro 1
make[2]: Saindo do diretório `/home/vel/emerald-0.9.4/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/vel/emerald-0.9.4'
make: ** [all] Erro 2
vel@vel-e-flavia:~/emerald-0.9.4$ sudo make install
Making install in libengine
make[1]: Entrando no diretório `/home/vel/emerald-0.9.4/libengine'
make[2]: Entrando no diretório `/home/vel/emerald-0.9.4/libengine'
test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libemeraldengine.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libemeraldengine.so.0.0.0 /usr/lib/libemeraldengine.so.0.0.0
libtool: install: (cd /usr/lib && { ln -s -f libemeraldengine.so.0.0.0 libemeraldengine.so.0 || { rm -f libemeraldengine.so.0 && ln -s libemeraldengine.so.0.0.0 libemeraldengine.so.0; }; })
libtool: install: (cd /usr/lib && { ln -s -f libemeraldengine.so.0.0.0 libemeraldengine.so || { rm -f libemeraldengine.so && ln -s libemeraldengine.so.0.0.0 libemeraldengine.so; }; })
libtool: install: /usr/bin/install -c .libs/libemeraldengine.lai /usr/lib/libemeraldengine.la
libtool: install: /usr/bin/install -c .libs/libemeraldengine.a /usr/lib/libemeraldengine.a
libtool: install: chmod 644 /usr/lib/libemeraldengine.a
libtool: install: ranlib /usr/lib/libemeraldengine.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/usr/lib/pkgconfig"
/usr/bin/install -c -m 644 emeraldengine.pc '/usr/lib/pkgconfig'
make[2]: Saindo do diretório `/home/vel/emerald-0.9.4/libengine'
make[1]: Saindo do diretório `/home/vel/emerald-0.9.4/libengine'
Making install in src
make[1]: Entrando no diretório `/home/vel/emerald-0.9.4/src'
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DLOCALEDIR="\"/usr/share/locale"\" -DENGINE_DIR=\"/usr/lib/emerald/engines\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: Na função ‘decor_update_window_property’:
main.c:508:8: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:508:8: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:508:8: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:508:8: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘decor_update_switcher_property’:
main.c:1940:8: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:1940:8: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:1940:8: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:1940:8: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘update_default_decorations’:
main.c:2355:40: erro: ‘DECOR_NORMAL_ATOM_NAME’ undeclared (first use in this function)
main.c:2355:40: nota: each undeclared identifier is reported only once for each function it appears in
main.c:2368:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2368:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2368:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2368:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c:2427:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2427:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2427:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2427:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c:2436:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2436:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2436:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2436:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘update_window_decoration_size’:
main.c:3044:11: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
main.c: Na função ‘update_switcher_window’:
main.c:3242:9: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
main.c:3291:11: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
make[1]: ** [main.o] Erro 1
make[1]: Saindo do diretório `/home/vel/emerald-0.9.4/src'
make: ** [install-recursive] Erro 1
vel@vel-e-flavia:~/emerald-0.9.4$ ^C
vel@vel-e-flavia:~/emerald-0.9.4$
Avatar do usuário
Brother vel
 
Mensagens: 61
Registrado em: 03 Maio, 2012
Localização: Livramento -BA

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Miguel Fonseca » Qui, 3 de Maio 2012, 18:09

Boas Brother, há que ter atenção, que não é o comando "make" que deves usar!!!

Começas como o Luís Cardoso indicou!!

./autogen.sh


e vês se deu erro, caso dê, copia e cola aqui, caso não dê:

make clean


e não "make", como fizeste! e vês se deu erro (o mesmo que em cima)

depois:

make distclean


a mesma coisa

./configure --prefix=/usr


a mesma coisa

make


a mesma coisa

sudo make install


a mesma coisa.

Ou seja, um comando de cada vez e se der erro, não executas o comando seguinte, sem primeiro se saber qual o primeiro erro!!

Aguardo.

Cumps.
It is only in Love and Murder, that we still remain sincere! - Friedrich Durrenmatt
Avatar do usuário
Miguel Fonseca
Bleeding-edge Helper
 
Mensagens: 2512
Registrado em: 10 Junho, 2011

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Brother vel » Qui, 3 de Maio 2012, 18:50

Caras estava me perguntando sobre a importância que vcs deram a isto.
Valeu mesmo!

Muito bem o erro se deu no penúltimo "make", o que vem depois de "./configure --prefix=/usr" e antes de "sudo make install".
Quando coloquei "./configure --prefix=/usr" tudo deu certo até o fim...
Na vez do "make" dá erro.

No caso se deu assim:
Spoiler:
vel@vel-e-flavia:~/emerald-0.9.4$ make
make all-recursive
make[1]: Entrando no diretório `/home/vel/emerald-0.9.4'
Making all in libengine
make[2]: Entrando no diretório `/home/vel/emerald-0.9.4/libengine'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR='"/usr/share/emerald/theme/"' -DDEFSETTINGSFILE='"/usr/share/emerald/settings.ini"' -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT emerald.lo -MD -MP -MF .deps/emerald.Tpo -c -o emerald.lo emerald.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT emerald.lo -MD -MP -MF .deps/emerald.Tpo -c emerald.c -fPIC -DPIC -o .libs/emerald.o
emerald.c: In function 'copy_from_defaults_if_needed':
emerald.c:49:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT emerald.lo -MD -MP -MF .deps/emerald.Tpo -c emerald.c -o emerald.o >/dev/null 2>&1
mv -f .deps/emerald.Tpo .deps/emerald.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR='"/usr/share/emerald/theme/"' -DDEFSETTINGSFILE='"/usr/share/emerald/settings.ini"' -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT themer.lo -MD -MP -MF .deps/themer.Tpo -c -o themer.lo themer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT themer.lo -MD -MP -MF .deps/themer.Tpo -c themer.c -fPIC -DPIC -o .libs/themer.o
themer.c: In function 'append_engine':
themer.c:877:9: warning: format not a string literal and no format arguments [-Wformat-security]
themer.c:888:13: warning: format not a string literal and no format arguments [-Wformat-security]
themer.c:899:17: warning: format not a string literal and no format arguments [-Wformat-security]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DENGINE_DIR=\"/usr/lib/emerald/engines\" -DDEFTHEMEDIR=\"/usr/share/emerald/theme/\" -DDEFSETTINGSFILE=\"/usr/share/emerald/settings.ini\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT themer.lo -MD -MP -MF .deps/themer.Tpo -c themer.c -o themer.o >/dev/null 2>&1
mv -f .deps/themer.Tpo .deps/themer.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -o libemeraldengine.la -rpath /usr/lib emerald.lo themer.lo -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lfreetype -lfontconfig -ldecoration -lXrender -lX11 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lfreetype -lfontconfig -ldecoration -lXrender -lX11 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
libtool: link: gcc -shared -fPIC -DPIC .libs/emerald.o .libs/themer.o -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 /usr/lib/i386-linux-gnu/libfreetype.so -lfontconfig -ldecoration -lXrender -lX11 -lpangocairo-1.0 -lpango-1.0 /usr/lib/i386-linux-gnu/libcairo.so -lgobject-2.0 -lglib-2.0 -O2 -pthread -pthread -Wl,-soname -Wl,libemeraldengine.so.0 -o .libs/libemeraldengine.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libemeraldengine.so.0" && ln -s "libemeraldengine.so.0.0.0" "libemeraldengine.so.0")
libtool: link: (cd ".libs" && rm -f "libemeraldengine.so" && ln -s "libemeraldengine.so.0.0.0" "libemeraldengine.so")
libtool: link: ar cru .libs/libemeraldengine.a emerald.o themer.o
libtool: link: ranlib .libs/libemeraldengine.a
libtool: link: ( cd ".libs" && rm -f "libemeraldengine.la" && ln -s "../libemeraldengine.la" "libemeraldengine.la" )
make[2]: Saindo do diretório `/home/vel/emerald-0.9.4/libengine'
Making all in src
make[2]: Entrando no diretório `/home/vel/emerald-0.9.4/src'
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I../include -DLOCALEDIR="\"/usr/share/locale"\" -DENGINE_DIR=\"/usr/lib/emerald/engines\" -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/i386-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/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: Na função ‘decor_update_window_property’:
main.c:508:8: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:508:8: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:508:8: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:508:8: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘decor_update_switcher_property’:
main.c:1940:8: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:1940:8: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:1940:8: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:1940:8: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘update_default_decorations’:
main.c:2355:40: erro: ‘DECOR_NORMAL_ATOM_NAME’ undeclared (first use in this function)
main.c:2355:40: nota: each undeclared identifier is reported only once for each function it appears in
main.c:2368:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2368:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2368:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2368:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c:2427:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2427:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2427:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2427:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c:2436:5: aviso: passing argument 3 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘Pixmap’ but argument is of type ‘struct decor_extents_t *’
main.c:2436:5: aviso: passing argument 9 of ‘decor_quads_to_property’ makes integer from pointer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2436:5: aviso: passing argument 10 of ‘decor_quads_to_property’ makes pointer from integer without a cast [habilitado por padrão]
/usr/include/compiz/decoration.h:218:1: nota: expected ‘struct decor_quad_t *’ but argument is of type ‘gint’
main.c:2436:5: erro: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:218:1: nota: declared here
main.c: Na função ‘update_window_decoration_size’:
main.c:3044:11: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
main.c: Na função ‘update_switcher_window’:
main.c:3242:9: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
main.c:3291:11: aviso: assignment makes pointer from integer without a cast [habilitado por padrão]
make[2]: ** [main.o] Erro 1
make[2]: Saindo do diretório `/home/vel/emerald-0.9.4/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/vel/emerald-0.9.4'
make: ** [all] Erro 2
vel@vel-e-flavia:~/emerald-0.9.4$


Aguardando!!!
Avatar do usuário
Brother vel
 
Mensagens: 61
Registrado em: 03 Maio, 2012
Localização: Livramento -BA

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Luis Cardoso » Qui, 3 de Maio 2012, 19:27

Bem, reparei que está a usar a versão 0.9.4, vamos experimentar com a versão 0.9.5.
Então façamos o seguinte, abra o terminal e cole o seguinte comando:
Código: Selecionar todos
wget http://cgit.compiz.org/fusion/decorators/emerald/snapshot/emerald-0.9.5.tar.gz

Quando o download terminar, continue com o seguinte:
tar -xf emerald-0.9.5.tar.gz

E de seguida:
cd emerald-0.9.5

Depois o habitual processo (tal como o Miguel disse vá executando tudo passo a passo e se houver erro, pare de imediato e reporte-o aqui):
./autogen.sh

make clean

make distclean

./configure --prefix=/usr

make

sudo make install


Fico a aguardar por resposta!
ImagemImagem
«Escolhe um trabalho de que gostes, e não terás que trabalhar um só dia na tua vida» - Confúcio
Avatar do usuário
Luis Cardoso
Redator
 
Mensagens: 10455
Registrado em: 26 Maio, 2011
Localização: Portugal

Re: Não consigo aplicar instalação do emerald em ubuntu12.04

Mensagempor Luis Cardoso » Qui, 3 de Maio 2012, 19:35

Esqueci-me do mais importante:
sudo apt-get install git autoconf libtool libwnck1.0-cil-dev libwnck-dev intltool libdecoration0-dev gawk

Isto é para ser feito antes de todos os passos que indiquei no tópico anterior.
ImagemImagem
«Escolhe um trabalho de que gostes, e não terás que trabalhar um só dia na tua vida» - Confúcio
Avatar do usuário
Luis Cardoso
Redator
 
Mensagens: 10455
Registrado em: 26 Maio, 2011
Localização: Portugal

Próximo

Voltar para Artigos publicados no Ubuntued

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 0 visitantes