openclonk/README.linux.txt

30 lines
806 B
Plaintext
Raw Normal View History

2009-05-08 13:28:41 +00:00
Requirements
============
To build on Linux you need the following packages (Debian names given):
make gcc g++
2009-05-08 13:28:41 +00:00
automake autoconf
2009-05-08 19:56:56 +00:00
libc6-dev libx11-dev libxxf86vm-dev libxpm-dev libglew1.5-dev libgl1-mesa-dev
libpng12-dev libssl-dev libsdl1.2-dev libsdl-mixer1.2-dev libssl-dev
libgtk2.0-dev libjpeg62-dev zlib1g-dev
2009-05-08 13:28:41 +00:00
Build
=====
2009-05-08 20:10:04 +00:00
If you build from version control, you need to run this:
autoreconf -i && ./configure 'CXX=g++-4.1' && make
To build from tarball, run this:
2009-05-08 13:28:41 +00:00
./configure 'CXX=g++-4.1' && make
Alternatively, you can use 'CXX=g++ -std=gnu++0x' if you have g++ version 4.3 or newer.
2009-05-08 13:28:41 +00:00
If you want a debug build, pass --enable-debug to configure, for the developer mode
--with-gtk. Other options are listed by ./configure --help.
On subsequent build runs, you only have to execute make.