pgloader/bootstrap-centos.sh
Gert Van Gool 3109ba14dc Update bootstrap CentOS scripts (#424)
* Corrects CentOS7 instruction (incorrect group name)

* Update CentOS 6 bootstrap info

- More recent SBCL (1.1 -> 1.3)
- Missing freetds dependency
2016-06-17 23:15:29 +02:00

25 lines
655 B
Bash

#!/usr/bin/env bash
sudo yum -y install yum-utils rpmdevtools @"Development Tools" \
sqlite-devel zlib-devel
# SBCL 1.3, we'll overwrite the repo version of sbcl with a more recent one
sudo yum -y install epel-release
sudo yum install -y sbcl.x86_64
wget http://downloads.sourceforge.net/project/sbcl/sbcl/1.3.6/sbcl-1.3.6-source.tar.bz2
tar xfj sbcl-1.3.6-source.tar.bz2
cd sbcl-1.3.6
./make.sh --with-sb-thread --with-sb-core-compression --prefix=/usr > /dev/null 2>&1
sudo sh install.sh
cd
# Missing dependencies
sudo yum -y install freetds-devel
# prepare the rpmbuild setup
rpmdev-setuptree
# pgloader
#make -C /vagrant rpm