Autor Tópico: [RESOLVIDO] Tentando compilar o pacote Pitivi (Ubuntu 12.04)  (Lida 2121 vezes)

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
[RESOLVIDO] Tentando compilar o pacote Pitivi (Ubuntu 12.04)
« Online: 28 de Fevereiro de 2014, 20:30 »
Boa noite pessoal!

Estou tentando compilar a versão mais recente do programa Pitivi (pois a versão que tem nos repositórios do Ubuntu 12.04 é muito antiga), mas ao executar o comando ./configure me retorna um erro no final:

Código: [Selecionar]
renan@ubuntu-desktop:~/Downloads/pitivi-0.92$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 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 how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 -m elf_x86_64) 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
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
configure: Storing library files in /usr/local/lib
configure: Storing data files in /usr/local/share
configure: Storing configuration files in /usr/local/etc
configure: Using localstatedir /usr/local/var
checking for a Python interpreter with version >= 2.7.0... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
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 if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
./configure: line 12783: intltool-update: command not found
checking for intltool >= 0.35.0...  found
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.

Então eu fui atrás desse pacote "intltool", baixei a versão mais recente dele e na hora de compilar outro erro:

Código: [Selecionar]
renan@ubuntu-desktop:~/Downloads/intltool-0.50.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

Mas esse eu não sei como resolver :(
« Última modificação: 01 de MAR?O de 2014, 11:57 por Renan Rischiotto »

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
Re: Tentando compilar o pacote "intltool"
« Resposta #1 Online: 28 de Fevereiro de 2014, 20:46 »
Consegui resolver pessoal, fui até o site indicado no site oficial do Pitivi e instalei todas as dependências possíveis (as dependências são para compilar o Pitivi, mas acabou funcionando para compilar o "intltool" :)).

Eles recomendam também olhar esse site para ver mais dependências, mas eu não entendi esse arquivo, é confuso pra mim...se alguém souber quais dependências constam nesse arquivo e puder me falar ficaria grato  :)

EDIT:

É, vou precisar instalar as dependências desse arquivo, pois ao abrir o Pitivi pelo terminal, olha o que aparece:

Código: [Selecionar]
renan@ubuntu-desktop:~$ pitivi
ERROR:root:Could not find any typelib for GES
Traceback (most recent call last):
  File "/usr/local/bin/pitivi", line 141, in <module>
    _check_dependencies()
  File "/usr/local/bin/pitivi", line 99, in _check_dependencies
    missing_hard_deps = check_hard_dependencies()
  File "/usr/local/lib/pitivi/python/pitivi/check.py", line 173, in check_hard_dependencies
    reg = Gst.Registry.get()
AttributeError: type object 'Registry' has no attribute 'get'

Alguém poderia me ajudar?
« Última modificação: 28 de Fevereiro de 2014, 20:51 por Renan Rischiotto »

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Tentando compilar o pacote Pitivi (Ubuntu 12.04)
« Resposta #2 Online: 01 de MAR?O de 2014, 01:52 »
renan vai no site do desenvolvedor do pitivi e isntalale as depedencias que ele manda la, depois va ate o seu software-center do ubuntu e marque os repositorios todos da primeira aba, em aplicativos ubuntu em outros programas tbm vc marca o codigo fonte.

Agora, veja se vc encontra um PPA do pitivi adiciona ele mas nao isntala o aplicativo, ele vai ajudar vc a resolver as dependencias, depois de adicionado o repositorio vc entra com o comando no termnal;

sudo apt-get build-dep pitivi

e pronto.

Se o pitivi ja vem no repositorio do ubuntu, mais facil ainda, vc nem precisa adicionar PPA vcda direto o comando sudo apt-get build-dep pitivi e ele ja vai isntalar todas as dependencias para compilar.

platao@platao-ubuntu:~$ sudo apt-get build-dep pitivi
[sudo] password for platao:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências      
Lendo informação de estado... Pronto
Os NOVOS pacotes a seguir serão instalados:
  dh-buildinfo gnome-doc-utils libssl-dev python-dev python2.7-dev xsltproc
0 pacotes atualizados, 6 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 31,5 MB de arquivos.
Depois desta operação, 48,4 MB adicionais de espaço em disco serão usados.
Você quer continuar [S/n]?

http://wiki.pitivi.org/wiki/Git

« Última modificação: 01 de MAR?O de 2014, 02:04 por platao »
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
Re: Tentando compilar o pacote Pitivi (Ubuntu 12.04)
« Resposta #3 Online: 01 de MAR?O de 2014, 11:56 »
Obrigado pela resposta platao, mas como eu estava meio sem paciência já com isso eu instalei o Manjaro de novo e aí só foi mandar instalar o Pitivi que já está na última versão (0.92) rsrs

Abraços.

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: [RESOLVIDO] Tentando compilar o pacote Pitivi (Ubuntu 12.04)
« Resposta #4 Online: 01 de MAR?O de 2014, 14:06 »
So tome cuidado...compilar vicia!!!! ; )
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
Re: [RESOLVIDO] Tentando compilar o pacote Pitivi (Ubuntu 12.04)
« Resposta #5 Online: 01 de MAR?O de 2014, 14:12 »
So tome cuidado...compilar vicia!!!! ; )

kkkkkkkkkk

Nem me fale, estou tentando compilar (na verdade já compilei e instalei, estou tentando criar o pacote pronto) um programa que não tem nos repositórios do Manjaro pra colocar no AUR rsrs

Mas é pra ajudar a comunidade mesmo, sem vícios kkkkk
« Última modificação: 01 de MAR?O de 2014, 14:15 por Renan Rischiotto »