OpenBSD

From sigrok
Revision as of 08:25, 26 October 2018 by AnthonyJBentley (talk | contribs) (Update OpenBSD build instructions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page describes how to build/install the sigrok subprojects on OpenBSD.

The instructions were tested on OpenBSD 6.4; older versions may or may not have the required libs/versions to build sigrok.

Distribution packages

OpenBSD packages/ports are available, see the Downloads page.

Building

libsigrok

Installing the requirements:

# pkg_add git autoconf%2.69 automake%1.15 libtool glib2 libzip libftdi check

Building:

$ git clone git://sigrok.org/libsigrok
$ cd libsigrok
$ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15 ./autogen.sh
$ ./configure
$ make
$ doas make install

libsigrokdecode

Installing the requirements:

# pkg_add git autoconf%2.69 automake%1.15 libtool glib2 python%3

Building:

$ git clone git://sigrok.org/libsigrokdecode
$ cd libsigrokdecode
$ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15 ./autogen.sh
$ ./configure
$ make
$ doas make install

sigrok-cli

Installing the requirements:

# pkg_add git autoconf%2.69 automake%1.15 libtool glib2

Building:

$ git clone git://sigrok.org/sigrok-cli
$ cd sigrok-cli
$ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15 ./autogen.sh
$ ./configure
$ make
$ doas make install

PulseView

Installing the requirements:

# pkg_add git libtool cmake glib2 qt4 boost

Building:

$ git clone git://sigrok.org/pulseview
$ cd pulseview
$ cmake .
$ make
$ doas make install

Hint: if something goes wrong, you can see what cmake is doing by running

$ cmake VERBOSE=1