Difference between revisions of "Linux"
Uwe Hermann (talk | contribs) |
|||
Line 13: | Line 13: | ||
=== libserialport === | === libserialport === | ||
==== Installing the [[Building#Build_requirements|requirements]] ==== | |||
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | ||
Line 19: | Line 19: | ||
$ '''sudo apt-get install git-core gcc make autoconf automake libtool''' | $ '''sudo apt-get install git-core gcc make autoconf automake libtool''' | ||
==== Building ==== | |||
$ '''git clone git://sigrok.org/libserialport''' | $ '''git clone git://sigrok.org/libserialport''' | ||
Line 30: | Line 30: | ||
=== libsigrok === | === libsigrok === | ||
==== Installing the [[Building#Build_requirements|requirements]] ==== | |||
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | ||
Line 46: | Line 46: | ||
OpenSuSE (12.2): | OpenSuSE (12.2): | ||
==== Building ==== | |||
$ '''git clone git://sigrok.org/libsigrok''' | $ '''git clone git://sigrok.org/libsigrok''' | ||
Line 58: | Line 55: | ||
$ '''sudo make install''' | $ '''sudo make install''' | ||
==== Device access ==== | |||
Please read [[Building#Cannot_access_USB_.2F_serial_.2F_other_device|this FAQ entry]] for any extra steps you may need to take to get your specific device working. | Please read [[Building#Cannot_access_USB_.2F_serial_.2F_other_device|this FAQ entry]] for any extra steps you may need to take to get your specific device working. | ||
Line 67: | Line 64: | ||
=== libsigrokdecode === | === libsigrokdecode === | ||
==== Installing the [[Building#Build_requirements|requirements]] ==== | |||
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | ||
Line 78: | Line 74: | ||
$ '''sudo yum install git gcc make autoconf automake libtool pkgconfig glib2-devel python3-devel check-devel''' | $ '''sudo yum install git gcc make autoconf automake libtool pkgconfig glib2-devel python3-devel check-devel''' | ||
==== Building ==== | |||
$ '''git clone git://sigrok.org/libsigrokdecode''' | $ '''git clone git://sigrok.org/libsigrokdecode''' | ||
Line 89: | Line 85: | ||
=== sigrok-cli === | === sigrok-cli === | ||
==== Installing the [[Building#Build_requirements|requirements]] ==== | |||
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | ||
Line 103: | Line 99: | ||
$ '''zypper install git gcc make autoconf automake libtool pkgconfig glib2-devel''' | $ '''zypper install git gcc make autoconf automake libtool pkgconfig glib2-devel''' | ||
==== Building ==== | |||
$ '''git clone git://sigrok.org/sigrok-cli''' | $ '''git clone git://sigrok.org/sigrok-cli''' | ||
Line 113: | Line 109: | ||
=== PulseView === | === PulseView === | ||
==== Installing the [[Building#Build_requirements|requirements]] ==== | |||
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros): | ||
Line 127: | Line 122: | ||
'''boost-devel qt-devel boost-devel''' | '''boost-devel qt-devel boost-devel''' | ||
==== Building ==== | |||
$ '''git clone git://sigrok.org/pulseview''' | $ '''git clone git://sigrok.org/pulseview''' |
Revision as of 21:51, 22 January 2015
This page describes how to build/install the sigrok subprojects on Linux.
Distribution packages
See Downloads.
Building
IMPORTANT: The following sections on installing build requirements are distro-specific examples and may or may not be out of date, depending on which distro you use. Please check the official build requirements list in the wiki or the current libsigrok README for the full list of requirements.
libserialport
Installing the requirements
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros):
$ sudo apt-get install git-core gcc make autoconf automake libtool
Building
$ git clone git://sigrok.org/libserialport $ cd libserialport $ ./autogen.sh $ ./configure $ make $ sudo make install
libsigrok
Installing the requirements
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros):
$ sudo apt-get install git-core gcc g++ make autoconf autoconf-archive \ automake libtool pkg-config libglib2.0-dev libglibmm-2.4-dev libzip-dev \ libusb-1.0-0-dev libftdi-dev check doxygen python-numpy\ python-dev python-gi-dev python-setuptools swig default-jdk
Fedora (18, 19):
$ sudo yum install git gcc make autoconf automake libtool pkgconfig glib2-devel \ libzip-devel libusb1-devel libftdi-devel check-devel
OpenSuSE (12.2):
Building
$ git clone git://sigrok.org/libsigrok $ cd libsigrok $ ./autogen.sh $ ./configure $ make $ sudo make install
Device access
Please read this FAQ entry for any extra steps you may need to take to get your specific device working.
Please see Building#FAQ if you are sure that you installed all requirements properly but still encounter some issues.
libsigrokdecode
Installing the requirements
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros):
$ sudo apt-get install git-core gcc make autoconf automake libtool pkg-config libglib2.0-dev python3-dev
Fedora (18, 19, 20):
$ sudo yum install git gcc make autoconf automake libtool pkgconfig glib2-devel python3-devel check-devel
Building
$ git clone git://sigrok.org/libsigrokdecode $ cd libsigrokdecode $ ./autogen.sh $ ./configure $ make $ sudo make install
sigrok-cli
Installing the requirements
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros):
$ sudo apt-get install git-core gcc make autoconf automake libtool pkg-config libglib2.0-dev
Fedora (18, 19):
$ sudo yum install git gcc make autoconf automake libtool pkgconfig glib2-devel
OpenSuse (13.1):
$ zypper install git gcc make autoconf automake libtool pkgconfig glib2-devel
Building
$ git clone git://sigrok.org/sigrok-cli $ cd sigrok-cli $ ./autogen.sh $ ./configure $ make $ sudo make install
PulseView
Installing the requirements
Example on Debian/Ubuntu (please check your respective distro's package manager tool if you use other distros):
$ sudo apt-get install git-core g++ make cmake libtool pkg-config \ libglib2.0-dev libqt4-dev libboost-test-dev libboost-thread-dev\ libboost-filesystem-dev libboost-system-dev
Fedora (18, 19):
$ sudo yum install git gcc cmake libtool pkgconfig glib2-devel \ boost-devel qt-devel boost-devel
Building
$ git clone git://sigrok.org/pulseview $ cd pulseview $ cmake . $ make $ sudo make install
FAQ
Warning: AX_CXX_COMPILE_STDCXX_11 macro not found
See here.
Warning: AX_CXX_COMPILE_STDCXX_11 macro is too old
See here.
See here.
TEST FAILED: .../lib/python2.7/site-packages/ does NOT support .pth files
See here.
Cannot access USB / serial / other device
See here.