Skip to content
Mike Fikes edited this page Jul 29, 2020 · 40 revisions

This page list notes for building on various target operating systems. Please feel free to add notes for any new operating system you have built Planck on.

Build Tooling

Ensure that the following build tools are available.

  • javac (Java 8 or later), clojure 1.9 and above
  • gcc or clang, make, cmake, pkg-config, unzip
  • xxd or xxdi.pl (if using xxdi.pl, set XXDI=xxdi.pl before running build script)

Dependencies

Add the needed libraries.

Arch

sudo pacman -S webkit2gtk libzip zlib

Centos 7

sudo yum install webkitgtk3-devel libzip-devel libcurl-devel

openSuse Tumbleweed

sudo zypper in webkit2gtk3-devel libzip-devel libcurl-devel

Debian 8

sudo apt-get install libjavascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev

Debian 9

sudo apt-get install libjavascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev

Fedora 32

sudo dnf install webkit2gtk3-devel libzip-devel libcurl-devel libicu-devel

macOS

brew install libzip icu4c

Note: If you get an error regarding an inability to find the package zlib, ensure that you have the latest pkg-config installed.

NixOS 16.09

nix-env -iA nixos.webkitgtk nixos.glib nixos.pcre nixos.libzip nixos.icu nixos.curl nixos.zlib

Ubuntu 14.04

sudo apt-get install libjavascriptcoregtk-3.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev

Ubuntu 16.04

sudo apt-get install libjavascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev unzip