Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/03/2008, à 11:42

arnaud_d

[Résolu] lnstallation de GPA necessite gtk+ > 2.2.0

Bonjour à tous,

Je suis en train d'essayer d'installer GPA, l'interface graphique pour Gpg car j'ai actuellement KGpg qui est bien, mais j'ai Gnome et je ne peux pas bénéficier de la fonction de cryptage ou de signature dans le menu contextuel.

Pour essayer GPA, je suis allé sur le site http://wald.intevation.org/frs/?group_i … ase_id=146 afin de télécharger la version 0.7.6 (les dépôts synaptic ne proposent que la version 0.7.0-1.1ubuntu1 (bref 0.7.0 quand je vais dans le menu About de GPA... il me dit 0.7.0).

Je commence à savoir me débrouiller avec les paquets donc j'ai décompressé le fichier .tar.bz2 dans un dossier et ai exécuté les commandes suivantes dans un terminal, comme conseillé dans le fichier README :

arnaud@arnaud-laptop:~$ cd Desktop
arnaud@arnaud-laptop:~/Desktop$ cd gpa-0.7.6
arnaud@arnaud-laptop:~/Desktop/gpa-0.7.6$ sudo install
arnaud@arnaud-laptop:~/Desktop/gpa-0.7.6$ ./configure

et là j'ai eu en réponse (désolé, c'est un peu long !) :

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
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 sin in -lm... yes
checking for compress in -lz... yes
checking for strsep... yes
checking for stpcpy... yes
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 strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for ranlib... ranlib
checking for windres... no
checking for gpg... /usr/bin/gpg
checking for gpgkeys_ldap... /usr/lib/gnupg//gpgkeys_ldap
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... (cached) yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for getopt_long... yes
using libc's getopt_long
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.2.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: Cannot find GTK+ 2.0

Donc si je comprend bien il me faut GTK+ dans sa version 2.2.0 au minimum.

Bon alors j'ai cherché dans synaptic... rien sur la version 2.2.0...
Alors je suis allé directement sur le site de GTK et dans la section download http://www.gtk.org/download-linux.html la version la plus récente est la version GTK+ 2.12.

yikes heu... Est-ce que quelqu'un accepterai de m'expliquer s'il vous plait ? Où puis-je trouver le paquet qui m'est demandé ?

Merci par avance pour votre aide

Arnaud

Dernière modification par arnaud_d (Le 05/03/2008, à 01:21)

Hors ligne

#2 Le 04/03/2008, à 21:15

mr_pouit

Re : [Résolu] lnstallation de GPA necessite gtk+ > 2.2.0

Bonsoir,

Il te manque les entêtes de développement de gtk+. Installe le paquet libgtk2.0-dev et ça devrait être bon. wink

Hors ligne

#3 Le 05/03/2008, à 01:21

arnaud_d

Re : [Résolu] lnstallation de GPA necessite gtk+ > 2.2.0

Merci mille fois mr_pouit !

En effet c'est ça qui bloquait.

Pour laisser une trace de ce que j'ai fait (ça peut toujours servir) :

- je suis allé dans Synaptic et là j'ai installé libgtk2.0-dev
- puis j'ai refait les commandes cités plus haut et là j'ai eu une rereur me disant que je n'avais pas de version récente de GPGME
- retour dans synaptic, recherche de GPGME puis installation de libpgme11-dev qui installe avec lui libpg-error-dev.
- de retour dans le terminal :

./configure
make
su -c "make install"

comme conseillé dans le readme.

Merci encore mille fois et à bientôt.

Arnaud

[edit:] j'ai beau relire la sortie terminal que j'avais copié, je ne vois toujours pas comment tu es arrivé à cette conclusion... chapeau ! smile

Dernière modification par arnaud_d (Le 05/03/2008, à 01:24)

Hors ligne