forked from DreamSourceLab/DSView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
122 lines (87 loc) · 3.1 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
-------------------------------------------------------------------------------
INSTALL
-------------------------------------------------------------------------------
Requirements
------------
libsigrok4DSLoigc
- 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
- libsigrok4DSLogic >= 0.2.0
Building and installing
-----------------------
Get the DSLogic source code from: www.dreamsourcelab.com/download.html
Step1: Build libusbx-1.0.18
Building:
$ cd libusbx-1.0.18
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
Step2: Build libsigrok4DSLogic
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:
$ cd libsigrok4DSLogic
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
Step3: Build 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
Step4: Build DSLogic-gui
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:
$ cd DSLogic-gui
$ cmake .
$ make
$ sudo make install
See the following wiki page for more (OS-specific) instructions:
http://sigrok.org/wiki/Building