DSView/INSTALL

79 lines
2.2 KiB
Plaintext
Raw Normal View History

2014-06-29 19:27:43 +08:00
-------------------------------------------------------------------------------
INSTALL
-------------------------------------------------------------------------------
Requirements
------------
- git
2014-06-29 19:27:43 +08:00
- gcc (>= 4.0)
- g++
2014-06-29 19:27:43 +08:00
- make
- libtool
2014-06-29 19:27:43 +08:00
- autoconf >= 2.63
- automake >= 1.11
- cmake >= 2.6
- Qt >= 5.0
2014-06-29 19:27:43 +08:00
- libtool
- 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.
- libboost >= 1.42 (including the following libs):
- libboost-system
- libboost-thread
- pkg-config >= 0.22
This is part of the standard OpenBSD install (not an extra package), apparently.
- check >= 0.9.4 (optional, only needed to run unit tests)
- libfftw3 >= 3.3
2014-06-29 19:27:43 +08:00
Building and installing
-----------------------
Step1: Installing the requirements:
2014-06-29 19:27:43 +08:00
please check your respective distro's package manager tool if you use other distros
Debian/Ubuntu:
2015-06-30 00:34:54 +08:00
$ sudo apt-get install git-core gcc g++ make cmake autoconf automake libtool pkg-config \
libglib2.0-dev libzip-dev libudev-dev libusb-1.0-0-dev \
python3-dev qt5-default libboost-dev libboost-test-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev check libfftw3-dev
2014-06-29 19:27:43 +08:00
Fedora (18, 19):
2015-06-30 00:34:54 +08:00
$ sudo yum install git gcc g++ make cmake autoconf automake libtool pkgconfig glib2-devel \
libzip-devel libudev-devel libusb1-devel \
python3-devel qt-devel boost-devel check libfftw3-devel
2014-06-29 19:27:43 +08:00
Arch:
2015-06-30 00:34:54 +08:00
$ pacman -S git gcc make cmake autoconf autoconf-archive automake libtool \
pkg-config glib2 glibmm libzip libusb check
python boost qt5 qt5-base qt5-svg libfftw3
2014-06-29 19:27:43 +08:00
Step2: Get the DSView source code
2014-06-29 19:27:43 +08:00
2015-12-15 00:34:13 +08:00
$ git clone git://github.com/DreamSourceLab/DSView
2014-06-29 19:27:43 +08:00
Step3: Building
2014-06-29 19:27:43 +08:00
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
$ cd ..
2014-06-29 19:27:43 +08:00
$ cd libsigrokdecode4DSL
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ cd ..
2014-06-29 19:27:43 +08:00
$ cd DSView
$ cmake .
$ make
$ sudo make install
2014-06-29 19:27:43 +08:00
See the following wiki page for more (OS-specific) instructions:
http://sigrok.org/wiki/Building