解决编辑安装falkon中碰到缺少ecm问题

1、源码安装falkon是碰到了:

复制代码
cmake ../
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find ECM (missing: ECM_DIR)
-- 
 * ECM (required version >= 5.27.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>

CMake Error at /usr/share/cmake-3.19/Modules/FeatureSummary.cmake:457 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  CMakeLists.txt:11 (feature_summary)
复制代码

2、后来发现是缺少了软件:extra-cmake-modules,

3、安装: sudo pacman -S extra-cmake-modules

4、编译安装后falkon依旧是不能使用,后来在https://bugs.kde.org/show_bug.cgi?id=434203发现

I highly doubt that this has anything to do with https://bugs.archlinux.org/task/69902. Qtwebengine 5.15.3 is a big update (with a big jump in chromium version) and it's normal that is causes many issues, and not all of them need to be the same one.

5、既然提到了软件Qtwebengine 5.15.3可能有问题,我刚刚把软件源从stable改成了testing,全面升级后出现的这个问题,难道真的这个软件的问题,降级软件

  cd /var/cache/pacman/pkg

  sudo pacman -U qt5-webengine-5.15.2-5-x86_64.pkg.tar.zst

  降级到最近一个版本,好了,终于正常了。

6、总结,得到以下几个教训:

  1、最好不要用testing的源,否则,就有无尽的宝藏等着发掘吧

  2、不要急着把安装过的软件包删除了,特别是老的软件包,还能是使用,特别是上个版本的,也就是说硬盘里至少两个版本,正在使用的包,和上一个可以正常使用的版本的包,降级也方便。

  3、使用滚动版本,虽然足够灵活,但是出问题的概率也许大些,因此还是建议新手不要太自行了,免得出了问题后悔都来不及。

7、觉得没有必要有两个版本的falkon,进入源代码目录,cd ~/falkon/build && sudo make uninstall卸载源码安装的软件即可

posted @   叕叒双又  阅读(869)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
点击右上角即可分享
微信分享提示