Personal tools
You are here: Home Documentation HOWTO build Beremiz on Linux

HOWTO build Beremiz on Linux

User install of Beremiz on Linux

Pre-requisites

Those packages must be installed

  • wxpython
  • pyro
  • mercurial
  • gcc and make
# Ubuntu/Debian
sudo apt-get install python-wxgtk2.8 pyro mercurial build-essential bison flex mercurial python-numpy

Prepare

mkdir ~/Beremiz
cd ~/Beremiz

Get Source Code

cd ~/Beremiz

hg clone http://lolitech.fr/dev/beremiz
hg clone http://lolitech.fr/dev/plcopeneditor
hg clone http://lolitech.fr/dev/matiec
hg clone http://lolitech.fr/dev/xmlclass
hg clone http://lolitech.fr/dev/docutils

Link python packages

Some symlink to avoid root install of python packages

cd ~/Beremiz/beremiz
ln -s ../xmlclass/xmlclass .

cd ~/Beremiz/plcopeneditor
ln -s ../xmlclass/xmlclass .

Build MatIEC compiler

cd ~/Beremiz/matiec

make

Build CanFestival (optional)

Only needed for CANopen support. Please read CanFestival manual to choose CAN interface other than 'virtual'.

cd ~/Beremiz
hg clone http://lolitech.net/dev/CanFestival-3

cd ~/Beremiz/CanFestival-3
./configure --can=virtual
make

Launch Beremiz :

cd ~/Beremiz/beremiz
python Beremiz.py
Document Actions