Entra

View Full Version : Non riesco ad installare le gtk


alexio22
05-10-2003, 15:47
Ciao devo installare xmule però mi mancano le librerie gtk.
Ho provato ad installarle ma alla fine mi dice questo:

checking for glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1... Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'atk' found

configure: error: Library requirements (glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Cosa devo fare?


Grazie

Ciao

GhePeU
05-10-2003, 16:17
installare glib atk e pango

alexio22
05-10-2003, 16:29
Originariamente inviato da GhePeU
installare glib atk e pango


Glib e atk le ho gia installate, pango quando gli do il comando "make" mi da questo errore:

-I/usr/lib/glib-2.0/include -c ftxopen.c -fPIC -DPIC -o ftxopen.o
ftxopen.c: In function `Load_LangSys':
ftxopen.c:44: warning: implicit declaration of function `ACCESS_Frame'
ftxopen.c:47: warning: implicit declaration of function `GET_UShort'
ftxopen.c:51: warning: implicit declaration of function `FORGET_Frame'
ftxopen.c:55: warning: implicit declaration of function `ALLOC_ARRAY'
ftxopen.c:55: error: syntax error before "FT_UShort"
ftxopen.c:60: warning: implicit declaration of function `FREE'
ftxopen.c:39: warning: unused variable `memory'
ftxopen.c: In function `Load_Script':
ftxopen.c:95: warning: implicit declaration of function `FILE_Pos'
ftxopen.c:107: warning: implicit declaration of function `FILE_Seek'
ftxopen.c:141: error: syntax error before "TTO_LangSysRecord"
ftxopen.c:151: warning: implicit declaration of function `GET_ULong'
ftxopen.c: In function `Load_ScriptList':
ftxopen.c:225: error: syntax error before "TTO_ScriptRecord"
ftxopen.c: In function `Load_Feature':
ftxopen.c:308: error: syntax error before "FT_UShort"
ftxopen.c:291: warning: unused variable `memory'
ftxopen.c: In function `Load_FeatureList':
ftxopen.c:360: error: syntax error before "TTO_FeatureRecord"
ftxopen.c: In function `Load_Lookup':
ftxopen.c:587: error: syntax error before "TTO_SubTable"
ftxopen.c: In function `Load_LookupList':
ftxopen.c:668: error: syntax error before "TTO_Lookup"
ftxopen.c:670: error: syntax error before "FT_UShort"
ftxopen.c:699: warning: label `Fail2' defined but not used
ftxopen.c: In function `Load_Coverage1':
ftxopen.c:757: error: syntax error before "FT_UShort"
ftxopen.c:741: warning: unused variable `memory'
ftxopen.c: In function `Load_Coverage2':
ftxopen.c:806: error: syntax error before "TTO_RangeRecord"
ftxopen.c:790: warning: unused variable `memory'
ftxopen.c: In function `Load_ClassDef1':
ftxopen.c:1045: error: syntax error before "FT_UShort"
ftxopen.c:1018: warning: unused variable `memory'
ftxopen.c: In function `Load_ClassDef2':
ftxopen.c:1111: error: syntax error before "TTO_ClassRangeRecord"
ftxopen.c:1090: warning: unused variable `memory'
ftxopen.c: In function `Load_ClassDefinition':
ftxopen.c:1165: error: syntax error before "FT_Bool"
ftxopen.c:1162: warning: unused variable `memory'
ftxopen.c: In function `Load_EmptyClassDefinition':
ftxopen.c:1210: error: syntax error before "FT_Bool"
ftxopen.c:1216: error: syntax error before "FT_UShort"
ftxopen.c:1207: warning: unused variable `memory'
ftxopen.c:1221: warning: label `Fail' defined but not used
ftxopen.c: In function `Load_Device':
ftxopen.c:1391: error: syntax error before "FT_UShort"
ftxopen.c:1366: warning: unused variable `memory'
make[3]: *** [ftxopen.lo] Error 1
make[3]: Leaving directory `/home/alex/file_scaricati/pango-1.0.1/pango/opentype'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alex/file_scaricati/pango-1.0.1/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/file_scaricati/pango-1.0.1'
make: *** [all-recursive-am] Error 2

Cosa vuol dire?


Ciao

GhePeU
05-10-2003, 16:33
distro?

il configure di pango (ammesso che ci sia) cosa riporta?

alexio22
05-10-2003, 17:00
Originariamente inviato da GhePeU
distro?

il configure di pango (ammesso che ci sia) cosa riporta?

Mandrake 9.2 rc2

[root@alice pango-1.0.1]# ./configure
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... found
checking for gcc... gcc
checking for C compiler default output... 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 c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... no
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for flex... no
checking for lex... no
./configure: line 7386: flex: command not found
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for bison... no
checking for byacc... no
checking for some Win32 platform... no
checking for native Win32... no
checking for perl5... perl5
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for freetype-config... /usr/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking For sufficiently new FreeType (at least 2.0.1)... yes
checking freetype/internal/tterrors.h usability... no
checking freetype/internal/tterrors.h presence... no
checking for freetype/internal/tterrors.h... no
checking for FT_Get_First_Char... yes
checking for XRenderFindFormat in -lXrender... yes
checking for XftFontOpen in -lXft... yes
checking X11/Xft/XftFreetype.h usability... no
checking X11/Xft/XftFreetype.h presence... no
checking for X11/Xft/XftFreetype.h... no
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.2.3)
checking Whether to build OpenType test programs... yes
checking modules to link statically...
checking for flockfile... yes
checking For Qt location... /usr/lib/qt3/
checking For working Qt... no
checking for gtkdoc-mkdb... false
checking for db2html... true
checking Whether to write dependencies into .pc files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for unistd.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pango/Makefile
config.status: creating pango/mini-fribidi/Makefile
config.status: creating pango/mini-xft/Makefile
config.status: creating pango/opentype/Makefile
config.status: creating pango/makefile.mingw
config.status: creating pango/pango.rc
config.status: creating pango/pangoft2.rc
config.status: creating pango/pangowin32.rc
config.status: creating pango/opentype/makefile.mingw
config.status: creating modules/Makefile
config.status: creating modules/arabic/Makefile
config.status: creating modules/basic/Makefile
config.status: creating modules/basic/makefile.mingw
config.status: creating modules/hangul/Makefile
config.status: creating modules/indic/Makefile
config.status: creating modules/tamil/Makefile
config.status: creating modules/thai/Makefile
config.status: creating modules/hebrew/Makefile
config.status: creating examples/Makefile
config.status: creating examples/makefile.mingw
config.status: creating docs/Makefile
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating pango.spec
config.status: creating pango.pc
config.status: creating pangox.pc
config.status: creating pangowin32.pc
config.status: creating pangoft2.pc
config.status: creating pangoxft.pc
config.status: creating pango-uninstalled.pc
config.status: creating pangox-uninstalled.pc
config.status: creating pangowin32-uninstalled.pc
config.status: creating pangoft2-uninstalled.pc
config.status: creating pangoxft-uninstalled.pc
config.status: creating pango-zip.sh
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default commands
[root@alice pango-1.0.1]#

Mi dice questo


Ciao

alexio22
05-10-2003, 17:04
ho provato ad installare pango 1.0.5 e sembra che sia andata a buon termine; alla fine non mi ha dato alcun errore allora ho provato ad installare di nuove le gtk+ 2.0.9 ma mi fa lo stesso errore...:cry:



CIao

ANDY CAPS
05-10-2003, 17:18
la mandrake 9.2 dovrebbe avere le ultime gtk comunque


urpmi -y gtk ti elenca i file disponibili


se aggiungi anche i plf incollando questa stringa sotto quando sei on line in una consolle di root


urpmi.addmedia plf http://mandrakeusers.com/PLF/cooker with hdlist.cz



basta digitare urpmi xmule
ti installa xmule-1.6.0a-1

alexio22
06-10-2003, 19:10
Originariamente inviato da ANDY CAPS
la mandrake 9.2 dovrebbe avere le ultime gtk comunque


urpmi -y gtk ti elenca i file disponibili


se aggiungi anche i plf incollando questa stringa sotto quando sei on line in una consolle di root


urpmi.addmedia plf http://mandrakeusers.com/PLF/cooker with hdlist.cz



basta digitare urpmi xmule
ti installa xmule-1.6.0a-1


Mi dice questo:

[root@alice alex]# urpmi -y gtk
nessun pacchettto denominato gtk
[root@alice alex]# urpmi.addmedia plf http://mandrakeusers.com/PLF/cooker with hdlist.cz
media plf aggiunto
computing md5sum of existing source hdlist (or synthesis)
recupero la source hdlist (o una sitntesi) di "plf"...
http://mandrakeusers.com/PLF/cooker/hdlist.cz
ho trovato la hdlist (o synthesis) analizzata come hdlist.cz...
...recupero terminato
esamino l'hdlist file [/var/cache/urpmi/partial/hdlist.plf.cz]
scrivo la lista d file per il supporto "plf"
examining pubkey file of "plf"...
...imported key caba22ae from pubkey file of "plf"
passo alla fase successiva per valutare le dipendenze

esamino l'hdlist file [/var/lib/urpmi/hdlist.plf.cz]
ho costruito la sintesi dell'hdlist file per il supporto "plf"
0 intestazioni trovate in cache
sto rimuovendo 0 intestazioni obsolete in cache
scrivi il file di configurazione [/etc/urpmi/urpmi.cfg]
[root@alice alex]# urpmi xmule
Some package requested cannot be installed:
xmule-1.6.0a-1plf.i586 (perchè non è soddisfatto libwx_gtk2-2.4.so.0) (S/n) n
[root@alice alex]# urpmi xmule
Some package requested cannot be installed:
xmule-1.6.0a-1plf.i586 (perchè non è soddisfatto libwx_gtk2-2.4.so.0) (S/n) s
[root@alice alex]


Cosa faccio?

Grazie


Ciao

AnonimoVeneziano
06-10-2003, 19:13
prova :

urpmi gtk2+-devel

Comunque ti sconsiglio la nuova versione di XMULE, che funziona veramente male... anzi, non funziona proprio! Ogni server che mi collego mi dice che ho il client vecchio!!

Bha :rolleyes: I programmatori di Xmule non sono proprio dei campioni....

In alternativa c'è aMule , veramente buono , è un fork di xMule , stabilissimo e non ha questo problema
http://sourceforge.net/projects/amule/



Ciao

alexio22
06-10-2003, 19:37
Originariamente inviato da AnonimoVeneziano
prova :

urpmi gtk2+-devel

Comunque ti sconsiglio la nuova versione di XMULE, che funziona veramente male... anzi, non funziona proprio! Ogni server che mi collego mi dice che ho il client vecchio!!

Bha :rolleyes: I programmatori di Xmule non sono proprio dei campioni....

In alternativa c'è aMule , veramente buono , è un fork di xMule , stabilissimo e non ha questo problema
http://sourceforge.net/projects/amule/



Ciao


[root@alice alex]# urpmi gtk2+-devel
nessun pacchettto denominato gtk2+-devel
[root@alice alex]# urpmi gtk2+ -devel
urpmq: opzione sconosciuta "-devel", controlla l'uso con --help
[root@alice alex]#


Cosa faccio?:mc:


Grazie


Ciao

AnonimoVeneziano
06-10-2003, 19:40
Originariamente inviato da alexio22
[root@alice alex]# urpmi gtk2+-devel
nessun pacchettto denominato gtk2+-devel
[root@alice alex]# urpmi gtk2+ -devel
urpmq: opzione sconosciuta "-devel", controlla l'uso con --help
[root@alice alex]#


Cosa faccio?:mc:


Grazie


Ciao


Bho guarda , io non ho ne MDK ne RH , quindi non so che dirti , ti rimando a coloro che usano queste distro :D

Ciao

LukA4e
06-10-2003, 20:51
devi installare le vwgtk

alexio22
06-10-2003, 22:35
Ok grazie, ho risolto:D :)


Ciao