ruby-tree-sitter.old icon indicating copy to clipboard operation
ruby-tree-sitter.old copied to clipboard

Compilation on CentOS 8

Open skull-squadron opened this issue 3 years ago • 0 comments

sudo dnf install -y libtree-sitter-devel glib2-devel nss-util-devel nspr-devel

TREE_SITTER_PARSER_DIR=/usr/include gem install tree-sitter -- --with-cppflags='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3 -I/usr/include/nspr4'

Probably should default the env variable to /usr/include and use mkmf pkg-config to find things.

skull-squadron avatar Oct 02 '22 09:10 skull-squadron