私はudevをインストールしようとしています。そして、udevは./configure
Linuxのglibには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
[OK]を、PKG-config設定とのglib-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
私は、glibが見つからないと言っています。
Glibをインストールする次のステップ。
そして、私はこのメッセージを得た:
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.
をしかし、私は今、困惑です。 彼らはお互いが必要ですか? 私の間違いは何ですか?
答えをありがとう。それでもうまくいきましたが、glibとudevのエラーメッセージはまだ残っています – Peter
@Peter './configure --with-internal-glib'で' udev'をコンパイルしようとしましたか? – user1202136
@Peterは絶対にそれを試してください。エラーメッセージを注意深く読んで、それらの意味を理解することがいかに重要であるかを十分に強調することはできません。 – ptomato