Réglage de variable d'environnements

Résolu/Fermé
kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010 - 16 nov. 2008 à 17:28
kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010 - 16 nov. 2008 à 18:04
Bonjour,

j'essais d'installer gtk+-2.10.14 sous mandriva2006 mais lorsque j'ai arrivé à la commande config il manque quelque choses je pense
voici le résulat de la commande voir surtout en bas ou il parle des variables d'environnements, que faut il taper pour les régler:

[root@localhost gtk+-2.10.14]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for native Win32... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 dependent libraries... pass_all
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 g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
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 whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for nm... /usr/bin/nm -B
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:

Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.</gras>

[root@localhost gtk+-2.10.14]# make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.

2 réponses

lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
16 nov. 2008 à 17:33
Salut,

Pas besoin de continuer et faire make si ./configure s'arrête suite à une erreur

No package 'glib-2.0' found

Tu dois installer la librairie glib-2.0
0
kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010
16 nov. 2008 à 17:37
salut
est ce qu'il manque seulement celle ci?
0
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
16 nov. 2008 à 17:39
Re,

Je ne sais pas.
Installe la librairie et ensuite fait à nouveau ./configure pour voir

Tu peux lire le fichier INSTALL ou README

Pourquoi n'utilises tu une mandriva plus récente qui peut être contiendra la paquet gtk+-2.10.14?
0
kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010
16 nov. 2008 à 17:50
salut,

est ce que ceçi signifie que ce mandriva ne contient pas la libriarie souhaité

[root@localhost haythoum]# urpmi glib
Tous les paquetages sont déjà installés
Les paquetages suivants ont été trouvés : libglib1.2
et
[root@localhost haythoum]# urpmi glib-2.0
pas de paquetage nommé glib-2.0
0
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567 > kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010
16 nov. 2008 à 17:52
Re,

Oui, c'est ça que je pense.
0
kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010 > lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019
16 nov. 2008 à 17:56
merci,
je vais essayer avec d'autre distribution linux

quelle est la plus récante et puissante de nos jours? et merci
0
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567 > kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010
16 nov. 2008 à 18:02
0
kaibaa Messages postés 37 Date d'inscription vendredi 7 novembre 2008 Statut Membre Dernière intervention 23 février 2010 > lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019
16 nov. 2008 à 18:04
merci pour l'info
0