NetBSD

From sigrok
Revision as of 02:12, 27 January 2013 by Uwe Hermann (talk | contribs) (NetBSD)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page describes how to build/install sigrok on NetBSD.

The instructions were tested on NetBSD 6.0.1, older versions may or may not have the required libs/versions to build sigrok.

Distribution packages

There are no NetBSD packages/ports yet, contributors welcome!

Building

libsigrok

Requirements:

  • git
  • gcc >= 4.0
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
  • libglib >= 2.28.0
  • libusb-1.0 >= 1.0.9
  • libzip >= 0.8
  • libftdi >= 0.16

Installing the requirements:

$ pkg_add scmgit autoconf automake libtool pkg-config glib2 libzip libftdi libusb1

Building:

$ git clone git://sigrok.org/libsigrok
$ cd libsigrok
$ ./autogen.sh
$ ./configure
$ make
$ make install

libsigrokdecode

Requirements:

  • git
  • gcc >= 4.0
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
  • libglib >= 2.24.0
  • Python >= 3.0

Installing the requirements:

$ pkg_add scmgit autoconf automake libtool pkg-config glib2 python32

Building:

$ git clone git://sigrok.org/libsigrokdecode
$ cd libsigrokdecode
$ ./autogen.sh
$ ./configure
$ make
$ make install

sigrok-cli

Requirements:

  • git
  • gcc >= 4.0
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
  • libglib >= 2.28.0
  • libsigrok >= 0.2.0
  • libsigrokdecode >= 0.1.0

Installing the requirements:

$ pkg_add scmgit autoconf automake libtool pkg-config glib2

Building:

$ git clone git://sigrok.org/sigrok-cli
$ cd sigrok-cli
$ ./autogen.sh
$ ./configure
$ make
$ make install