diff --git a/doc/Building.md b/doc/Building.md index f468bd418..14b7fca17 100644 --- a/doc/Building.md +++ b/doc/Building.md @@ -13,7 +13,7 @@ You can skip most of the following instructions if desired, and use our premade To get and compile the source you must have `patch`, `wget`, `unzip`, `git`, `cmake` and `luarocks` installed, as well as a version of `autoconf` -greater than 2.64. You also need `nasm`, `ragel`, and of course a compiler like `gcc` +greater than 2.64. You also need `nasm`, and of course a compiler like `gcc` or `clang`. ### Debian/Ubuntu and derivates @@ -22,7 +22,7 @@ Install the prerequisites using APT: ``` sudo apt-get install build-essential git patch wget unzip \ -gettext autoconf automake cmake libtool libtool-bin nasm ragel luarocks lua5.1 libsdl2-dev \ +gettext autoconf automake cmake libtool libtool-bin nasm luarocks lua5.1 libsdl2-dev \ libssl-dev libffi-dev libc6-dev-i386 xutils-dev linux-libc-dev:i386 zlib1g:i386 ``` @@ -31,7 +31,7 @@ libssl-dev libffi-dev libc6-dev-i386 xutils-dev linux-libc-dev:i386 zlib1g:i386 Install the prerequisites using DNF: ``` -sudo dnf install libstdc++-static SDL SDL-devel patch wget unzip git cmake luarocks autoconf nasm ragel gcc +sudo dnf install libstdc++-static SDL SDL-devel patch wget unzip git cmake luarocks autoconf nasm gcc ``` ### macOS @@ -39,7 +39,7 @@ sudo dnf install libstdc++-static SDL SDL-devel patch wget unzip git cmake luaro Install the prerequisites using [Homebrew](https://brew.sh/): ``` -brew install nasm ragel binutils coreutils libtool autoconf automake cmake makedepend \ +brew install nasm binutils coreutils libtool autoconf automake cmake makedepend \ sdl2 lua@5.1 luarocks gettext pkg-config wget gnu-getopt grep bison ```