So erstellen Sie Webkitgtk 2.20.0 auf Mac 10.13.4

784
user1192748

Ich versuche, Webkitgtk auf meinem Mac OSX 10.13.4 zu erstellen. gemäß dem offiziellen Führer .

Wenn Sie jedoch den folgenden Befehl ausführen

$ cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja

Ich erhalte den Fehler unten:

-- Checking for module 'gtk+-x11-3.0' -- No package 'gtk+-x11-3.0' found -- Checking for module 'gtk+-wayland-3.0' -- No package 'gtk+-wayland-3.0' found -- Found ICU header files in /usr/local/include -- Found ICU libraries: /usr/local/lib/libicuuc.dylib -- Found ICU internationaliation libraries: /usr/local/lib/libicui18n.dylib -- Found ICU data libraries: /usr/local/lib/libicudata.dylib CMake Error at /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPkgConfig.cmake:419 (message): A required package was not found Call Stack (most recent call first): /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPkgConfig.cmake:586 (_pkg_check_modules_internal) Source/cmake/FindLibSoup.cmake:35 (pkg_check_modules) Source/cmake/OptionsGTK.cmake:31 (find_package) Source/cmake/WebKitCommon.cmake:61 (include) CMakeLists.txt:152 (include)   -- Configuring incomplete, errors occurred! See also "/Users/xyz/Downloads/webkitgtk-2.20.0/CMakeFiles/CMakeOutput.log". See also "/Users/xyz/Downloads/webkitgtk-2.20.0/CMakeFiles/CMakeError.log". 

Die Datei CMakeError.log beschwert sich über fehlende Header-Dateien (features.h und pthread_np.h):

In file included from <built-in>:375: <command line>:1:31: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized 1 "~/Downloads/webkitgtk-2.20.0/CMakeFiles/CMakeError.log" 90L, 5552C ar -t [-TLsv] archive [file ...] CheckIncludeFile.c:1:10: fatal error: 'features.h' file not found #include <features.h> ^~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed.   Determining if the include file pthread_np.h exists failed with the following output: Change Dir: /Users/andre/Downloads/webkitgtk-2.20.0/CMakeFiles/CMakeTmp  Run Build Command:"/usr/local/bin/ninja" "cmTC_2307c" [1/2] Building C object CMakeFiles/cmTC_2307c.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_2307c.dir/CheckIncludeFile.c.o /Library/Developer/CommandLineTools/usr/bin/cc -fdiagnostics-color=always -fcolor-diagnostics -Wno-parentheses-equality -Wno-noexcept-type -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_2307c.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c CheckIncludeFile.c:1:10: fatal error: 'pthread_np.h' file not found #include <pthread_np.h> ^~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. 

Ich habe versucht, die Bibliotheken zu finden, die diese Header-Dateien enthalten, aber nicht erfolgreich.

0

0 Antworten auf die Frage