Difference between revisions of "FreeBSD"

From sigrok
Jump to navigation Jump to search
(No need for gmake (GNU make), the listed sigrok packages work fine with FreeBSD's make.)
m (Updates.)
Line 22: Line 22:
* 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
* libzip >= 0.8
* zlib >= 1.2.3.1
* libftdi >= 0.16 (for some logic analyzer hardware)
* libftdi >= 0.16 (for some logic analyzer hardware)


Line 48: Line 47:
* libtool
* libtool
* pkg-config >= 0.22
* pkg-config >= 0.22
* libglib >= 2.28.0
* libglib >= 2.24.0
* Python >= 3.0
* Python >= 3.0


Line 75: Line 74:
* pkg-config >= 0.22
* pkg-config >= 0.22
* libglib >= 2.28.0
* libglib >= 2.28.0
* libsigrok >= 0.1.0
* libsigrok >= 0.2.0
* libsigrokdecode >= 0.1.0
* libsigrokdecode >= 0.1.0


Line 91: Line 90:
  $ '''make install'''
  $ '''make install'''


=== [[PulseView]] ===
=== PulseView ===


'''Requirements:'''
'''Requirements:'''


TODO
* git
* g++
* libtool
* pkg-config >= 0.22
* cmake >= 2.6
* libglib >= 2.28.0
* Qt >= 4.5
* libboost >= 1.45 (including the following libs)
** libboost-sytem
** libboost-thread
* libsigrok >= 0.2.0
* libsigrokdecode >= 0.1.0


'''Installing the requirements:'''
'''Installing the requirements:'''


TODO
$ '''pkg_add -r git gcc libtool pkg-config cmake glib20 qt4 qt4-qmake qt4-moc qt4-rcc qt4-uic boost-libs'''


'''Building:'''
'''Building:'''
Line 109: Line 119:
  $ '''sudo make install'''
  $ '''sudo make install'''
  $ '''cd ..'''
  $ '''cd ..'''


=== sigrok-gtk ===
=== sigrok-gtk ===
Line 152: Line 161:
* libglib >= 2.28.0
* libglib >= 2.28.0
* Qt >= 4.5
* Qt >= 4.5
* libsigrok >= 0.1.0
* libsigrok >= 0.2.0
* libsigrokdecode >= 0.1.0
* libsigrokdecode >= 0.1.0



Revision as of 17:01, 20 January 2013

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)
  • 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
  • libftdi >= 0.16 (for some logic analyzer hardware)

Installing the requirements:

$ pkg_add -r git gcc 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)
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
  • libglib >= 2.24.0
  • Python >= 3.0

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

Requirements:

  • git
  • gcc (>= 4.0)
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
  • libglib >= 2.28.0
  • libsigrok >= 0.2.0
  • libsigrokdecode >= 0.1.0

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

Requirements:

  • git
  • g++
  • libtool
  • pkg-config >= 0.22
  • cmake >= 2.6
  • libglib >= 2.28.0
  • Qt >= 4.5
  • libboost >= 1.45 (including the following libs)
    • libboost-sytem
    • libboost-thread
  • libsigrok >= 0.2.0
  • libsigrokdecode >= 0.1.0

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 ..

sigrok-gtk

Note: The GTK+ GUI is not yet usable!

Requirements:

  • git
  • gcc (>= 4.0)
  • 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 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++
  • libtool
  • pkg-config >= 0.22
  • libglib >= 2.28.0
  • Qt >= 4.5
  • libsigrok >= 0.2.0
  • libsigrokdecode >= 0.1.0

Installing the requirements:

$ pkg_add -r git gcc 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