Provo ad installare udev. E udev mi dà un errore durante la ./configure
Gli glib di Linux ha bisogno di pkg-config e pkg-config ha bisogno di un lob?
--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 e glib-2.0 è mancante.
Inizialmente ho provato a installare pkg-config. Ho ricevuto questo messaggio:
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, io interpreto, manca quello glib.
Passaggio successivo all'installazione di Glib.
E ho ricevuto questo messaggio:
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.
Ma sono perplesso ora. Hanno bisogno l'uno dell'altro? Qual è il mio errore?
Grazie per la risposta. Ha funzionato, ma i messaggi di errore di glib e udev sono rimasti ugualmente – Peter
@Peter hai provato a compilare 'udev' con' ./configure --with-internal-glib'? – user1202136
@Peter assolutamente provarlo. Non posso sottolineare abbastanza quanto sia importante leggere attentamente i messaggi di errore e capire cosa significano! – ptomato