Created
September 13, 2017 03:45
-
-
Save davidmason/5b9c43202ad4c4ff562badbf2a25ae68 to your computer and use it in GitHub Desktop.
To install watchman on Fedora 26, these are all the hoops I had to jump through.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following packages are needed during `make` | |
# - openssl-devel so you don't get: | |
# ContentHash.cpp:13:10: fatal error: openssl/sha.h: No such file or directory | |
# - redhat-rpm-config so you don't get: | |
# gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory | |
# - python-devel so you don't get: | |
# pywatchman/bser.c:31:10: fatal error: Python.h: No such file or directory | |
sudo dnf install openssl-devel redhat-rpm-config python-devel | |
# The rest is just instructions from | |
# https://codeyarns.com/2015/02/10/how-to-install-and-use-watchman/ | |
git clone https://github.com/facebook/watchman.git | |
cd watchman | |
./autogen.sh | |
./configure | |
make | |
sudo make install |
for centos:
yum groupinstall "Development Tools"
yum install libtool
yum install openssl-devel redhat-rpm-config python-devel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For apt (Ubuntu, Debian…):
For yum (CentOS, RHEL…):
For dnf (Fedora…):
For zypper (openSUSE…):
Repeat this following action
$ ./configure
$ make
$ sudo make install
Source