Pages : 1
#1 Le 30/04/2008, à 18:00
- elle
[résolu]Compilation gtk glib xmms
Bonjour, Bon J'ai télécharger xmms, et en voulant le compilé il faillais que j'installe GLIB 2.0
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
Donc Je vais donc l'installer et tout
elle@localhost:~/glib-1.2.2$ ./configure
creating 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... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking build 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 command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... (cached) no
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
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
loading cache ./config.cache
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... 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... gcc -E
checking for ANSI C header files... yes
checking for vprintf... yes
checking for atexit... yes
checking for on_exit... yes
checking size of char... 1
checking size of short... 2
checking size of long... 4
checking size of int... 4
checking size of void *... 4
checking size of long long... 8
checking for working const... yes
checking for __inline... yes
checking for __inline__... yes
checking for inline... yes
checking whether byte ordering is bigendian... no
checking for float.h... yes
checking for limits.h... yes
checking for pwd.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for unistd.h... yes
checking for values.h... yes
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for poll... yes
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking whether realloc (NULL,) will work... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlsym in -ldl... yes
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for pthread.h... yes
checking for thread implementation... posix
checking for pthread_attr_init in -lpthread... yes
checking necessary linker options... -lpthread
checking necessary compiler options... -D_REENTRANT
checking for localtime_r... yes
checking for rand_r... yes
checking for getpwuid_r... yes
checking whether getpwuid_r is posix like... yes
checking whether pthread_getspecific is posix like... yes
checking whether pthread_mutex_trylock is posix like... yes
checking whether pthread_cond_timedwait is posix like... yes
checking size of pthread_mutex_t... 24
checking byte contents of pthread_mutex_t... 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
updating cache ./config.cache
creating ./config.status
creating glib.spec
creating glibconfig.h.win32
creating Makefile
creating glib-config
creating gmodule/gmoduleconf.h
creating gmodule/Makefile
creating gthread/Makefile
creating docs/Makefile
creating docs/glib-config.1
creating tests/Makefile
creating config.h
creating glibconfig.h
elle@localhost:~/glib-1.2.2$
Donc je me relance dans la ./configure de xmms Et pas il me sort pareil
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
Donc je sais pas pourquoi, il doit manquer quelqu'chose il demandais aussi gtk Installer avec succes aussi
Merci
( par contre je sais pas si je suis au bon endroit, j'ai vu qu'ont parlais de compilation alors suis viendu )
Dernière modification par elle (Le 30/04/2008, à 20:06)
Ubuntu 9.10 - The Karmic Koala
Hors ligne
#2 Le 30/04/2008, à 18:49
- bishop
Re : [résolu]Compilation gtk glib xmms
Salut elle !
En effet il te manque la librairie libglib1.2-dev.
Voici quelques unes des dépendances que tu dois installer avant de compiler XMMS :
sudo apt-get install libasound2-dev libc6-dev libaudiofile-dev libaudiofile0 libesd0-dev libesd0 libesd-alsa0 libgl1-mesa-dev libgl1-mesa-glx libgl1-mesa-dri libglib1.2-dev libgtk1.2-dev libice-dev libmikmod2-dev libogg0 libogg-dev libsm-dev libsm6 libvorbis0a libvorbis-dev libvorbisfile3 libx11-dev libx11-6 libxi-dev libxi6 libxxf86vm-dev libxxf86vm1 zlib1g-dev unzip
.
Si c'est sous Hardy que tu veux compiler il manquera la librairie libext6.
Si la compilation ne passe pas tu devras peut être rechercher cette lib sur un dépôt debian (sid).
Dernière modification par bishop (Le 01/05/2008, à 16:03)
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#3 Le 30/04/2008, à 19:13
- elle
Re : [résolu]Compilation gtk glib xmms
Salut bishop
alors tout les paquet sont bons sauf
Les paquets suivants contiennent des dépendances non satisfaites :
libesd-alsa0: Est en conflit avec: libesd0
Et libxext6 est déja installée
Edit Je suis sous Hardy
Dernière modification par elle (Le 30/04/2008, à 19:32)
Ubuntu 9.10 - The Karmic Koala
Hors ligne
#4 Le 30/04/2008, à 19:44
- bishop
Re : [résolu]Compilation gtk glib xmms
Il ne faut donc pas installer le paquet libesd0.
Pour les paquets déja installés c'est pas grave. C'est une information.
Les dépendance a installées sont :
sudo apt-get install libasound2-dev libc6-dev libaudiofile-dev libaudiofile0 libesd0-dev libesd-alsa0 libgl1-mesa-dev libgl1-mesa-glx libgl1-mesa-dri libglib1.2-dev libgtk1.2-dev libice-dev libmikmod2-dev libogg0 libogg-dev libsm-dev libsm6 libvorbis0a libvorbis-dev libvorbisfile3 libx11-dev libx11-6 libxi-dev libxi6 libxxf86vm-dev libxxf86vm1 zlib1g-dev unzip
Dernière modification par bishop (Le 30/04/2008, à 19:44)
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#5 Le 30/04/2008, à 19:48
- elle
Re : [résolu]Compilation gtk glib xmms
yeah c'est bon
Merci bishop
Dernière modification par elle (Le 30/04/2008, à 20:00)
Ubuntu 9.10 - The Karmic Koala
Hors ligne
#6 Le 01/05/2008, à 09:51
- bishop
Re : [résolu]Compilation gtk glib xmms
Cool !
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#7 Le 16/04/2009, à 15:34
- jeangenius
Re : [résolu]Compilation gtk glib xmms
bonjour,
je suis actuellement à la création de paquets par le tuto creer un paquet sous ubuntu.
je rencontre des difficultés erreurs et pb de glib.
j'ai chargé glib suivant vos méthodes mais toujours des erreurs.
voici un rappel :
je désepère qui peut m'aider
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... 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 for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) 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 pkg-config... no
checking for GLIB... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//11386 and its subdirectories
Hors ligne
#8 Le 16/04/2009, à 17:15
- jeangenius
Re : [résolu]Compilation gtk glib xmms
bonjour,
je suis actuellement à la création de paquets par le tuto creer un paquet sous ubuntu.
je rencontre des difficultés erreurs et pb de glib.
j'ai chargé glib suivant vos méthodes mais toujours des erreurs.
voici un rappel :
je désepère qui peut m'aider
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... 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 for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) 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 pkg-config... no
checking for GLIB... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//11386 and its subdirectories
Hors ligne