ac_nonexistent.hとは何ですか?

ac_nonexistent.hとは何ですか?

失敗したビルドのビルドログを確認してください。、次のエラーはどういう意味ですか?

fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h>

以下はいくつかの背景情報です。

configure:6614: $? = 0
configure:6627: result: none needed
configure:6648: checking how to run the C preprocessor
configure:6679: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
configure:6679: $? = 0
configure:6693: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:6693: $? = 1
configure: failed program was:
| /* confdefs.h */

何ですかac_nonexistent.h?このエラーが発生した場合はどうすればよいですか?

ベストアンサー1

それは整合性チェック、コンフィギュレーションスクリプトがヘッダの存在を正しく判断するために、コンパイラに存在しないヘッダを使用するように要求し、コンパイラが(正しく)失敗することを確認します。

「エラー」以降もビルドが続くことに注意してください。ビルドが失敗した理由を見つけるには、通常はビルドログの最後から作業する必要があります。この場合、ログの重要な部分は次のとおりです。

configure:47489: checking for the Wayland protocols
configure:47492: $PKG_CONFIG --exists --print-errors "wayland-protocols >= 1.4"
Package wayland-protocols was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-protocols.pc' to the PKG_CONFIG_PATH environment variable
No package 'wayland-protocols' found

おすすめ記事