Difference between revisions of "FreeBSD"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) (Build instructions for all projects.) |
Uwe Hermann (talk | contribs) m |
||
Line 14: | Line 14: | ||
== Building libsigrok == | == Building libsigrok == | ||
'''Requirements:''' | |||
* git | * git | ||
Line 23: | Line 23: | ||
* libtool | * libtool | ||
* pkg-config >= 0.22 | * pkg-config >= 0.22 | ||
* | * 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) | ||
* | * libzip >= 0.8 | ||
* zlib >= 1.2.3.1 | * zlib >= 1.2.3.1 | ||
* | * libftdi >= 0.16 (for some logic analyzer hardware) | ||
'''Installing the requirements:''' | |||
$ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 libzip libftdi''' | $ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 libzip libftdi''' | ||
'''Building:''' | |||
$ '''cd libsigrok''' | $ '''cd libsigrok''' | ||
Line 43: | Line 43: | ||
== Building libsigrokdecode == | == Building libsigrokdecode == | ||
'''Requirements:''' | |||
* git | * git | ||
Line 52: | Line 52: | ||
* libtool | * libtool | ||
* pkg-config >= 0.22 | * pkg-config >= 0.22 | ||
* | * libglib >= 2.22.0 | ||
* Python >= 3.0 | * Python >= 3.0 | ||
'''Installing the requirements:''' | |||
$ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 python31''' | $ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 python31''' | ||
'''Building:''' | |||
$ '''cd libsigrokdecode''' | $ '''cd libsigrokdecode''' | ||
Line 69: | Line 69: | ||
== Building sigrok-cli == | == Building sigrok-cli == | ||
'''Requirements:''' | |||
* git | * git | ||
Line 78: | Line 78: | ||
* libtool | * libtool | ||
* pkg-config >= 0.22 | * pkg-config >= 0.22 | ||
* | * libglib >= 2.22.0 | ||
* libsigrok >= 0.2 | * libsigrok >= 0.2 | ||
* libsigrokdecode >= 0.2 | * libsigrokdecode >= 0.2 | ||
'''Installing the requirements:''' | |||
$ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20''' | $ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20''' | ||
'''Building:''' | |||
For building [[Commandline|sigrok-cli]]: | |||
$ '''cd sigrok-cli''' | $ '''cd sigrok-cli''' | ||
Line 96: | Line 98: | ||
== Building sigrok-gtk == | == Building sigrok-gtk == | ||
'''Requirements:''' | |||
* git | * git | ||
Line 105: | Line 107: | ||
* libtool | * libtool | ||
* pkg-config >= 0.22 | * pkg-config >= 0.22 | ||
* | * libglib >= 2.22.0 | ||
* GTK+ | * GTK+ | ||
* libsigrok >= 0.2 | * libsigrok >= 0.2 | ||
'''Installing the requirements:''' | |||
$ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 gtk''' | $ '''pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 gtk''' | ||
'''Building:''' | |||
For building [[sigrok-gtk]] ('''Note:''' The GTK+ GUI is not yet usable!): | |||
$ '''cd sigrok-gtk''' | $ '''cd sigrok-gtk''' | ||
Line 123: | Line 127: | ||
== Building sigrok-qt == | == Building sigrok-qt == | ||
'''Requirements:''' | |||
* git | * git | ||
Line 130: | Line 134: | ||
* libtool | * libtool | ||
* pkg-config >= 0.22 | * pkg-config >= 0.22 | ||
* | * libglib >= 2.22.0 | ||
* Qt >= 4.5 | * Qt >= 4.5 | ||
* libsigrok >= 0.2 | * libsigrok >= 0.2 | ||
* libsigrokdecode >= 0.2 | * libsigrokdecode >= 0.2 | ||
'''Installing the requirements:''' | |||
$ '''pkg_add -r git gcc gmake libtool pkg-config glib20 qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic''' | $ '''pkg_add -r git gcc gmake libtool pkg-config glib20 qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic''' | ||
'''Building:''' | |||
For building [[ | For building [[sigrok-qt]] ('''Note:''' The Qt GUI is not yet usable!): | ||
$ '''cd sigrok-qt''' | $ '''cd sigrok-qt''' |
Revision as of 01:06, 11 February 2012
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!
Getting the source
$ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok $ cd sigrok
Building libsigrok
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.22.0
- libusb-1.0 (this is an integral part of FreeBSD, not an extra package/library, though)
- libzip >= 0.8
- zlib >= 1.2.3.1
- libftdi >= 0.16 (for some logic analyzer hardware)
Installing the requirements:
$ pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 libzip libftdi
Building:
$ cd libsigrok $ ./autogen.sh $ ./configure $ make $ make install
Building libsigrokdecode
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.22.0
- Python >= 3.0
Installing the requirements:
$ pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 python31
Building:
$ cd libsigrokdecode $ ./autogen.sh $ ./configure $ make $ make install
Building sigrok-cli
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.22.0
- libsigrok >= 0.2
- libsigrokdecode >= 0.2
Installing the requirements:
$ pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20
Building:
For building sigrok-cli:
$ cd sigrok-cli $ ./autogen.sh $ ./configure $ make $ make install
Building sigrok-gtk
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.22.0
- GTK+
- libsigrok >= 0.2
Installing the requirements:
$ pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 gtk
Building:
For building sigrok-gtk (Note: The GTK+ GUI is not yet usable!):
$ cd sigrok-gtk $ ./autogen.sh $ ./configure $ make $ make install
Building sigrok-qt
Requirements:
- git
- g++
- gmake
- libtool
- pkg-config >= 0.22
- libglib >= 2.22.0
- Qt >= 4.5
- libsigrok >= 0.2
- libsigrokdecode >= 0.2
Installing the requirements:
$ pkg_add -r git gcc gmake libtool pkg-config glib20 qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic
Building:
For building sigrok-qt (Note: The Qt GUI is not yet usable!):
$ cd sigrok-qt $ qmake-qt4 $ make $ make install