| |||||
| Dernière réponse | |
|---|---|
| Sujet : Installation de Glib et GTK : probleme | |
| Dark_Schneider | juste en passant une seul version de glib-devel suffit.
Moi j'en ai plusieurs car je suis sur mandrake cooker, mais toi une seule version suffit. |
| Aperçu |
|---|
| Vue Rapide de la discussion |
|---|
| Dark_Schneider | juste en passant une seul version de glib-devel suffit.
Moi j'en ai plusieurs car je suis sur mandrake cooker, mais toi une seule version suffit. |
| Dark_Schneider | > urpmi libglib1.3_6-devel |
|
| Dark_Schneider | Il permet de trouver quel package contient un fichier précis
quand tu fais urpmf glib-config il renvoie les packages dont les fichiers contiennent glib-config dans leur nom. dans ton cas il y a /usr/bin/glib-config et /usr/bin/glib-config-2.0 mais aussi les manpages de glib-config (car ils contiennent le terme glib-config dans leur nom ) : /usr/share/man/man1/glib-config.1.bz2 et /usr/share/man/man1/glib-config-2.0.1.bz2 |
[edtdd]--Message édité par jeep05--[/edtdd] |
| Dark_Schneider | nous aussi, aucun browser sous linux n'y arrive. va gueuler après Joce.
question : as tu compris ce que faisait urpmf ? http://perso.wanadoo.fr/linux_wiza [...] html#urpmi je voudrais que tu m'explique ce que tu as compris concernant urpmf. |
| voila maintenant :
[root@localhost jeep05]# rpm -qa | grep libglib libglib1.2-devel-1.2.10-1mdk libglib1.2-1.2.10-1mdk [root@localhost jeep05]# rpm -qa | grep libgtk+ libgtk+1.2-1.2.10-1mdk libgtk+1.2-devel-1.2.10-1mdk [root@localhost jeep05]# [root@localhost jeep05]# urpmf glib-config libglib1.2-devel:/usr/bin/glib-config libglib1.2-devel:/usr/share/man/man1/glib-config.1.bz2 libglib2-devel:/usr/bin/glib-config-2.0 libglib2-devel:/usr/share/man/man1/glib-config-2.0.1.bz2 yen a d'inutile non dans ce qui est en gras non ? hors sujet : je suis sur Konkeror, là et sur le forum, je peux pas cliquer sur le smiley ou sur gras par exple pour ajouter le code dans le message. vous aussi ? [edtdd]--Message édité par jeep05--[/edtdd] |
| Dark_Schneider | et ?
> urpmi libglib1.2-devel > urpmi libgtk+1.2-devel je te conseille FORTEMENT de relire mon howto rpm. |
| ok.
me manque donc des librairies :
[edtdd]--Message édité par jeep05--[/edtdd] |
| Dark_Schneider | moi je conseille chbg. Je l'utilise en ce moment sous xfce et il est compatible E .
http://fr.rpmfind.net/linux/rpm2ht [...] query=chbg lire ceci avant -> http://perso.wanadoo.fr/linux_wizard/howto_rpm.html [root@bastard linux]# rpm -qa | grep libglib libglib1.3_6-1.3.6-6mdk libglib1.2-1.2.10-2mdk libglib1.2-devel-1.2.10-2mdk libglib1.3_6-devel-1.3.6-6mdk si tu veux compiler des tar.gz qui utilisent glib, ce sont les packages -devel qu'il te faut. [root@bastard linux]# rpm -qa | grep libgtk+ libgtk+1.2-1.2.10-9mdk libgtk+2-1.3.6-3mdk libgtk+1.2-devel-1.2.10-9mdk libgtk+mdk0.1_6-0.1.6-4mdk libgtk+mdk0.1_6-devel-0.1.6-4mdk libgtk+2-devel-1.3.6-3mdk libgtk+extra0-0.99.15-2mdk idem pour gtk+ , il faut les -devel ne met pas n'importe koi sur ton sys sinon tu auras de très mauvaises surprises. Essaie d'utiliser le plus possible des rpm, de préférence des rpm mdk. this package requires at least version 1.1.11. juste pour dire que cela devrait marcher avec gtk+1.2
[edtdd]--Message édité par Dark_Schneider--[/edtdd] |
| j'ai besoin d'installer le soft WallP (il change le fond d'écran chaque X minutes)
(au passage, si vous en connaissait un autre, je veux bien) je cherche un soft du genre de Wallpaper Changer ss Win$$$ voici ce dont il a besoin (tiré du readme) : ------------ 2. Requirements. X11 libraries and headers. GTK+ v1.1.11 - this is the gimp toolkit, this package requires at least version 1.1.11. It can be obtained from ftp://ftp.gimp.org/pub/gtk. Imlib 1.8.1 - image manipulation library, ftp://ftp.enlightenment.org -------- Prerequisites ============= GTK+ requires the GLIB library, available at the same location as you got this package. ----------------------------------- ----------------------------------- a la fin il dit que la GLIB est pas installé alors que si ! comment je fais ? note : j'ai pas installé la "lmlib 1.8.1", je l'ai pas trouvé, mais là apparemment c problem entre Glib et Gtk ----------------------------------- ----------------------------------- [root@localhost glib-1.1.11]# ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking host system type... i686-pc-linux-gnu checking for ranlib... (cached) ranlib checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... yes checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking whether to enable memory checking... no checking whether to enable memory profiling... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for a BSD compatible install... /usr/bin/install -c checking for extra flags to get ANSI library prototypes... none needed checking for extra flags for POSIX compliance... none needed checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for vprintf... (cached) yes checking for atexit... (cached) yes checking for on_exit... (cached) yes checking size of char... (cached) 1 checking size of short... (cached) 2 checking size of long... (cached) 4 checking size of int... (cached) 4 checking size of void *... (cached) 4 checking size of long long... (cached) 8 checking for working const... (cached) yes checking for __inline... (cached) yes checking for __inline__... (cached) yes checking for inline... (cached) yes checking whether byte ordering is bigendian... (cached) no checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for pwd.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/poll.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/times.h... (cached) yes checking for unistd.h... (cached) yes checking for values.h... (cached) yes checking for lstat... (cached) yes checking for strerror... (cached) yes checking for strsignal... (cached) yes checking for memmove... (cached) yes checking for vsnprintf... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for poll... (cached) yes checking for sys_errlist... yes checking for sys_siglist... yes checking for fd_set... yes, found in sys/types.h checking for wchar.h... yes checking for wctype.h... yes checking for iswalnum... (cached) yes checking if iswalnum() and friends are properly defined... yes checking for an implementation of va_copy()... (cached) yes checking for an implementation of __va_copy()... (cached) yes checking whether va_lists can be copied by value... (cached) yes checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking for preceeding underscore in symbols... (cached) no checking for dlerror... (cached) yes checking for pthread_attr_init in -lpthread... (cached) yes checking for thread implementation... posix checking for pthread_attr_init in -lpthread... (cached) yes checking necessary linker options... -lpthread checking necessary compiler options... -D_REENTRANT checking size of pthread_mutex_t... (cached) 24 checking byte contents of pthread_mutex_t... (cached) 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP POLLNVAL... done creating ./config.status creating Makefile creating glib-config creating gmodule/gmoduleconf.h creating gmodule/Makefile creating gthread/Makefile creating docs/Makefile creating config.h config.h is unchanged creating glibconfig.h glibconfig.h is unchanged [root@localhost glib-1.1.11]# make CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status creating glibconfig.h glibconfig.h is unchanged echo timestamp > stamp-gc-h make all-recursive make[1]: Entre dans le répertoire `/home/jeep05/glib-1.1.11' Making all in gmodule make[2]: Entre dans le répertoire `/home/jeep05/glib-1.1.11/gmodule' make[2]: Rien à faire pour `all'. make[2]: Quitte le répertoire `/home/jeep05/glib-1.1.11/gmodule' Making all in gthread make[2]: Entre dans le répertoire `/home/jeep05/glib-1.1.11/gthread' make[2]: Rien à faire pour `all'. make[2]: Quitte le répertoire `/home/jeep05/glib-1.1.11/gthread' Making all in docs make[2]: Entre dans le répertoire `/home/jeep05/glib-1.1.11/docs' make[2]: Rien à faire pour `all'. make[2]: Quitte le répertoire `/home/jeep05/glib-1.1.11/docs' make[1]: Quitte le répertoire `/home/jeep05/glib-1.1.11' [root@localhost glib-1.1.11]# make install Making install in gmodule make[1]: Entre dans le répertoire `/home/jeep05/glib-1.1.11/gmodule' /bin/sh ../mkinstalldirs /usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 libgmodule.la /usr/local/lib/libgmodule.la /usr/bin/install -c -m 644 .libs/libgmodule-1.1.so.11.0.0 /usr/local/lib/libgmodule-1.1.so.11.0.0 rm -f /usr/local/lib/libgmodule-1.1.so.11 /usr/local/lib/libgmodule.so (cd /usr/local/lib && ln -s libgmodule-1.1.so.11.0.0 libgmodule-1.1.so.11) (cd /usr/local/lib && ln -s libgmodule-1.1.so.11.0.0 libgmodule.so) /usr/bin/install -c -m 644 libgmodule.la /usr/local/lib/libgmodule.la /usr/bin/install -c -m 644 .libs/libgmodule.a /usr/local/lib/libgmodule.a ranlib /usr/local/lib/libgmodule.a chmod 644 /usr/local/lib/libgmodule.a PATH="\/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib To link against installed libraries in a given directory, LIBDIR, you must use the `-LLIBDIR' flag during linking. You will also need to do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/sh ../mkinstalldirs /usr/local/include /usr/bin/install -c -m 644 gmodule.h /usr/local/include/gmodule.h make[1]: Quitte le répertoire `/home/jeep05/glib-1.1.11/gmodule' Making install in gthread make[1]: Entre dans le répertoire `/home/jeep05/glib-1.1.11/gthread' /bin/sh ../mkinstalldirs /usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 libgthread.la /usr/local/lib/libgthread.la /usr/bin/install -c -m 644 .libs/libgthread-1.1.so.11.0.0 /usr/local/lib/libgthread-1.1.so.11.0.0 rm -f /usr/local/lib/libgthread-1.1.so.11 /usr/local/lib/libgthread.so (cd /usr/local/lib && ln -s libgthread-1.1.so.11.0.0 libgthread-1.1.so.11) (cd /usr/local/lib && ln -s libgthread-1.1.so.11.0.0 libgthread.so) /usr/bin/install -c -m 644 libgthread.la /usr/local/lib/libgthread.la /usr/bin/install -c -m 644 .libs/libgthread.a /usr/local/lib/libgthread.a ranlib /usr/local/lib/libgthread.a chmod 644 /usr/local/lib/libgthread.a PATH="\/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib To link against installed libraries in a given directory, LIBDIR, you must use the `-LLIBDIR' flag during linking. You will also need to do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[1]: Quitte le répertoire `/home/jeep05/glib-1.1.11/gthread' Making install in docs make[1]: Entre dans le répertoire `/home/jeep05/glib-1.1.11/docs' /bin/sh ../mkinstalldirs /usr/local/info /usr/bin/install -c -m 644 ./glib.info /usr/local/info/glib.info install-info --info-dir=/usr/local/info /usr/local/info/glib.info make install-man1 make[2]: Entre dans le répertoire `/home/jeep05/glib-1.1.11/docs' /bin/sh ../mkinstalldirs /usr/local/man/man1 /usr/bin/install -c -m 644 ./glib-config.1 /usr/local/man/man1/glib-config.1 make[2]: Quitte le répertoire `/home/jeep05/glib-1.1.11/docs' make[1]: Quitte le répertoire `/home/jeep05/glib-1.1.11/docs' /bin/sh ./mkinstalldirs /usr/local/lib /bin/sh ./libtool --mode=install /usr/bin/install -c -m 644 libglib.la /usr/local/lib/libglib.la /usr/bin/install -c -m 644 .libs/libglib-1.1.so.11.0.0 /usr/local/lib/libglib-1.1.so.11.0.0 rm -f /usr/local/lib/libglib-1.1.so.11 /usr/local/lib/libglib.so (cd /usr/local/lib && ln -s libglib-1.1.so.11.0.0 libglib-1.1.so.11) (cd /usr/local/lib && ln -s libglib-1.1.so.11.0.0 libglib.so) /usr/bin/install -c -m 644 libglib.la /usr/local/lib/libglib.la /usr/bin/install -c -m 644 .libs/libglib.a /usr/local/lib/libglib.a ranlib /usr/local/lib/libglib.a chmod 644 /usr/local/lib/libglib.a PATH="\/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib To link against installed libraries in a given directory, LIBDIR, you must use the `-LLIBDIR' flag during linking. You will also need to do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/sh ./mkinstalldirs /usr/local/bin /usr/bin/install -c glib-config /usr/local/bin/glib-config /bin/sh ./mkinstalldirs /usr/local/lib/glib/include /usr/bin/install -c -m 644 ./glibconfig.h /usr/local/lib/glib/include/glibconfig.h /bin/sh ./mkinstalldirs /usr/local/share/aclocal /usr/bin/install -c -m 644 ./glib.m4 /usr/local/share/aclocal/glib.m4 /bin/sh ./mkinstalldirs /usr/local/include /usr/bin/install -c -m 644 glib.h /usr/local/include/glib.h [root@localhost glib-1.1.11]# cd /home/jeep05/gtk+-1.1.11 [root@localhost gtk+-1.1.11]# ./configure loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... yes checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking whether build environment is sane... yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no 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 mawk... no checking for gawk... gawk checking for perl5... perl5 checking for indent... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... no checking whether catgets can be used... no found xgettext program is not GNU xgettext; ignore it checking for catalogs to be installed... de fr nl pt ja sv pl no checking for gettext... yes checking for extra flags to get ANSI library prototypes... none needed checking for extra flags for POSIX compliance... none needed checking for glib-config... no checking for GLIB - version >= 1.1.11... no *** The glib-config script installed by GLIB could not be found *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GLIB_CONFIG environment variable to the *** full path to glib-config. configure: error: *** GLIB 1.1.11 or better is required. The latest version of GLIB *** is always available from ftp://ftp.gtk.org. [root@localhost gtk+-1.1.11]# make make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt. |




