Portál AbcLinuxu, 25. dubna 2024 06:31


Dotaz: GTK - chybí, a přitom nechybí

13.2.2008 21:12 Marta | skóre: 3
GTK - chybí, a přitom nechybí
Přečteno: 507×
Odpovědět | Admin

Dobrý den,
mám problém s GTK. U každé instalace (např. hamachi-gui, bluefish,...) konfigurace proběhne nekorektně, s větou No package 'gtk+-2.0' found. GTK nainstalované mám, dokonce větší než 2.0, ale linux o tom evidentně neví. Co mám tedy špatně? Přikládám výpis ./configure z hamachi-gui-0.9.0.
Díky za rady.

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... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
./configure: line 2309: ALL_LINGUAS: command not found
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 library containing strerror... none required
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 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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for intltool >= 0.34... 0.36.2 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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... no
checking for catalogs to be installed...  sv pl fr it de
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.4) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

13.2.2008 21:28 finn | skóre: 43 | blog: finnlandia | 49° 44´/13° 22´
Rozbalit Rozbalit vše Re: GTK - chybí, a přitom nechybí
Odpovědět | | Sbalit | Link | Blokovat | Admin
Chybí ti cosi jako gtk+-devel – to je balíček, který obsahuje vše potřebné pro překlad programů závislých na GTK+ (ale který není potřeba pro běh takových programů).
Užívej dne – možná je tvůj poslední.
14.2.2008 02:41 crusoe
Rozbalit Rozbalit vše Re: GTK - chybí, a přitom nechybí
Odpovědět | | Sbalit | Link | Blokovat | Admin
Gtk si kompiloval zo zdrojakov ?

Adresare kde mas nainstalovane gtk+ sa hladaju pomocou pkg-config ,ten sa pozrie do suboru s priponou .pc,tie musia byt na spravnom mieste inak ich nenajde (napr. glib-2.0.pc)

>Co vypise :
#pkgtk+-2.0g-config gtk+-2.0 --cflags --libs
#whereis pkg-config
>Ak ano skompiluj ho este raz takto
#./configure --prefix=/usr
#make
#make install
30.4.2008 13:37 Marta | skóre: 3
Rozbalit Rozbalit vše Re: GTK - chybí, a přitom nechybí
Odpovědět | | Sbalit | Link | Blokovat | Admin
Doinstalovala jsem několik balíčků (gtk-devel, libglade,...) a některým programům to pomohlo a nechaly se nainstalovat, s jinými jsem problém vyřešila přidáním správného repozitáře do Yastu a následnou instalací pomocí Yastu. On už si našel, co potřeboval.

Děkuji za rady, M.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.