Instalando gtk-config e / ou fsv, faltando dependências do GTK

6

Estou tentando instalar o File System Visualizer (pense "É um sistema UNIX! Eu sei disso!" de Jurassic Park) no Ubuntu 10.10.

Eu tenho o .tar.gz baixado e extraído. No entanto, quando eu ./configure , recebo esta saída:

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for comparison_fn_t... yes
checking for st_blocks in struct stat... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working fnmatch... yes
checking for strftime... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for strcspn... yes
checking for strdup... yes
checking for strspn... yes
checking for strtod... yes
checking for strtoul... yes
checking for scandir... yes
checking for inline... inline
checking for off_t... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... (cached) yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... 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 gtk-config... no
checking for GTK - version >= 1.2.1... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find proper GTK+ version

Obviamente, está procurando por gtk-config. No entanto, aparentemente , ele não existe mais nos repositórios. Então este post mencionou que o gtkglarea resolveu seu problema, como mencionado em este arquivo .

É claro que o autor se esquece de mencionar exatamente o que e como o gtkglarea resolveu seu problema, e o Google é principalmente sem informações sobre o problema.

Então eu venho aqui pedindo ajuda! Eu gostaria de instalar o fsv, mas ele me diz que o gtk-config não existe. Como posso resolver esse problema no Ubuntu 10.10?

Obrigado!

EDITAR

Então, com a ajuda de Robert, isso é o que eu tive que fazer:

Dos repositórios do Dapper que eu baixei:

libgtk1.2-dev_1.2.10-18_i386.deb
libgtk1.2_1.2.10-18_i386.deb
< href="https://launchpad.net/ubuntu/dapper/i386/libgtk1.2-common/1.2.10-18"> libgtk1.2-common_1.2.10-18_all.deb
< href="http://packages.ubuntu.com/dapper/i386/gtkglarea5-dev/download"> gtkglarea5-dev_1.2.3-2ubuntu4_i386.deb
gtkglarea5_1.2.3-2ubuntu4_i386.deb
libglib1.2_1.2.10-10.1build1_i386.deb
libglib1.2-dev_1.2.10-10.1build1_i386.deb

então eu tive que instalar:

  1. libglib1.2
  2. libglib1.2-dev
  3. libgtk1.2-common
  4. libgtk1.2
  5. libgtk1.2-dev
  6. gtkglarea5
  7. gtkglarea5-dev

Eu usei sudo gdebi <file>.deb para a maioria deles (isso explica melhor as dependências, se você perdeu uma delas). Em alguns casos, o gdebi faz não fazer a coisa certa, e morre. Quando isso acontecer, use dpkg -i <file>.deb e isso deve funcionar.

    
por Wayne Werner 25.02.2011 / 09:10

3 respostas

5

Se a biblioteca ainda é usada ou desejada por alguém, como ela pode ser obsoleta?

Eu tive o mesmo problema de construir o mozilla 1.7.13 (sim, o antigo navegador mozilla).

Eu tenho isso em 10.10 instalando manualmente o pacote dapper e todas as dependências:

link

você precisará:

libglib1.2_1.2.10-10.1build1_i386.deb
libglib1.2-dev_1.2.10-10.1build1_i386.deb
libgtk1.2-common_1.2.10-18_all.deb
libgtk1.2_1.2.10-18_i386.deb
libgtk1.2-dev_1.2.10-18_i386.deb
    
por Robert 03.05.2011 / 08:40
4

Existe uma versão atualizada do fsv no GitHub: link . Ele foi modificado para funcionar com o GTK 2.0 e funciona para mim no Linux Mint 13 (usando pacotes do Ubuntu 12.04)

    
por Arjen 09.09.2012 / 17:49
2

esse software não é mantido e requer o GTK1, que é uma versão de biblioteca gráfica obsoleta, não está disponível nos repositórios do Ubuntu e eu não estou ciente de nenhum repositório que o forneça.

Recomendamos que você entre em contato com o autor do software e verifique com ele se há uma atualização planejada ou, caso contrário, procure por um software semelhante mantido.

    
por João Pinto 25.02.2011 / 11:14