J'essaie d'installer udev. Et udev me donne une erreur au cours de la ./configure
Linux glib a besoin de pkg-config et pkg-config a besoin de glib?
--exists: command not found configure: error:
pkg-config and "glib-2.0 >= 2.16" not found, please set GLIB_CFLAGS and GLIB_LIBS
to the correct values or pass --with-internal-glib to configure
Ok, pkg-config et glib-2.0 est manquante. J'ai d'abord essayé d'installer pkg-config. J'ai reçu ce message:
checking whether to list both direct and indirect dependencies... no
checking for Win32... no
checking if internal glib should be used... no
checking for pkg-config... no
./configure: line 13557: --exists: command not found
configure: error: pkg-config and "glib-2.0 >= 2.16" not found,
please set GLIB_CFLAGS and GLIB_LIBS to the correct values or
pass --with-internal-glib to configure
Ok J'interprète, il manque une glib.
Prochaine étape d'installation de Glib.
Et je reçu ce message:
configure: error: in `/root/glib-2.33.3':
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 LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Mais je suis maintenant perplexe. Ont-ils besoin l'un de l'autre? Quelle est mon erreur?
Merci pour la réponse. Cela a fonctionné, mais les messages d'erreur de glib et udev sont restés – Peter
@Peter avez-vous essayé de compiler 'udev' avec' ./configure --with-internal-glib'? – user1202136
@Peter absolument essayer cela. Je ne saurais trop insister sur l'importance de lire attentivement les messages d'erreur et de comprendre ce qu'ils signifient! – ptomato