Building

Mike Fikes edited this page Dec 13, 2016 · 27 revisions
Clone this wiki locally

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, lein
  • gcc or clang, make, cmake, pkg-config, xxd

Dependencies

Add the needed libraries.

Arch

sudo pacman -S webkitgtk 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

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