As a part of the "Teaching Open Source" book, there is an activity that helps you learn how to build, make, and install open source projects from source code. I went ahead and downloaded freeciv and extracted the files from the .tar.bz2 file. From here building was fairly simple. At first i ran into a problem with dependencies. Luckily the compilation script mentions which dependencies were left out. So i went in search for GTK packages in order to full fill the requirement. This proved to be very, very slow and agonizing. I finally came across a command that would find and download all missing dependencies for the freeciv projects.
sudo apt-get build-dep freeciv
This command worked great. next all i had to do was:
sudo make install
This installed to the default directory "usr/local/bin" and made the project. I got it to run nicely and all went well. This was a very simple exercise since i have commonly used these commands before in the previous course CSCI 360 "Software Engineering" Project.
Here's a screenshot of freeciv up and running:
Freeciv 2.1 Running |