Bojour,
J'utilise slackware 14.2 et je suis en train de compiler wxWidget 3.0.2 qui necessite gtk. Trois version du librairies sont installees sur le systeme: 1, 2 et 3.
La compilation arrive bien a son terme sans probleme mais il se trouve que wxWidget ne prendra pas encharge unicode.
La raison c'est que la compilation ne trouve pas gtk.h pour les versions gtk+3-3.18.9 et gtk+2-2.24.30.
En retour c'est gtk+-1.2.10 qui sera pris en compte mais cette version du librairie ne connait pas unicode.
Il me faut absolument unicode pour wxWidget.
La question est: comment fait-on pour que gtk3 et/ou gtk2 soit visible sur le systeme et utilisable lors de la compilation ?
Remarque: slackware n'utilise plus Gnome comme interface. Ce systeme n'est plus dans le monde gtk ce qui signifie que les librairies et outils gtk peuvent etre reduis a leur plus simple fonctionnalite et il manque peut etre pas mal de chose.
Pistes:
-Certains discussions disent qu'il faut installer les "header" alors qu'ils en existent deja:
/usr/include/gtk-3.0/gtk/gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
Les packages slackware ne presentent pas de header specifique pour gtk
-Peutre etre des variables d'environnement a creer ou des liens symboliques.
Voici une partie de l'information a l'ecran (au besoin j'enverrai une partie du journal de compilation de l'erreur sur gtk3 et gtk2):
Merci.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37 checking for GTK+ - version >= 2.6.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found 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 occurred. This usually means GTK+ is incorrectly installed. checking for pkg-config... (cached) /usr/bin/pkg-config checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-3.0' found 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. checking for gtk-config... no checking for GTK - version >= 1.2.7... 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. checking for gtk-config... (cached) no checking for GTK - version >= 1.2.3... 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: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent.
Partager