Difference between revisions of "Linux"

From sigrok
Jump to navigation Jump to search
(Updates.)
m (Add libftdi)
Line 8: Line 8:
* gcc, g++, make, ...
* gcc, g++, make, ...
* autoconf, automake, libtool, pkg-config
* autoconf, automake, libtool, pkg-config
* [http://freshmeat.net/projects/libftdi libftdi] >= 0.17
* [http://library.gnome.org/devel/glib/unstable/ libglib] >= 2.0
* [http://library.gnome.org/devel/glib/unstable/ libglib] >= 2.0
* [http://www.libusb.org libusb] >= 1.0.5
* [http://www.libusb.org libusb] >= 1.0.5
Line 24: Line 25:
Fedora:
Fedora:


  $ '''yum install gcc-c++ libtool glib2-devel libusb1-devel libzip-devel qt-devel python-devel'''
  $ '''yum install gcc-c++ libtool glib2-devel libftdi-devel libusb1-devel libzip-devel qt-devel python-devel'''


== Building ==
== Building ==

Revision as of 21:28, 28 April 2010

sigrok-gui on Linux

This page describes how to build sigrok on Linux.

Requirements

Installing the build-dependencies

On most Linux distributions there are pre-built packages for the sigrok dependencies (if not, you have to build the packages from source). The installation using a package manager is usually pretty simple.

Debian/Ubuntu:

$ apt-get install git-core gcc g++ make autoconf automake libtool pkg-config libglib2.0-dev libusb-1.0-0-dev libzip-dev python-dev qtcreator qt4-designer qt4-dev-tools libqt4-dev

Fedora:

$ yum install gcc-c++ libtool glib2-devel libftdi-devel libusb1-devel libzip-devel qt-devel python-devel

Building

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

Then, for building the GUI:

$ cd gui
$ qmake
$ make

Distribution packages

  • Debian / Ubuntu: Uwe Hermann will create packages for Debian unstable (which will semi-automatically migrate to Ubuntu after a while).