-
Notifications
You must be signed in to change notification settings - Fork 68
Building
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.
Ensure that the following build tools are available.
-
javac
(Java 8 or later),clojure
1.9 and above -
gcc
orclang
,make
,cmake
,pkg-config
,unzip
-
xxd
orxxdi.pl
(if usingxxdi.pl
, setXXDI=xxdi.pl
before running build script)
Add the needed libraries.
sudo pacman -S webkit2gtk libzip zlib
sudo yum install webkitgtk3-devel libzip-devel libcurl-devel
sudo zypper in webkit2gtk3-devel libzip-devel libcurl-devel
sudo apt-get install libjavascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev
sudo apt-get install libjavascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev
sudo dnf install webkit2gtk3-devel libzip-devel libcurl-devel libicu-devel
brew install libzip icu4c
Note: If you get an error regarding an inability to find the package
zlib
, ensure that you have the latestpkg-config
installed.
nix-env -iA nixos.webkitgtk nixos.glib nixos.pcre nixos.libzip nixos.icu nixos.curl nixos.zlib
sudo apt-get install libjavascriptcoregtk-3.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev
sudo apt-get install libjavascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev unzip