Difference between revisions of "FreeBSD"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) m |
Uwe Hermann (talk | contribs) m |
||
Line 12: | Line 12: | ||
* gcc, g++, make, ... | * gcc, g++, make, ... | ||
* autoconf, automake, libtool, pkg-config | * autoconf, automake, libtool, pkg-config | ||
* [http://library.gnome.org/devel/glib/unstable/ libglib] >= 2.0 | * [http://library.gnome.org/devel/glib/unstable/ libglib] >= 2.22.0 | ||
* libusb-1.0 (this is an integral part of FreeBSD, not an extra package/library, though) | * libusb-1.0 (this is an integral part of FreeBSD, not an extra package/library, though) | ||
* [http://nih.at/libzip/ libzip] >= 0.8 | * [http://nih.at/libzip/ libzip] >= 0.8 |
Revision as of 17:15, 3 April 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.22.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