Kscop setup in Ubuntu

本文记录了在安装配置KScope过程中遇到的各种错误及其解决办法,包括找不到kde-config、C++预处理器失败、缺少X包含文件、未找到mcopidl程序、缺少Lex/Flex及Yacc/Bison等问题,并提供了相应的apt-get安装命令来解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.

checking for kde-config... not found
configure: error: The important program kde-config was not found!

xxh@xxh-laptop:/home/works/kscope-1.6.0$ sudo apt-get install kdelibs

2.
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

xxh@xxh-laptop:/home/works/kscope-1.6.0$ sudo apt-get install g++


3.
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

xxh@xxh-laptop:/home/works/kscope-1.6.0$sudo apt-get install x-dev
xxh@xxh-laptop:/home/works/kscope-1.6.0$ sudo apt-get install libx11-dev
sudo apt-get install xlibs-dev
sudo apt-get install kdelibs4-dev

4.
configure: error: The important program mcopidl was not found!

5.
configure: error: Lex/Flex is required in order to build KScope

sudo apt-get install flex

6.
configure: error: Yacc/Bison is required in order to build KScope

sudo apt-get install bison

7. arts 报错
./configure --without-arts


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值