从源代码安装 kstars 时出现“未找到 kde-config”错误

从源代码安装 kstars 时出现“未找到 kde-config”错误

我正在尝试从源代码安装 kstars,但在配置时出现以下错误

./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.

这是什么意思,我的电脑上已经安装了 kde

答案1

sudo ln -s /usr/bin/kde4-config /usr/bin/kde-config

答案2

看起来你错过了kdelibs5-dev

sudo apt-get install kdelibs5-dev

您可以通过安装 kstars 的构建依赖项来确保安装了 kstars 的所有构建依赖项:

sudo apt-get build-dep kstars

相关内容