equal
deleted
inserted
replaced
21 |
21 |
22 # Ubuntu/Debian : |
22 # Ubuntu/Debian : |
23 sudo apt-get install build-essential bison flex autoconf |
23 sudo apt-get install build-essential bison flex autoconf |
24 sudo apt-get install python-wxgtk3.0 pyro mercurial |
24 sudo apt-get install python-wxgtk3.0 pyro mercurial |
25 sudo apt-get install python-nevow python-matplotlib python-lxml python-zeroconf python-cycler |
25 sudo apt-get install python-nevow python-matplotlib python-lxml python-zeroconf python-cycler |
|
26 sudo apt-get install python-autobahn python-u-msgpack |
26 |
27 |
27 * Prepare |
28 * Prepare |
28 |
29 |
29 mkdir ~/Beremiz |
30 mkdir ~/Beremiz |
30 cd ~/Beremiz |
31 cd ~/Beremiz |
43 make |
44 make |
44 |
45 |
45 * Build CanFestival (optional) |
46 * Build CanFestival (optional) |
46 Only needed for CANopen support. Please read CanFestival manual to choose CAN interface other than 'virtual'. |
47 Only needed for CANopen support. Please read CanFestival manual to choose CAN interface other than 'virtual'. |
47 |
48 |
48 cd ~/Beremiz |
49 cd ~/Beremiz |
49 hg clone http://dev.automforge.net/CanFestival-3 |
50 hg clone http://dev.automforge.net/CanFestival-3 |
50 cd ~/Beremiz/CanFestival-3 |
51 cd ~/Beremiz/CanFestival-3 |
51 ./configure --can=virtual |
52 ./configure --can=virtual |
52 make |
53 make |
53 |
54 |
54 * Build Modbus library (optional) |
55 * Build Modbus library (optional) |
55 Only needed for Modbus support. |
56 Only needed for Modbus support. |
56 |
57 |
57 cd ~/Beremiz |
58 cd ~/Beremiz |
58 hg clone https://bitbucket.org/mjsousa/modbus Modbus |
59 hg clone https://bitbucket.org/mjsousa/modbus Modbus |
59 cd ~/Beremiz/Modbus |
60 cd ~/Beremiz/Modbus |
60 make |
61 make |
|
62 |
|
63 * Build BACnet (optional) |
|
64 Only needed for BACnet support. |
|
65 |
|
66 cd ~/Beremiz |
|
67 svn checkout https://svn.code.sf.net/p/bacnet/code/trunk/bacnet-stack/ BACnet |
|
68 cd BACnet |
|
69 make MAKE_DEFINE='-fPIC' all |
61 |
70 |
62 * Launch Beremiz IDE |
71 * Launch Beremiz IDE |
63 |
72 |
64 cd ~/Beremiz/beremiz |
73 cd ~/Beremiz/beremiz |
65 python Beremiz.py |
74 python Beremiz.py |