OpenBSD
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page describes how to build/install sigrok on OpenBSD.
The instructions were tested on OpenBSD 5.2, older versions may or may not have the required libs/versions to build sigrok.
Distribution packages
There are no OpenBSD packages/ports yet, contributors welcome!
Building
libsigrok
Requirements:
- git
- gcc (>= 4.0)
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22 (this is an integral part of OpenBSD, not an extra package, apparently)
- libglib >= 2.28.0
- libusb-1.0 (this is an integral part of OpenBSD, not an extra package/library, apparently)
- libzip >= 0.8
- libftdi >= 0.16 (for some logic analyzer hardware)
Installing the requirements:
$ pkg_add -r git autoconf automake libtool glib2 libzip libftdi
Building:
$ git clone git://sigrok.org/libsigrok $ cd libsigrok $ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 ./autogen.sh $ ./configure $ make $ make install
libsigrokdecode
Requirements:
- git
- gcc (>= 4.0)
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22 (this is an integral part of OpenBSD, not an extra package, apparently)
- libglib >= 2.24.0
- Python >= 3.0
Installing the requirements:
$ pkg_add -r git autoconf automake libtool glib2 python
Building:
$ git clone git://sigrok.org/libsigrokdecode $ cd libsigrokdecode $ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 ./autogen.sh $ ./configure $ make $ make install
sigrok-cli
Requirements:
- git
- gcc (>= 4.0)
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22 (this is an integral part of OpenBSD, not an extra package, apparently)
- libglib >= 2.28.0
- libsigrok >= 0.2.0
- libsigrokdecode >= 0.1.0
Installing the requirements:
$ pkg_add -r git autoconf automake libtool glib2
Building:
$ git clone git://sigrok.org/sigrok-cli $ cd sigrok-cli $ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 ./autogen.sh $ ./configure $ make $ make install