Projects/Edu/KStars/Building KStars: Difference between revisions

From KDE TechBase
< Projects‎ | Edu‎ | KStars
(Created page with "== Introduction == This page is a community effort to document the procedure to build various versions of KStars on various platforms and environments. == Why build from source?...")
 
(No difference)

Revision as of 06:21, 18 August 2011

Introduction

This page is a community effort to document the procedure to build various versions of KStars on various platforms and environments.

Why build from source?

Typically, you would want to build KStars from source if you plan to develop KStars, or stay on the bleeding edge and contribute valuable feedback.

Prerequisite Packages

To build and develop KStars, several packages may be required from your distribution. Here's a list.

Required dependencies

  • GNU Make, GCC -- Essential tools for building
  • kdelibs -- KDE libraries
  • cmake -- buildsystem used by KDE
  • eigen -- linear algebra library

Optional dependencies

  • libcfitsio -- FITS library
  • libindi -- Instrument Neutral Distributed Interface, for controlling equipment.

Installing these packages

To install all of these, use the following commands:

Debian / Kubuntu

  sudo apt-get install build-essential cmake kdelibs5-dev libeigen2-dev libcfitsio3-dev

Please note that INDI is unavailable in Debian testing as of this writing.

Documentation on building various versions

Git

KStars development happens on KDE's git repository. (Git is an open-source version control software.). The code on git is the bleeding-edge developers' version of KStars. It does break occasionally.

To fetch the KStars source code:

 git clone git://anongit.kde.org/kstars

TODO: Complete this article