aboutsummaryrefslogtreecommitdiff
path: root/INSTALL_lin.txt
blob: b615dc8b5854c22b0eca8e0f745d339300fab8d1 (plain)
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
Installation-guide for iemlib under linux

iemlib_R1.17 is written by Thomas Musil from IEM Graz Austria
 and it is compatible to miller puckette's pd-0.38-3 to pd-0.39-2.
see also LICENCE.txt, GnuLGPL.txt and README.txt.


1.) open a unix-shell, login as superuser, download and copy iemlib_R1.17_lin.tgz into your source-directory
 (e.g. /usr/local/src/iemlib_R1.17_lin.tgz)

2.) untar and unzip iemlib_R1.17_lin.tgz
 "shell">  tar xzvf iemlib_R1.17_lin.tgz
      (and a directory iemlib_R1.17 will be created)

3.) install external library folders
 "shell">  cp -R /usr/local/src/iemlib_R1.17/iemlib1 /usr/local/lib/pd/extra/
 "shell">  cp -R /usr/local/src/iemlib_R1.17/iemlib2 /usr/local/lib/pd/extra/
 "shell">  cp -R /usr/local/src/iemlib_R1.17/iem_mp3 /usr/local/lib/pd/extra/
 "shell">  cp -R /usr/local/src/iemlib_R1.17/iem_t3_lib /usr/local/lib/pd/extra/

 ( help files and sources are included )

4.) install pd abstractions folder
 "shell">  cp -R /usr/local/src/iemlib_R1.17/iemabs /usr/local/lib/pd/extra/

 ( help files are included )

5.) add to your pd_start_script, or into your pd-resource-file ~/.pdrc,
 the following configuration-options:

 -path /usr/local/lib/pd/extra/iemabs -lib iemlib1:iemlib2:iem_mp3:iem_t3_lib

 or create an executable textfile script start_pd with this content:

#!/bin/sh
/usr/local/bin/pd -r 44100 -channels 2 -audiobuf 160 -audiodev 1 -nomidi \
-path /usr/local/lib/pd/extra/iemabs \
-lib iemlib1:iemlib2:iem_mp3:iem_t3_lib



How to compile iemlib under linux

after installing iemlib:

6a.) edit Makefile
 change to directory /usr/local/src/iemlib_R1.17
 and edit the following line of Makefile and save
 ( PREFIX     =/usr/local/lib/pd
   INSTALL_BIN=$(PREFIX)/extra )

6b.) edit Make.include
 edit the following line of Make.include and save
 ( PDSOURCE = /usr/local/src/pd-0.39-2/src )

7.) compile iemlib1, iemlib2, iem_mp3, iem_t3_lib
 change to directory /usr/local/src/iemlib_R1.17
 "shell">  make
 ( iemlib1.pd_linux will be created in /usr/local/src/iemlib_R1.17/iemlib1/ 
   iemlib2.pd_linux will be created in /usr/local/src/iemlib_R1.17/iemlib2/ 
   iem_mp3.pd_linux will be created in /usr/local/src/iemlib_R1.17/iem_mp3/ 
   iem_t3_lib.pd_linux will be created in /usr/local/src/iemlib_R1.17/iem_t3_lib/ ).

8.) copy external-libraries via install
 "shell">  make install