DSView/INSTALL

123 lines
3.1 KiB
Plaintext
Raw Normal View History

2014-06-29 19:27:43 +08:00
-------------------------------------------------------------------------------
INSTALL
-------------------------------------------------------------------------------
Requirements
------------
2015-04-17 00:21:14 +08:00
libsigrok4DSL
2014-06-29 19:27:43 +08:00
- gcc (>= 4.0)
- make
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
This is part of the standard OpenBSD install (not an extra package), apparently.
- libglib >= 2.32.0
- libzip >= 0.10
- libusb-1.0 >= 1.0.16
On FreeBSD, this is an integral part of the FreeBSD libc, not an extra package/library.
This is part of the standard OpenBSD install (not an extra package), apparently.
- check >= 0.9.4 (optional, only needed to run unit tests)
DSLgoic-gui
- git
- g++
- make
- libtool
- pkg-config >= 0.22
- cmake >= 2.6
- libglib >= 2.28.0
- Qt >= 4.5
- libboost >= 1.42 (including the following libs):
- libboost-system
- libboost-thread
2015-04-17 00:21:14 +08:00
- libsigrok4DSL >= 0.2.0
2014-06-29 19:27:43 +08:00
Building and installing
-----------------------
2015-04-17 00:21:14 +08:00
Get the DSView source code from: www.dreamsourcelab.com/download.html
2014-06-29 19:27:43 +08:00
Step1: Build libusbx-1.0.18
Building:
$ cd libusbx-1.0.18
$ ./autogen.sh
2014-06-29 19:27:43 +08:00
$ ./configure
$ make
$ sudo make install
2015-04-17 00:21:14 +08:00
Step2: Build libsigrok4DSL
2014-06-29 19:27:43 +08:00
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 libzip-dev libudev-dev libasound2-dev check
Fedora (18, 19):
$ sudo yum install git gcc make autoconf automake libtool pkgconfig glib2-devel \
libzip-devel libudev-devel alsa-lib-devel check
OpenSuSE (12.2):
$ zypper install git gcc make autoconf automake libtool pkg-config glib2-devel \
libzip-devel libudev-devel alsa-devel check
Building:
2015-04-17 00:21:14 +08:00
$ cd libsigrok4DSL
2014-06-29 19:27:43 +08:00
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
2014-09-24 18:43:42 +08:00
Step3: Build libsigrokdecode
2014-06-29 19:27:43 +08:00
2014-09-24 18:43:42 +08:00
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
2015-04-17 00:21:14 +08:00
Step4: Build DSView
2014-06-29 19:27:43 +08:00
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-dev libboost-test-dev libboost-thread-dev libboost-system-dev
Fedora (18, 19):
$ sudo yum install git gcc cmake libtool pkgconfig glib2-devel \
boost-devel qt-devel boost-devel
Building:
2015-04-17 00:21:14 +08:00
$ cd DSView
2014-06-29 19:27:43 +08:00
$ cmake .
$ make
$ sudo make install
See the following wiki page for more (OS-specific) instructions:
http://sigrok.org/wiki/Building