-
-
Notifications
You must be signed in to change notification settings - Fork 600
Expand file tree
/
Copy pathbootstrap-centos.sh
More file actions
26 lines (19 loc) · 725 Bytes
/
bootstrap-centos.sh
File metadata and controls
26 lines (19 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash
SBCL_VERSION=2.2.5
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 --enablerepo=epel
wget http://downloads.sourceforge.net/project/sbcl/sbcl/$SBCL_VERSION/sbcl-$SBCL_VERSION-source.tar.bz2
tar xfj sbcl-$SBCL_VERSION-source.tar.bz2
cd sbcl-$SBCL_VERSION
./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