2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Merge pull request #1588 from mihailim/feature/fix-builddep-docs

Fix Linux build docs to mention luarocks
This commit is contained in:
Qingping Hou 2015-08-02 15:15:01 -07:00
commit 51e8dee425

View File

@ -66,16 +66,17 @@ Building Prerequisites
These instructions for how to get and compile the source are intended for a Linux
OS. Windows users are suggested to develop in a [Linux VM][linux-vm] or use Wubi.
To get and compile the source you must have `patch`, `wget`, `unzip`, `git`, `autoconf`,
`subversion` and `cmake` installed, as well as a version of `autoconf` greater than 2.64.
You also need `nasm` and of course a compiler like `gcc` or `clang`. If you want to
cross-compile for other architectures, you need a proper cross-compile toolchain.
Your GCC should be at least of version 4.7 for both native and cross compiling.
To get and compile the source you must have `patch`, `wget`, `unzip`, `git`,
`subversion`, `cmake` and `luarocks` installed, as well as a version of `autoconf`
greater than 2.64. You also need `nasm` and of course a compiler like `gcc`
or `clang`. If you want to cross-compile for other architectures, you need a proper
cross-compile toolchain. Your GCC should be at least of version 4.7 for both native
and cross compiling.
Users of Debian and Ubuntu can install the required packages using:
```
sudo apt-get install build-essential libtool gcc-multilib libffi-dev \
patch wget unzip git autoconf subversion cmake nasm libsdl1.2-dev
patch wget unzip git autoconf subversion cmake nasm libsdl1.2-dev luarocks
```
Cross compile toolchains are available for Ubuntu users through these commands: