Monday, December 10, 2007

ERRORS COMPILING STELLARIUM 0.90 SOURCES IN UBUNTU

AN UNUSEFUL INTRODUCTION
You could notice lots of errors while trying to compile Stellarium from source in version 0.90. In particular, this are very common errors in Ubuntu 7.04 Feisty Fawn, but should be not less common for other Ubuntu version.



HOW TO INSTALL STELLARIUM FROM SOURCE
When you compile stellarium 0.90 you are supposed to do the following:

Unpack sources
~$ tar -xzf stellarium-0.9.0.tar.gz

Enter the unpacked sources folder
~$ cd stellarium-0.9.0

Compile the sources
~$ cmake .
~$ make

Fully install the software
~$ sudo make install

Clean the build directory (not mandatory)
~$ make clean



QUITE COMMON ERRORS YOU MAY RECEIVE FROM THE TERMINAL...
From the terminal you may get outputs like these:

Case 1.
cmake: command not found

Case 2.
Qt qmake not found

Case 3.
boost was not found



... AND THEIR SOLUTIONS
But never mind: the solution is pretty easy!

Case 1.
~$ sudo apt-get install cmake

Case 2.
~$ sudo apt-get install libqt4-dev qt4-dev-tools

Case 3.
~$ sudo apt-get install libboost-dev

No comments: