Building

Mike Fikes edited this page Jul 18, 2018 · 35 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

Debian 8

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

Debian 9

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

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 javascriptcoregtk-3.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev

Ubuntu 16.04

sudo apt-get install javascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev unzip
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.