I am trying to install kstars from source ,but I got the following error while configuring

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.

What does it mean ,I already installed kde in my computer


Looks like you're missing kdelibs5-dev:

sudo apt-get install kdelibs5-dev

You can make sure all the build dependencies of kstars is installed by installing its build dependencies:

sudo apt-get build-dep kstars
  • 1
    kdelibs5-dev doesn't contains kde-config. – user86638 Aug 31 '12 at 3:35
sudo ln -s /usr/bin/kde4-config /usr/bin/kde-config
  • 1
    this is actually essential step for it to work since -dev package provides kde4-config +1 this – Petr Apr 17 '14 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.