Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Last active October 5, 2017 02:22
Show Gist options
  • Save hiroyuki-sato/bb5db651c377eef3ee680d7107f831ea to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/bb5db651c377eef3ee680d7107f831ea to your computer and use it in GitHub Desktop.
groonga build
sudo yum install -y yum-utils
sudo yum install -y wget
sudo yum install -y '@base' '@core'
sudo rpm -e postfix mariadb-libs
sudo yum -y install perl-Env
sudo yum install -y libaio-devel ncurses-devel openssl-devel zlib-devel cyrus-sasl-devel
wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.19-1.el7.x86_64.rpm-bundle.tar
tar xvf ./mysql-5.7.19-1.el7.x86_64.rpm-bundle.tar
sudo rpm -Uvh mysql-community-server-5.7.19-1.el7.x86_64.rpm mysql-community-server-5.7.19-1.el7.x86_64.rpm mysql-community-devel-5.7.19-1.el7.x86_64.rpm mysql-community-libs-5.7.19-1.el7.x86_64.rpm mysql-community-common-5.7.19-1.el7.x86_64.rpm mysql-community-client-5.7.19-1.el7.x86_64.rpm
sudo yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm
sudo yum install -y --enablerepo=epel groonga-devel
sudo yum install '@development'
rpm -ivh http://packages.groonga.org/centos/7/source/SRPMS/mysql57-community-mroonga-7.05-2.el7.centos.src.rpm
sudo yum install -y groonga-normalizer-mysql-devel cmake numactl-devel
rpmbuild/SPECS
rpmbuild -ba mysql57-community-mroonga.spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment