Nelze zkompilovat v Manjaro (Arch Linux)
při pokusu o instalaci z Gitu skončí vše chybou.
Postup:
git clone https://gitlab.labs.nic.cz/turris/spectator.git
cd spectator
QT_SELECT=5 qmake "CONFIG+=staticlib"
make
Výstup:
[vlad@manjaro-t420 spectator]$ make
cd library/ && ( test -e Makefile || /usr/bin/qmake /home/vlad/git/spectator/library/library.pro CONFIG=staticlib -o Makefile ) && make -f Makefile
make[1]: Vstupuje se do adresáře „/home/vlad/git/spectator/library“
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DSPECTATOR_VERSION=\"0.6\" -DSPECTATOR_LIBRARY -I. -Iinclude -I/usr/lib/qt/mkspecs/linux-g++ -o build/logging.o src/logging.cpp
In file included from src/logging.cpp:19:0:
include/spectator/logging.h:24:26: fatal error: QMessageLogger: Adresář nebo soubor neexistuje
#include <QMessageLogger>
^
compilation terminated.
make[1]: *** [Makefile:695: build/logging.o] Chyba 1
make[1]: Opouští se adresář „/home/vlad/git/spectator/library“
make: *** [Makefile:44: sub-library-make_first] Chyba 2
Konfigurace: [vlad@manjaro-t420 spectator]$ inxi -F
System: Host: manjaro-t420 Kernel: 4.4.24-1-MANJARO x86_64 (64 bit)
Desktop: KDE Plasma 5.7.5 Distro: Manjaro Linux
Machine: System: LENOVO (portable) product: 4178BSG v: ThinkPad T420
Mobo: LENOVO model: 4178BSG
UEFI [Legacy]: LENOVO v: 83ET61WW (1.31 ) date: 07/07/2011
CPU: Dual core Intel Core i5-2430M (-HT-MCP-) cache: 3072 KB
clock speeds: max: 3000 MHz 1: 828 MHz 2: 810 MHz 3: 898 MHz
4: 1373 MHz
Graphics: Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
Display Server: X.Org 1.18.4 driver: intel
Resolution: 1280x1024@60.02hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile
GLX Version: 3.0 Mesa 12.0.3
Audio: Card Intel 6 Series/C200 Series Family High Definition Audio Controller
driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.4.24-1-MANJARO
Network: Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e
IF: enp0s25 state: down
Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak]
driver: iwlwifi
IF: wlp3s0 state: up
Drives: HDD Total Size: 756.2GB (17.7% used)