Difference between revisions of "OpenBSD"

From sigrok
Jump to navigation Jump to search
m
m
Line 11: Line 11:
=== libsigrok ===
=== libsigrok ===


'''Requirements:'''
'''Installing the [[Building#Build_requirements|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'''
  $ '''pkg_add -r git autoconf automake libtool glib2 libzip libftdi'''
Line 39: Line 26:
=== libsigrokdecode ===
=== libsigrokdecode ===


'''Requirements:'''
'''Installing the [[Building#Build_requirements|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'''
  $ '''pkg_add -r git autoconf automake libtool glib2 python'''
Line 65: Line 41:
=== sigrok-cli ===
=== sigrok-cli ===


'''Requirements:'''
'''Installing the [[Building#Build_requirements|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'''
  $ '''pkg_add -r git autoconf automake libtool glib2'''
Line 94: Line 58:
'''Note:''' PulseView does not build on OpenBSD at the moment, this is being investigated.
'''Note:''' PulseView does not build on OpenBSD at the moment, this is being investigated.


'''Requirements:'''
'''Installing the [[Building#Build_requirements|requirements]]:'''
 
* git
* g++ (>= 4.0)
* libtool
* pkg-config >= 0.22 (this is an integral part of OpenBSD, not an extra package, apparently)
* cmake >= 2.6
* libglib >= 2.28.0
* Qt >= 4.5
* libboost >= 1.45 (including the following libs)
** libboost-sytem
** libboost-thread
* libsigrok >= 0.2.0
* libsigrokdecode >= 0.1.0
 
'''Installing the requirements:'''


  $ '''pkg_add -r git libtool cmake glib2 qt4 boost-1.42.0p14'''
  $ '''pkg_add -r git libtool cmake glib2 qt4 boost-1.42.0p14'''
Line 124: Line 73:
=== sigrok-gtk ===
=== sigrok-gtk ===


'''Note:''' The GTK+ GUI is not yet usable!
'''Note:''' [[sigrok-gtk]] is not yet usable!
 
'''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
* GTK+
* libsigrok >= 0.2.0


'''Installing the requirements:'''
'''Installing the [[Building#Build_requirements|requirements]]:'''


  $ '''pkg_add -r git autoconf automake libtool glib2 gtk+2'''
  $ '''pkg_add -r git autoconf automake libtool glib2 gtk+2'''
Line 153: Line 90:
=== sigrok-qt ===
=== sigrok-qt ===


'''Note:''' The Qt GUI is not yet usable!
'''Note:''' [[sigrok-qt]] is not yet usable!
 
'''Requirements:'''
 
* git
* g++
* libtool
* pkg-config >= 0.22 (this is an integral part of OpenBSD, not an extra package, apparently)
* libglib >= 2.28.0
* Qt >= 4.5
* libsigrok >= 0.2.0
* libsigrokdecode >= 0.1.0


'''Installing the requirements:'''
'''Installing the [[Building#Build_requirements|requirements]]:'''


  $ '''pkg_add -r git libtool glib2 qt4'''
  $ '''pkg_add -r git libtool glib2 qt4'''

Revision as of 19:12, 2 February 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 -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

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

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

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