Difference between revisions of "FreeBSD"

From sigrok
Jump to navigation Jump to search
(FreeBSD build instructions.)
 
m
Line 21: Line 21:
=== Installing the build-dependencies ===
=== Installing the build-dependencies ===


  $ '''pkg_add -r git autoconf262 automake110 libtool pkg-config glib20 libzip libftdi qt4'''
  $ '''pkg_add -r git autoconf262 automake110 libtool pkg-config glib20 libzip libftdi qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic'''


=== Building ===
=== Building ===

Revision as of 00:06, 4 February 2011

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

Distribution packages

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

Building from source

Requirements

  • git (for cloning the source code repository)
  • gcc, g++, make, ...
  • autoconf, automake, libtool, pkg-config
  • libglib >= 2.0
  • libusb-1.0 (this is an integral part of FreeBSD, not an extra package/library, though)
  • libzip >= 0.8
  • libftdi (optional, only required for some devices)
  • Python >= 2.5 (optional, only required for protocol decoders)
  • Qt + Qt Creator >= 4.5 (optional, only required for building/editing the GUI)

Installing the build-dependencies

$ pkg_add -r git autoconf262 automake110 libtool pkg-config glib20 libzip libftdi qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic

Building

$ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
$ cd sigrok
$ ./autogen.sh
$ ./configure
$ make
$ make install

Then, for building the GUI (Note: The GUI is not yet usable!):

$ cd gui
$ qmake-qt4
$ make