LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2020, 05:26 PM   #1
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Need help building ldutils


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:
Quote:
Build requirements:

1. Libraries:
sudo apt-get install qtbase5-dev libqt5charts5-dev libqt5opengl5-dev libqt5svg5-dev

2. Tools:
sudo apt-get install qt5-default qt5-qmake buil
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 .
 
Old 03-21-2020, 10:41 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by enine View Post
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.
 
1 members found this post helpful.
Old 03-22-2020, 12:25 PM   #3
giomat
Member
 
Registered: Jul 2017
Posts: 337

Rep: Reputation: 238Reputation: 238Reputation: 238
It built fine on my machine, using stock qt5 from slackware
 
1 members found this post helpful.
Old 03-22-2020, 07:08 PM   #4
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Thanks, qmake-qt5 did it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] You are on need of building a PHP-5.6.36 package on -current, after the fall of OpenSSL 1.1.0? You will need a patch and here you find what Darth Vader Slackware 2 05-17-2018 10:07 AM
Building an out-of-tree module without building the kernel source lijodevasia Linux - General 2 08-01-2013 12:45 AM
Need help with building kernel module in domu, would pay a small $fee$ for help aulix Linux - Enterprise 1 11-25-2007 02:34 AM
Building a New computer and need help making sure things will co-exist plz help! tyrant_dragon3000 Linux - General 11 03-21-2007 11:42 AM
Building meh own laptop for linux, plz need some help Goalie31 Linux - Laptop and Netbook 6 12-10-2003 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration