installation de GTK sous Linux CentOS.
Bonjour tout le monde ;) ,
Je voudrai installer GTK sur mon ordi (Linux Cent0S 5.6, arch 64bits). J'ai suivi le tuto suivant : http://nicolasj.developpez.com/gtk/installation/
Pour être sur que ces instructions fonctionne, j'ai pris les mêmes versions :
- glib-2.12.0
- cairo-1.2.0
- atk-1.10.3
- pango-1.13.2
- gtk+-2.10.0
j'ai réussi à installer glib sans difficulté mais impossible d'installer cairo.
Voici ma commande :
Citation:
cd cairo-1.2.0
./configure –prefix=/opt/gtk
Voici ce que me retourne le terminal aprés quelque secondes :
Trés bien, alors je tente d'installer ce qu'il me demande avec yum :
Citation:
[root:/home/thierry/Install/flashplayer]$ yum install freetype
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.opendoc.net
* extras: mirror.opendoc.net
* rpmforge: fr2.rpmfind.net
* updates: mirror.opendoc.net
Setting up Install Process
Package freetype-2.2.1-28.el5_5.1.x86_64 already installed and latest version
Package freetype-2.2.1-28.el5_5.1.i386 already installed and latest version
Nothing to do
Citation:
[root:/home/thierry/Install/flashplayer]$ yum install fontconfig
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.opendoc.net
* extras: mirror.opendoc.net
* rpmforge: fr2.rpmfind.net
* updates: mirror.opendoc.net
Setting up Install Process
Package fontconfig-2.5.93-7.x86_64 already installed and latest version
Package fontconfig-2.5.93-7.i386 already installed and latest version
Nothing to do
Il semblerai donc que freetype et frontconfig soient déjà installé. Alors pourquoi lorsque je fait un test avec pkg-config j'ai ça ? :
Citation:
[root:/home/thierry/Install/gtk/cairo-1.2.0]$ pkg-config --modversion fontconfig
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
[root:/home/thierry/Install/gtk/cairo-1.2.0]$ pkg-config --modversion freetype
Package freetype was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype' found
[root:/home/thierry/Install/gtk/cairo-1.2.0]$ pkg-config --modversion freetype2
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Voici comment est configuré PKG_CONFIG_PATH :
Citation:
$PKG_CONFIG_PATH
bash: /opt/gtk/lib/pkgconfig/:: Aucun fichier ou répertoire de ce type
Dans le répertoire /opt/gtk/lib/pkgconfig/ j'ai plein de fichiers "bidule.pc", mais pas de freetype.pc ou frontconfig.pc
Comment faut-il faire pour que freetype et frontconfig soit trouvées par les scriptes d'installation de cairo ?
j'ai aussi posté ce message ici :
http://fr.centos.org/forums/viewtopic.php?f=13&t=1007