Quote:
Originally Posted by enine
Hello all, I'm trying to build this https://gitlab.com/ldutils-projects/ldutils
getting the following error:
Code:
/home/Eugene/Downloads/ldutils-master/ldutils.pro:53: Unknown replace function: clean_path
/home/Eugene/Downloads/ldutils-master/ldutils.pro:56: Unknown replace function: clean_path
from their readme:
I'm running AlienBob's Plasma5 on top of -current.
Do the -alien kde5 packages have the -dev stuff I need here? I've seen where the debian based distros will have a base and base-dev package .
|
Slackware doesn't separate dev and base packages. Plasma5 packages are complete.
But
qmake in Slackware is still based on qt4, so you'd need to run
qmake-qt5 to make this work (clean_path was introduced in qt5).
Using
qmake-qt5 worked to generate the Makefile, but it errored out when I ran make.
Code:
jbhansen@craven-moorhead:~/program-downloads/ldutils/build$ make -j1
g++ -c -pipe -std=c++17 -O2 -fPIC -DNDEBUG -fPIC -std=gnu++11 -Wall -W -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../../ldutils -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o colorizeritem.o ../src/core/colorizeritem.cpp
In file included from ../../ldutils/src/util/units.h:35:0,
from ../../ldutils/src/core/query.h:28,
from ../../ldutils/src/core/colorizeritem.h:28,
from ../src/core/colorizermodel.h:27,
from ../src/core/colorizeritem.cpp:21:
../../ldutils/src/util/util.h:108:68: warning: 'maybe_unused' attribute directive ignored [-Wattributes]
inline quint64 ReadFile<quint64>(QFile& file, [[maybe_unused]] int size)
^
../../ldutils/src/util/util.h:108:68: warning: unused parameter 'size' [-Wunused-parameter]
../../ldutils/src/util/util.h:121:66: warning: 'maybe_unused' attribute directive ignored [-Wattributes]
inline qint64 ReadFile<qint64>(QFile& file, [[maybe_unused]] int size)
^
../../ldutils/src/util/util.h:121:66: warning: unused parameter 'size' [-Wunused-parameter]
In file included from ../../ldutils/src/core/query.h:28:0,
from ../../ldutils/src/core/colorizeritem.h:28,
from ../src/core/colorizermodel.h:27,
from ../src/core/colorizeritem.cpp:21:
../../ldutils/src/util/units.h:206:56: error: expected ',' before ')' token
static_assert((uint(Format::_DurBegin) & 0xfff) == 0);
But I haven't checked much to make sure I meet all the dependencies, so maybe you'll have better luck.