UP | HOME

Building from source nix on OpenBSD

Table of Contents

Building from git

Install dependencies:

pkg_add -z automake-1.15.1 autoconf-archive autoconf-2.69p3 bzip2 brotli xz sqlite3 boost boost-md curl libsodium bash llvm

Run bootstrap.sh

AUTOMAKE_VERSION=1.15 AUTOCONF_VERSION=2.69 ./bootstrap.sh

Run configure

env CPPFLAGS=" -I/usr/local/include"  \
    LDFLAGS=" -L/usr/local/lib"  \
    EDITLINE_CFLAGS="-I/usr/include/readline -DREADLINE" \
    EDITLINE_LIBS="-lreadline" \
    ./configure --prefix=/usr/local

At this point, we hit a syntax error in the "S3Client.h" stuff.

Author: Aaron Bieber

Created: 2022-08-23 Tue 13:13

Validate