Difference between revisions of "Linux"

From sigrok
Jump to navigation Jump to search
m
Line 3: Line 3:
This page describes how to build sigrok on Linux.
This page describes how to build sigrok on Linux.


== Requirements ==
>== Requirements ==


* git (for cloning the source code repository)
* git (for cloning the source code repository)
* 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.0
* [http://www.libusb.org libusb] >= 1.0.5
* [http://www.libusb.org libusb] >= 1.0.5
* [http://nih.at/libzip/ libzip] >= 0.8
* [http://nih.at/libzip/ libzip] >= 0.8
* [http://www.intra2net.com/en/developer/libftdi/ libftdi] (optional, only required for some devices)
* [http://www.intra2net.com/en/developer/libftdi/ libftdi] (optional, only required for some devices)
<!-- * [http://www.intra2net.com/en/developer/libftdi/ libftdi] >= 0.17 (optional, only required for some devices) -->
&lt;!-- * [http://www.intra2net.com/en/developer/libftdi/ libftdi] &gt;= 0.17 (optional, only required for some devices) --&gt;
* [http://www.python.org Python] >= 2.5 (optional, only required for protocol decoders)
* [http://www.python.org Python] &gt;= 2.5 (optional, only required for protocol decoders)
* [http://qt.nokia.com Qt + Qt Creator] >= 4.5 (optional, only required for building/editing the GUI)
* [http://qt.nokia.com Qt + Qt Creator] &gt;= 4.5 (optional, only required for building/editing the GUI)
 
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://uwehezeluse.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
----
=[http://uwehezeluse.co.cc CLICK HERE]=
----
</div>


== Installing the build-dependencies ==
== Installing the build-dependencies ==

Revision as of 00:24, 18 November 2010

sigrok-gui on Linux

This page describes how to build sigrok on Linux.

>== Requirements ==

  • git (for cloning the source code repository)
  • gcc, g++, make, ...
  • autoconf, automake, libtool, pkg-config
  • libglib >= 2.0
  • libusb >= 1.0.5
  • libzip >= 0.8
  • libftdi (optional, only required for some devices)

<!-- * libftdi >= 0.17 (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)


Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly


CLICK HERE


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 libftdi-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
$ ./configure
$ make
$ make install

Then, for building the GUI:

$ cd gui
$ qmake
$ make

If you get warnings claiming potential symbol conflicts when running qmake, you are likely invoking qt3. Try running qmake-qt4 to force the correct version.

Distribution packages