मैं udev स्थापित करने का प्रयास करता हूं। और udev मुझे ./configure
लिनक्स ग्लिब को pkg-config की आवश्यकता है और pkg-config को 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
ठीक है, pkg-config और चिकना-2.0 याद आ रही है के दौरान एक त्रुटि देता है।
पहले मैंने pkg-config स्थापित करने का प्रयास किया। मुझे यह संदेश मिला:
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
ठीक है, मैं समझता हूं कि ग्लिब गुम है।
ग्लिब स्थापित करने का अगला चरण।
और मैं इस संदेश मिला:
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.
लेकिन अब मैं हैरान हूँ। क्या उन्हें एक-दूसरे की आवश्यकता है? मेरी गलती क्या है?
उत्तर के लिए धन्यवाद। यह काम करता है, लेकिन ग्लिब और udev के त्रुटि संदेश अभी भी – Peter
@ पीटर बने रहे हैं @ क्या आपने 'udev' को './configure --with-internal-glib' के साथ संकलित करने का प्रयास किया है? – user1202136
@ पीटर बिल्कुल कोशिश करें। मैं पर्याप्त तनाव नहीं डाल सकता कि त्रुटि संदेशों को ध्यान से पढ़ना कितना महत्वपूर्ण है और समझें कि उनका क्या मतलब है! – ptomato