mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
@@ -99,12 +99,14 @@ block you from building for Kobo or Kindle. Remove them if you get an ld error,
|
||||
`/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/
|
||||
ld: cannot find -lglib-2.0`
|
||||
|
||||
Mac OSX users may need to install these tools:
|
||||
On Mac OS X you may need to install the following tools using [Homebrew](https://brew.sh/):
|
||||
```
|
||||
brew install nasm binutils libtool autoconf automake cmake makedepend sdl2 lua51 gettext
|
||||
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
|
||||
brew install nasm binutils libtool autoconf automake cmake makedepend sdl2 lua51 gettext pkg-config wget md5sha1sum
|
||||
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> "$HOME"/.bash_profile
|
||||
```
|
||||
|
||||
If you run into a gettext error while building glib, try `brew link --force gettext` to override the built-in Mac OS BSD gettext with GNU GetText.
|
||||
|
||||
The KOReader Android build requires `ant`, `openjdk-8-jdk` and `p7zip-full`. A compatible version of the Android NDK and SDK will be downloaded automatically by `./kodev build android` if no NDK or SDK is provided in environment variables. For that purpose you can use `NDK=/ndk/location SDK=/sdk/location ./kodev build android`.
|
||||
|
||||
Users of Debian Jessie first need to configure the `backports` repository:
|
||||
|
||||
Reference in New Issue
Block a user