diff --git a/scripts/lib/build-pgroonga b/scripts/lib/build-pgroonga index 483f797b8c..cf2fd62626 100755 --- a/scripts/lib/build-pgroonga +++ b/scripts/lib/build-pgroonga @@ -4,9 +4,6 @@ set -e PGROONGA_VERSION="2.1.6" -# Currently only tested for Fedora systems. - -yum install -y groonga-devel msgpack-devel cd "$(mktemp -d)" wget https://packages.groonga.org/source/pgroonga/pgroonga-"$PGROONGA_VERSION".tar.gz diff --git a/tools/lib/provision.py b/tools/lib/provision.py index 9afe0a7fd2..8c2d253df4 100755 --- a/tools/lib/provision.py +++ b/tools/lib/provision.py @@ -183,6 +183,9 @@ if vendor in ["Ubuntu", "Debian"]: pkg.format(POSTGRES_VERSION) for pkg in [ "postgresql-{0}", "postgresql-server-dev-{0}", + # Needed to build pgroonga from source + "libgroonga-dev", + "libmsgpack-dev", ] ] else: @@ -209,6 +212,9 @@ elif vendor == "Fedora": "postgresql{0}-server", "postgresql{0}", "postgresql{0}-devel", + # Needed to build pgroonga from source + "groonga-devel", + "msgpack-devel", ] ] + FEDORA_VENV_DEPENDENCIES BUILD_TSEARCH_FROM_SOURCE = True