Skip to content

Instantly share code, notes, and snippets.

@drewc
Created January 22, 2019 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewc/214cc52311fdedd30a3fa08c30689f38 to your computer and use it in GitHub Desktop.
Save drewc/214cc52311fdedd30a3fa08c30689f38 to your computer and use it in GitHub Desktop.
* Install
** libs
#+BEGIN_SRC shell
sudo apt-get install openssl libssl-dev \
sqlite3 libsqlite3-dev build-essential automake zlib1g-dev \
liblmdb-dev libtool libjson-perl
#+END_SRC
** Gambit
We want to statically link things.
#+BEGIN_SRC sh
cd ~/src/
git clone https://github.com/gambit/gambit.git
cd gambit
aclocal
libtoolize
automake --add-missing
autoconf
./configure --prefix=/usr/local/ \
--enable-single-host\
--enable-openssl \
--enable-default-runtime-options=f8,-8,t8 \
--enable-poll
make -j8 ; make check && make install
#+END_SRC
** Gerbil
https://github.com/vyzo/gerbil/wiki/Getting-Started-with-Gerbil-development
https://github.com/vyzo/gerbil/wiki/Environment-Variables
#+BEGIN_SRC sh
cd ~src/
git clone git@github.com:vyzo/gerbil.git
cd gerbil/src
sed -i 's/lmdb #f/lmdb #t/' std/build-features.ss
./build.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment