Difference between revisions of "FreeBSD"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
There are no FreeBSD packages/ports yet, contributors welcome! | There are no FreeBSD packages/ports yet, contributors welcome! | ||
== | == Building == | ||
=== libsigrok === | |||
== | |||
'''Requirements:''' | '''Requirements:''' | ||
Line 35: | Line 32: | ||
'''Building:''' | '''Building:''' | ||
$ '''git clone git://sigrok.org/libsigrok''' | |||
$ '''cd libsigrok''' | $ '''cd libsigrok''' | ||
$ '''./autogen.sh''' | $ '''./autogen.sh''' | ||
Line 41: | Line 39: | ||
$ '''make install''' | $ '''make install''' | ||
== | === libsigrokdecode === | ||
'''Requirements:''' | '''Requirements:''' | ||
Line 61: | Line 59: | ||
'''Building:''' | '''Building:''' | ||
$ '''git clone git://sigrok.org/libsigrokdecode''' | |||
$ '''cd libsigrokdecode''' | $ '''cd libsigrokdecode''' | ||
$ '''./autogen.sh''' | $ '''./autogen.sh''' | ||
Line 67: | Line 66: | ||
$ '''make install''' | $ '''make install''' | ||
== | === sigrok-cli === | ||
'''Requirements:''' | '''Requirements:''' | ||
Line 88: | Line 87: | ||
'''Building:''' | '''Building:''' | ||
$ '''git clone git://sigrok.org/sigrok-cli''' | |||
$ '''cd sigrok-cli''' | $ '''cd sigrok-cli''' | ||
$ '''./autogen.sh''' | $ '''./autogen.sh''' | ||
Line 96: | Line 94: | ||
$ '''make install''' | $ '''make install''' | ||
== Building sigrok-gtk == | === [[PulseView]] === | ||
'''Requirements:''' | |||
TODO | |||
'''Installing the requirements:''' | |||
TODO | |||
'''Building:''' | |||
$ '''git clone git://sigrok.org/pulseview''' | |||
$ '''cd pulseview''' | |||
$ '''cmake .''' | |||
$ '''make''' | |||
$ '''sudo cp pulseview /your/install/path''' | |||
$ '''cd ..''' | |||
=== sigrok-gtk === | |||
'''Note:''' The GTK+ GUI is not yet usable! | |||
'''Requirements:''' | '''Requirements:''' | ||
Line 117: | Line 137: | ||
'''Building:''' | '''Building:''' | ||
$ '''git clone git://sigrok.org/sigrok-gtk''' | |||
$ '''cd sigrok-gtk''' | $ '''cd sigrok-gtk''' | ||
$ '''./autogen.sh''' | $ '''./autogen.sh''' | ||
Line 125: | Line 144: | ||
$ '''make install''' | $ '''make install''' | ||
== | === sigrok-qt === | ||
'''Note:''' The Qt GUI is not yet usable! | |||
'''Requirements:''' | '''Requirements:''' | ||
Line 145: | Line 166: | ||
'''Building:''' | '''Building:''' | ||
$ '''git clone git://sigrok.org/sigrok-qt''' | |||
$ '''cd sigrok-qt''' | $ '''cd sigrok-qt''' | ||
$ '''qmake-qt4''' | $ '''qmake-qt4''' | ||
$ '''make''' | $ '''make''' | ||
$ '''make install''' | $ '''make install''' |
Revision as of 17:46, 8 October 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!
Building
libsigrok
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.28.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:
$ git clone git://sigrok.org/libsigrok $ cd libsigrok $ ./autogen.sh $ ./configure $ make $ make install
libsigrokdecode
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.28.0
- Python >= 3.0
Installing the requirements:
$ pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20 python31
Building:
$ git clone git://sigrok.org/libsigrokdecode $ cd libsigrokdecode $ ./autogen.sh $ ./configure $ make $ make install
sigrok-cli
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.28.0
- libsigrok >= 0.1.0
- libsigrokdecode >= 0.1.0
Installing the requirements:
$ pkg_add -r git gcc gmake autoconf268 automake111 libtool pkg-config glib20
Building:
$ git clone git://sigrok.org/sigrok-cli $ cd sigrok-cli $ ./autogen.sh $ ./configure $ make $ make install
PulseView
Requirements:
TODO
Installing the requirements:
TODO
Building:
$ git clone git://sigrok.org/pulseview $ cd pulseview $ cmake . $ make $ sudo cp pulseview /your/install/path $ cd ..
sigrok-gtk
Note: The GTK+ GUI is not yet usable!
Requirements:
- git
- gcc (>= 4.0)
- gmake
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.28.0
- GTK+
- libsigrok >= 0.1.0
Installing the requirements:
$ pkg_add -r git gcc gmake 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!
Requirements:
- git
- g++
- gmake
- libtool
- pkg-config >= 0.22
- libglib >= 2.28.0
- Qt >= 4.5
- libsigrok >= 0.1.0
- libsigrokdecode >= 0.1.0
Installing the requirements:
$ pkg_add -r git gcc gmake 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