These are our notes as we go along:
apt-get install build-essential erlang-dev
Install libressl-portable. To install it into /opt
, understand and do this:
curl -LO http://...libressl-portable.tar.gz
tar -zxf libressl-portable*tar.gz
cd libressl
./configure --prefix=/opt
make check
sudo make install
sudo sh -c 'echo /opt/libressl/lib > /etc/ld.so.conf.d/libressl'
sudo ldconfig
echo export PKG_CONFIG_PATH=/opt/libressl/lib/pkgconfig > ~/.profile
pkg_add erlang
First time:
./autogen.sh && ./configure
After changing code:
./rebar3 compile
./rebar3 clean
./rebar3 eunit
See rebar.config
: as part of cleaning the Erlang, it also runs make clean
;
as part of compiling the Erlang, it also runs make
.
If you just want to try to get things working again without much thought, try this:
make distclean ; ./autogen.sh && ./configure
./rebar3 clean
./rebar3 compile
./rebar3 shell
OpenBSD KNF. See style(9) for details, or find it online. This is a way of thinking: explictness in an effort to understand what the software does, but not too much explictness so that the idea is not muddled by the syntax. Use these vim settings for the indentation format:
set sw=0
set ts=8
set noet
set cinoptions=:0,t0,+4,(4
Donate to the OpenBSD Foundation.
Released under the ISC license.