CMake Error at /var/lib/snapd/snap/flutter/111/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:419 (message):
A required package was not found
Call Stack (most recent call first):
/var/lib/snapd/snap/flutter/111/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal)
flutter/ephemeral/.plugin_symlinks/desktop_webview_auth/linux/CMakeLists.txt:21 (pkg_check_modules)
Exception: Unable to generate build files
firebase_auth_desktop: ^0.1.1-dev.6
Flutter doctor result
```
/home/m.s/snap/flutter/common/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 2.10.4, on CentOS Stream 8 4.18.0-373.el8.x86_64, locale en_US.UTF-8)
• Flutter version 2.10.4 at /home/m.s/snap/flutter/common/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c860cba910 (11 days ago), 2022-03-25 00:23:12 -0500
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /home/m.s/Android/Sdk
• Platform android-32, build-tools 32.1.0-rc1
• Java binary at: /var/lib/snapd/snap/android-studio/119/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1
[✓] Android Studio (version 2021.1)
• Android Studio at /var/lib/snapd/snap/android-studio/119/android-studio
• Flutter plugin version 66.0.1
• Dart plugin version 211.7811
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • CentOS Stream 8 4.18.0-373.el8.x86_64
• Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.75
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Process finished with exit code 0
```
Flutter doctor result
``` /home/m.s/snap/flutter/common/flutter/bin/flutter doctor --verbose [✓] Flutter (Channel stable, 2.10.4, on CentOS Stream 8 4.18.0-373.el8.x86_64, locale en_US.UTF-8) • Flutter version 2.10.4 at /home/m.s/snap/flutter/common/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision c860cba910 (11 days ago), 2022-03-25 00:23:12 -0500 • Engine revision 57d3bac3dd • Dart version 2.16.2 • DevTools version 2.9.2 [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /home/m.s/Android/Sdk • Platform android-32, build-tools 32.1.0-rc1 • Java binary at: /var/lib/snapd/snap/android-studio/119/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at google-chrome [✓] Linux toolchain - develop for Linux desktop • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) • cmake version 3.10.2 • ninja version 1.8.2 • pkg-config version 0.29.1 [✓] Android Studio (version 2021.1) • Android Studio at /var/lib/snapd/snap/android-studio/119/android-studio • Flutter plugin version 66.0.1 • Dart plugin version 211.7811 • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822) [✓] Connected device (2 available) • Linux (desktop) • linux • linux-x64 • CentOS Stream 8 4.18.0-373.el8.x86_64 • Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.75 [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! Process finished with exit code 0 ```