OVH Cloud OVH Cloud

bonne version de gtk ?

6 réponses
Avatar
Vincent
Bonjour,

J'essaie actuellement d'installer wxGTK afin d'installer aMule sur ma
slackware 9.1... Cependant, lorsque j'exécute le script de
configuration, j'obtiens cette erreur :

checking for GTK+ version...
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.7... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.3... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

Je ne comprends pas la raison de ce message, car lorsque j'exécute
gtk-config --version, j'obtiens 1.2.10, donc la version est bien
supérieure à 1.2.3 !
Quelqu'un aurait-il quelques lumières à m'apporter à ce sujet ?
J'ai déjà posté ce msg sur le groupe Unix, mais aucune solution n'a été
trouvée...
Par avance, merci,

Vincent.

6 réponses

Avatar
Anthony
Le Sun, 12 Oct 2003 14:17:52 +0200, Vincent a écrit :

Bonjour,
Salut


Je ne comprends pas la raison de ce message, car lorsque j'exécute
gtk-config --version, j'obtiens 1.2.10, donc la version est bien
supérieure à 1.2.3 !
Quelqu'un aurait-il quelques lumières à m'apporter à ce sujet ?
J'ai déjà posté ce msg sur le groupe Unix, mais aucune solution n'a été
trouvée...
Tu as essaye d'indiquer le chemin de gtk ? Sinon c'est franchement bizarre

ce qui t'arrive, moi sous Slackware 9,0 j'ai la meme version et j'ai eu
aucun pb pour wxGTK ...

Anthony

Avatar
Vincent


Bonjour,


Salut


Je ne comprends pas la raison de ce message, car lorsque j'exécute
gtk-config --version, j'obtiens 1.2.10, donc la version est bien
supérieure à 1.2.3 !
Quelqu'un aurait-il quelques lumières à m'apporter à ce sujet ?
J'ai déjà posté ce msg sur le groupe Unix, mais aucune solution n'a été
trouvée...


Tu as essaye d'indiquer le chemin de gtk ? Sinon c'est franchement bizarre


oui : j'ai exécuté gtk-config --libs et ai exporté la variable
d'environnement en faisant :

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib/: etc.
rien n'y fait

ce qui t'arrive, moi sous Slackware 9,0 j'ai la meme version et j'ai eu
aucun pb pour wxGTK ...

Anthony


quelle version de wxGTK as-tu installé ?
pour ma part, il y a un truc que je comprends pas(peut etre est-ce du au
fait que j'ai réinstallé gtk à partir de swaret?), mais le message est
différent; apparemment, il cherche maintenant gtk2, qui est bel est bien
installé (si l'on en croit mon rep /usr/lib qui contient un rep gtk-2.0)
sans le trouver !! le message est le suivant :


checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK+ is incorrectly
installed.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.


là, je suis d'accord, lorsque j'exécute gtk-config --version j'obtiens
1.2.10... comment faire pour que gtk-2.0 soit pris en compte plutot?

par la même occasion, puis-je permettre de demander quelles sont les
différences entre gtk et gtk+??

merci bien
vincent.


Avatar
nicolas.salguero
Vincent wrote in message news:<3f894663$0$13283$...
Bonjour,


Bonsoir,


J'essaie actuellement d'installer wxGTK afin d'installer aMule sur ma
slackware 9.1... Cependant, lorsque j'exécute le script de
configuration, j'obtiens cette erreur :

checking for GTK+ version...
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.7... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.3... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

Je ne comprends pas la raison de ce message, car lorsque j'exécute
gtk-config --version, j'obtiens 1.2.10, donc la version est bien
supérieure à 1.2.3 !
Quelqu'un aurait-il quelques lumières à m'apporter à ce sujet ?
J'ai déjà posté ce msg sur le groupe Unix, mais aucune solution n'a été
trouvée...
Par avance, merci,

Vincent.


Ça c'est typique du cas où une bibliothèque est installée mais pas les
fichiers d'en-tête qui lui correspondent.
Je ne connaîs pas le nom que portent les packages équivalents aux RPMS
*-devel mais c'est ce package pour Gtk qui manque.

Nico

Avatar
ericb
Bonjour,

Nicolas Salguero a écrit:
Vincent wrote in message news:<3f894663$0$13283$...

Bonjour,




<...coupé...>


*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.



1.2.3 ou supérieure, et 1.2.10 est donc incluse

C'est une bibliothèque 2.x qu'il faut....

Alors :


:~$ apt-cache search ^libgtk2
libgtk2.0-common - Common files for the GTK+ graphical user interface
library
libgtk2.0-dbg - The GTK+ libraries and debugging symbols

#celle-là, *peut-être* ??

libgtk2.0-dev - Development files for the GTK+ library.


libgtk2.0-0 - The GTK+ graphical user interface library
libgtk2.0-0png3 - Dummy package for libgtk2.0-0
libgtk2.0-doc - Documentation for the GTK+ graphical user interface library
:~$

N.B. : si tu n'utilses pas Debian, c'est quelque chose de très
ressemblant qu'il te faudra installer. Dans le genre

libgtk+2.xxxx-devel.***.rpm par exemple...


Ça c'est typique du cas où une bibliothèque est installée mais pas les
fichiers d'en-tête qui lui correspondent.
Je ne connaîs pas le nom que portent les packages équivalents aux RPMS
*-devel mais c'est ce package pour Gtk qui manque.


IMHO, je le pense aussi


--
NO ePATENTS / NON AUX BREVETS SUR LES LOGICIELS. Voir / See
http://swpat.ffii.org/

eric b


Avatar
Vincent
Bonjour,

Nicolas Salguero a écrit:

Vincent wrote in message
news:<3f894663$0$13283$...

Bonjour,





<...coupé...>


*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.




1.2.3 ou supérieure, et 1.2.10 est donc incluse

C'est une bibliothèque 2.x qu'il faut....

Alors :


:~$ apt-cache search ^libgtk2
libgtk2.0-common - Common files for the GTK+ graphical user interface
library
libgtk2.0-dbg - The GTK+ libraries and debugging symbols

#celle-là, *peut-être* ??

libgtk2.0-dev - Development files for the GTK+ library.


libgtk2.0-0 - The GTK+ graphical user interface library
libgtk2.0-0png3 - Dummy package for libgtk2.0-0
libgtk2.0-doc - Documentation for the GTK+ graphical user interface library
:~$

N.B. : si tu n'utilses pas Debian, c'est quelque chose de très
ressemblant qu'il te faudra installer. Dans le genre

libgtk+2.xxxx-devel.***.rpm par exemple...



Ça c'est typique du cas où une bibliothèque est installée mais pas les
fichiers d'en-tête qui lui correspondent.
Je ne connaîs pas le nom que portent les packages équivalents aux RPMS
*-devel mais c'est ce package pour Gtk qui manque.



IMHO, je le pense aussi


en fait j'ai utilisé les fichiers d'installation pour slackware

exclusivement et tout a marché correctement...
Merci pour vos réponses en tous cas...
Vincent.



Avatar
Lionel Sommellier
Vincent wrote:

1.2.10... comment faire pour que gtk-2.0 soit pris en compte plutot?


J'ai le meme soucis : install dur package 2.0 et il ne le voit pas.
Alors soit on a pas mis qqchose d'autre qui manque.
Soit il y a qqchose à faire dans la config.

Peut etre peux tu reposter la question avec un sujet comportant gtk-2.0 e t
slackware ? Je serais avec toi !! :)