RESOLVED FIXED 265152
[GTK] Cannot build with USE_GTK4=OFF on Debian 12
https://bugs.webkit.org/show_bug.cgi?id=265152
Summary [GTK] Cannot build with USE_GTK4=OFF on Debian 12
Diego Pino
Reported 2023-11-20 11:39:11 PST
Building WebKitGTK on Debian 12 with flag -DUSE_GTK4=OFF (requires libgtk-3-dev) fails with the following error: ``` CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find GTK (missing: GTK_VERSION) (Required is at least version "3.22.0") ``` The reason is that after https://commits.webkit.org/270775@main, if libgtk-4-dev is present in an OS then libgtk3-dev is not installed. However, it should still be possible to build using GTK3.
Attachments
Diego Pino
Comment 1 2023-11-20 11:47:35 PST
EWS
Comment 2 2023-11-21 04:31:04 PST
Committed 271009@main (f2d7213b34a3): <https://commits.webkit.org/271009@main> Reviewed commits have been landed. Closing PR #20756 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-11-21 04:32:15 PST
Note You need to log in before you can comment on or make changes to this bug.