User Tools

Site Tools


devel:build_tools_for_unix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
devel:build_tools_for_unix [2017-03-20 17:54] – [See also] skyjakedevel:build_tools_for_unix [2020-12-22 14:20] (current) – ↷ Links adapted because of a move operation 34.207.104.246
Line 1: Line 1:
 +====== Build tools for Unix (Doomsday 1.x) ======
 +
 +
 +===== Ubuntu =====
 +
 +
 +First, make sure you have the [[https://help.ubuntu.com/community/Repositories?action=show|universe and multiverse repositories]] enabled on your Ubuntu system.
 +
 +Next make sure you have the toolchain installed to build Doomsday. You will need:
 +GCC, Python, Git, and Qmake.
 +Install them like this:
 +  sudo aptitude install build-essential python git qt4-qmake qt-creator
 +
 +Now that the toolchain has been installed, you will now need to install the development libraries. These are SDL, SDL mixer, zlib, libpng, OpenAL, OpenGL, ncurses, X11, and the dynamic loader.
 +Install them like this:
 +  sudo apt-get install libltdl3-dev libsdl-mixer1.2-dev libsdl1.2-dev libpng-dev libopenal-dev zlib1g-dev libncurses5-dev libx11-dev libxext-dev libgl1-mesa-dev libglu1-mesa-dev libxxf86vm-dev
 +
 +Now, I suggest a good syntax highlighting text editor. If you prefer an console application I recommend the Midnight Commander, and if you prefer X11, I suggest Gedit.
 +Install Midnight Commander like this:
 +  sudo aptitude install mc
 +or Gedit like this:
 +  sudo aptitude install gedit
 +
 +
 +===== Debian =====
 +
 +
 +See instructions for Ubuntu. Instructions for Ubuntu are often applicable to Debian Unstable.
 +
 +
 +===== Fedora =====
 +
 +
 +Note: These directions are for the i386 build of Fedora Core 6, however these instructions should work on FC5.
 +
 +The easiest way to obtain and install the necessary libraries is by invoking yum via the terminal:
 +  yum install cmake SDL_mixer SDL_net openal mesa-libGL-devel mesa-libGLU-devel
 +  yum install SDL-devel SDL_net-devel SDL_mixer-devel zlib-devel libpng-devel
 +  yum install graphviz ncurses-devel
 +
 +Each package can be installed in one single (and long) command, however I divided it in to 3 seperate ones for legibility reasons. This should provide all the necessary libraries for a standard Fedora Core 6 install and anything else one might require can be obtained in the same way in case something is missing.
 +
 +
 +===== Gentoo =====
 +
 +
 +Since you're running Gentoo, you certainly have a working toolchain already.  We'll start by installing the requisite tools:
 +  emerge -nav zip git cmake
 +
 +In order to build doomsday you must have the following packages installed: sdl-mixer, sdl-net, openal, libsdl, libpng, mesa, libX11, zlib, and ncurses.
 +Assuming you have a working X.org install you surely have all except possibly the first 3 or 4 of these installed.  Simply emerge any which are missing from your system.
 +
 +
 +===== See also =====
 +
 +  *  [[:devel|Getting started]]
 +  *  [[compiling_and_running_2.0]]
 +
 +
  
devel/build_tools_for_unix.txt · Last modified: 2020-12-22 14:20 by 34.207.104.246