software:controller:vzlogger:installation_en
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:controller:vzlogger:installation_en [2018/04/01 15:30] – Titel jau | software:controller:vzlogger:installation_en [2018/12/24 10:12] – draw level with german version installation_cpp-version jau | ||
---|---|---|---|
Zeile 31: | Zeile 31: | ||
* libltdl >=0.8.0 (for OMS) | * libltdl >=0.8.0 (for OMS) | ||
* libleptonica-dev (for OCR) | * libleptonica-dev (for OCR) | ||
+ | * libunistring-dev (due to problem Ubuntu 18.04) | ||
=== Debian packages === | === Debian packages === | ||
On Debian-Jessie based distributios, | On Debian-Jessie based distributios, | ||
(as root, consider running " | (as root, consider running " | ||
- | < | + | < |
For Debian Wheezy: | For Debian Wheezy: | ||
- | < | + | < |
===== Build by script ===== | ===== Build by script ===== | ||
Zeile 62: | Zeile 62: | ||
./ | ./ | ||
sudo systemctl start vzlogger | sudo systemctl start vzlogger | ||
+ | </ | ||
+ | |||
+ | The based SML Library may (before) updated by: | ||
+ | < | ||
+ | cd vzlogger/ | ||
+ | git pull | ||
+ | cd ../.. | ||
+ | ./ | ||
</ | </ | ||
===== Build by hand ===== | ===== Build by hand ===== | ||
In cases the script does not fit the conditions. | In cases the script does not fit the conditions. | ||
+ | <note warning> | ||
=== Building libjson === | === Building libjson === | ||
Zeile 71: | Zeile 80: | ||
The best case is building libjson from source, which is simple too: | The best case is building libjson from source, which is simple too: | ||
< | < | ||
- | sudo apt-get install dh-autoreconf | ||
git clone -b json-c-0.12 https:// | git clone -b json-c-0.12 https:// | ||
cd json-c | cd json-c | ||
Zeile 137: | Zeile 145: | ||
If a update is necessary follow these steps: | If a update is necessary follow these steps: | ||
< | < | ||
- | sudo systemctl stop vzlogger | ||
cd vzlogger | cd vzlogger | ||
git pull | git pull | ||
cd build | cd build | ||
- | cmake .. | + | cmake -DBUILD_TEST=off .. |
make | make | ||
+ | sudo systemctl stop vzlogger | ||
sudo make install | sudo make install | ||
- | cd ../.. | ||
sudo systemctl start vzlogger | sudo systemctl start vzlogger | ||
</ | </ | ||
====== Systemd start script ====== | ====== Systemd start script ====== | ||
+ | Systemd is used to install and execute services in background (daemon). | ||
The installscript asks you for installing the systemd unit file for you. If your computer uses systemd (Debian-Jessie) you may answer yes. | The installscript asks you for installing the systemd unit file for you. If your computer uses systemd (Debian-Jessie) you may answer yes. |
software/controller/vzlogger/installation_en.txt · Zuletzt geändert: 2023/03/13 07:57 von jau