Difference between revisions of "FreeBSD"

From sigrok
Jump to navigation Jump to search
m
Line 12: Line 12:


'''Installing the [[Building#Build_requirements|requirements]]:'''
'''Installing the [[Building#Build_requirements|requirements]]:'''
On FreeBSD 9.x:


  $ '''pkg_add -r git gcc autoconf268 automake111 libtool pkg-config glib20 libzip libftdi'''
  $ '''pkg_add -r git gcc autoconf268 automake111 libtool pkg-config glib20 libzip libftdi'''
On FreeBSD 10.0 or later:
$ '''pkg install git gcc autoconf automake libtool pkgconf glib libzip libftdi'''


'''Building:'''
'''Building:'''

Revision as of 20:21, 6 April 2014

This page describes how to build/install the sigrok subprojects 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:

On FreeBSD 9.x:

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

On FreeBSD 10.0 or later:

$ pkg install git gcc autoconf automake libtool pkgconf glib 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 ..