Intento instalar udev. Y udev me da un error durante la ./configure
Linux glib necesita pkg-config y pkg-config necesita 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 y simplista-2.0 se encuentra.
Al principio intenté instalar pkg-config. Recibí este mensaje:
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 Interpreto, ese glib no falta.
Siguiente paso instalando Glib.
Y tengo este mensaje:
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.
Pero estoy intrigado ahora. ¿Se necesitan el uno al otro? ¿Cuál es mi error?
Gracias por la respuesta. Eso funcionó, pero los mensajes de error de glib y udev seguían siendo – Peter
@Peter ¿Has intentado compilar 'udev' con' ./configure --with-internal-glib'? – user1202136
@Peter absolutamente intentar eso. No puedo dejar de insistir en lo importante que es leer los mensajes de error con cuidado y entender lo que significan. – ptomato