Jump to content

Compiling the Zandronum server on a Raspberry Pi: Difference between revisions

compiling linux-arm
(changed the link link)
(compiling linux-arm)
Line 18: Line 18:
=== Raspberry PI OS (formerly known as: Raspbian) ===
=== Raspberry PI OS (formerly known as: Raspbian) ===
   $ sudo apt-get install build-essential zlib1g-dev libsdl1.2-dev libjpeg-dev \
   $ sudo apt-get install build-essential zlib1g-dev libsdl1.2-dev libjpeg-dev \
     nasm tar libbz2-dev libgtk2.0-dev cmake git libfluidsynth-dev libgl1-mesa-dev \
     nasm tar libbz2-dev libgtk2.0-dev cmake mercurial libfluidsynth-dev libgl1-mesa-dev \
     libssl-dev
     libssl-dev


=== Arch Linux ARM ===
=== Arch Linux ARM ===
   $ sudo pacman -S --needed gcc make zlib sdl libjpeg-turbo nasm tar bzip2 gtk2 cmake git \
   $ sudo pacman -S --needed gcc make zlib sdl libjpeg-turbo nasm tar bzip2 gtk2 cmake mercurial \
     fluidsynth mesa glu openssl
     fluidsynth mesa glu openssl


Line 31: Line 31:


Clone the Zandronum repository:
Clone the Zandronum repository:
     $ git clone https://github.com/doomjoshuaboy/zandronum-rpi.git
     $ hg clone https://hg.osdn.net/view/zandronum/zandronum-stable zandronum


Create and <code>cd</code> to the directory where build files will be outputted:
Create and <code>cd</code> to the directory where build files will be outputted:
     $ cd ./zandronum-rpi
     $ cd ./zandronum
     $ mkdir buildserver && cd buildserver
     $ mkdir buildserver && cd buildserver