FreeBSD

From sigrok
Revision as of 19:10, 2 February 2013 by Uwe Hermann (talk | contribs)
Jump to navigation Jump to search

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

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

Distribution packages

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

Building

libsigrok

Installing the requirements:

$ pkg_add -r git gcc autoconf268 automake111 libtool pkg-config glib20 libzip libftdi

Building:

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

libsigrokdecode

Installing the requirements:

$ pkg_add -r git gcc autoconf268 automake111 libtool pkg-config glib20 python31

Building:

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

sigrok-cli

Installing the requirements:

$ pkg_add -r git gcc autoconf268 automake111 libtool pkg-config glib20

Building:

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

PulseView

Installing the requirements:

$ pkg_add -r git gcc libtool pkg-config cmake glib20 qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic boost-libs

Building:

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

sigrok-gtk

Note: The GTK+ GUI is not yet usable!

Installing the requirements:

$ pkg_add -r git gcc autoconf268 automake111 libtool pkg-config glib20 gtk20

Building:

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

sigrok-qt

Note: The Qt GUI is not yet usable!

Installing the requirements:

$ pkg_add -r git gcc libtool pkg-config glib20 qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic

Building:

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