Difference between revisions of "OpenBSD"

From sigrok
Jump to navigation Jump to search
Line 44: Line 44:


=== sigrok-cli ===
=== sigrok-cli ===
'''Installing the [[Building#Build_requirements|requirements]]:'''
$ '''pkg_add -r git autoconf automake libtool glib2'''


'''Building:'''
'''Building:'''
Line 53: Line 49:
  $ '''git clone git://sigrok.org/sigrok-cli'''
  $ '''git clone git://sigrok.org/sigrok-cli'''
  $ '''cd sigrok-cli'''
  $ '''cd sigrok-cli'''
  $ '''AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 ./autogen.sh'''
  $ '''export AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 ./autogen.sh (if you haven't exported them already)'''
  $ '''./configure'''
  $ '''./configure'''
  $ '''make'''
  $ '''make'''

Revision as of 07:23, 8 April 2013

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

Installing the requirements:

$ pkg_add -i git autoconf automake libtool glib2 libzip libftdi
Select autoconf and automake versions with the major versions as listed below (2.69 and 1.12) when asked.

Building:

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

libsigrokdecode

Installing the requirements:

$ pkg_add -i python
Select python version 3.x when asked

Building:

$ git clone git://sigrok.org/libsigrokdecode
$ cd libsigrokdecode
$ export AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 (if you haven't exported those vars already)
$ ./autogen.sh
$ ./configure
$ make
$ make install

sigrok-cli

Building:

$ git clone git://sigrok.org/sigrok-cli
$ cd sigrok-cli
$ export AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 ./autogen.sh (if you haven't exported them already)
$ ./configure
$ make
$ make install

PulseView

Note: PulseView does not build on OpenBSD at the moment, this is being investigated.

Installing the requirements:

$ pkg_add -r git libtool cmake glib2 qt4 boost-1.42.0p14

Building:

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

sigrok-gtk

Note: sigrok-gtk is not yet usable!

Installing the requirements:

$ pkg_add -r git autoconf automake libtool glib2 gtk+2

Building:

$ git clone git://sigrok.org/sigrok-gtk
$ cd sigrok-gtk
$ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.12 ./autogen.sh
$ ./configure
$ make
$ make install

sigrok-qt

Note: sigrok-qt is not yet usable!

Installing the requirements:

$ pkg_add -r git libtool glib2 qt4

Building:

$ git clone git://sigrok.org/sigrok-qt
$ cd sigrok-qt
$ qmake4
$ make
$ make install