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 01-28-2018, 12:27 PM   #31
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled

I'm trying to sbopkg -i qbs and it's failing, because

Code:
This application failed to start because it could not find or load the Qt platform plugin "minimal"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Makefile:537: recipe for target 'qch_docs' failed
make: *** [qch_docs] Aborted

qbs:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
I'm thinking that I need to manually pass in the minimal flag to sbopkg, but I don't know how to do that. I am trying, but it's so hard to learn ANYTHING. Maybe I'm trying to start at the wrong place...
 
Old 01-28-2018, 01:09 PM   #32
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by maschelsea View Post
I'm trying to sbopkg -i qbs and it's failing, because

Code:
This application failed to start because it could not find or load the Qt platform plugin "minimal"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Makefile:537: recipe for target 'qch_docs' failed
make: *** [qch_docs] Aborted

qbs:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
I'm thinking that I need to manually pass in the minimal flag to sbopkg, but I don't know how to do that. I am trying, but it's so hard to learn ANYTHING. Maybe I'm trying to start at the wrong place...
I think that error may happen probably because you installed qt5 not from SBo but from some binary repository and you haven't installed also all the dependencies (or you have installed it from SBo without all of the dependencies).
beware mixing binary repositories with SBo, it can lead to unexpected consequencies...

Last edited by ponce; 01-28-2018 at 01:15 PM.
 
Old 01-28-2018, 01:40 PM   #33
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
I think that error may happen probably because you installed qt5 not from SBo but from some binary repository and you haven't installed also all the dependencies (or you have installed it from SBo without all of the dependencies).
beware mixing binary repositories with SBo, it can lead to unexpected consequencies...
I have NOT installed ANYTHING from non-Slackware sources. I don't particularly like binary packages. I use them because I was told that they are the Slackware way. I prefer to build packages from source. In which case I would ./configure -prefix=/opt.
 
Old 01-28-2018, 01:49 PM   #34
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by maschelsea View Post
I have NOT installed ANYTHING from non-Slackware sources. I don't particularly like binary packages. I use them because I was told that they are the Slackware way. I prefer to build packages from source. In which case I would ./configure -prefix=/opt.
on your installation what is the output of the command
Code:
ls -la /var/log/packages/{qt5,libinput,libwacom,libxkbcommon}*
 
1 members found this post helpful.
Old 01-28-2018, 03:33 PM   #35
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
on your installation what is the output of the command
Code:
ls -la /var/log/packages/{qt5,libinput,libwacom,libxkbcommon}*
Code:
root@caitlyn:~# ls -la /var/log/packages/{qt5,libinput,libwacom,libxkbcommon}*
-rw-r--r-- 1 root root   9830 Jan 28 13:44 /var/log/packages/libinput-1.8.3-x86_64-1_SBo
-rw-r--r-- 1 root root   9698 Jan 28 13:44 /var/log/packages/libwacom-0.27-x86_64-1_SBo
-rw-r--r-- 1 root root   4436 Jan 28 13:43 /var/log/packages/libxkbcommon-0.7.1-x86_64-1_SBo
-rw-r--r-- 1 root root 488738 Jun  6  2017 /var/log/packages/qt5-5.7.1-x86_64-1_SBo
 
Old 01-28-2018, 03:36 PM   #36
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
it seems that your qt5 has been installed before of its dependencies, so you better rebuild it to let it pick them up.
 
Old 01-28-2018, 03:46 PM   #37
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
I'm doing that now. I've been waiting for it to finish for the past two hours. While I'm waiting, is there a way to pass options to sbopkg, so that when I order rebuilds/upgrades through sbopkg, it knows what options I've previously ordered? Also, sbopkg's man page didn't say anything about how to update packages from the CLI. Is there a way to do that? I mean something like
Code:
sbopkg -update-all
 
Old 01-28-2018, 10:56 PM   #38
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
This one is [SOLVED] though not quite what I was expecting. It serves me right, though, for having expectations in the first place...
 
Old 01-29-2018, 02:07 AM   #39
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 maschelsea View Post
I'm doing that now. I've been waiting for it to finish for the past two hours. While I'm waiting, is there a way to pass options to sbopkg, so that when I order rebuilds/upgrades through sbopkg, it knows what options I've previously ordered? Also, sbopkg's man page didn't say anything about how to update packages from the CLI. Is there a way to do that? I mean something like
Code:
sbopkg -update-all
sbopkg does not remember how you built previous packages. It doesn't log them at all. However, if you use queue files, you are able to add options to that and have it remember them along with the dependencies that were built at the same time.

Have a look at sbopkg's queue file wiki page. Long story short, you'd edit (or create) the program's queue file (sqf extension), typically found under /var/lib/sbopkg/queues/. This lists all the programs that would need to be built, in order, ending with the final package. Any options you want to pass would be after the program's name, followed by the pipe symbol "|" with the options and their values. The following queue file would be for qt-creator and enables all options for qt5. You could save the file as /var/lib/sbopkg/queues/qt-creator.sqf and then run sbopkg -i qt-creator and when it asks if you want to build the queue or the package, you would select q for the queue.

Code:
libwacom
libinput
libxkbcommon
qt5 | DOCS=yes EXAMPLES=yes PROPRIETARY_CODECS=yes
qbs
qt-creator
You can generate this queue automatically using sqg -p qt-creator, and then you need to manually edit the /var/lib/sbopkg/queues/qt-creator.sqf file to add the options for qt5.
 
1 members found this post helpful.
Old 06-19-2021, 04:01 PM   #40
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 516

Rep: Reputation: 50
build qt5 documentation only?

Quote:
Originally Posted by j12i View Post
You should have made a new thread
See this thread.

Last edited by Geremia; 06-22-2021 at 09:46 PM.
 
Old 06-21-2021, 06:34 AM   #41
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 163

Rep: Reputation: Disabled
You should have made a new thread, in my opinion.

I would try running the SlackBuild until before the ./configure call, and then asking the configure script what options it supports. Like in line 173 insert
Code:
configure -help
exit 1
(untested).

If the configure scripts supports such an option, you would also have to rename the resulting package (change PKGNAM=qt5 at the start of the SlackBuild, or if you forget just rename the package before installing).
 
1 members found this post helpful.
  


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
create multi-tab ods from tab delimited files schneidz Programming 5 07-24-2017 11:06 AM
[SOLVED] Konsole tab title is PWD, Gnome Terminal tab title includes hostname...how to change? L_Carver Linux - Newbie 4 05-07-2017 01:50 AM
How do I get emacs to indent for tab AND respect tab to demarcate paragraphs RandomTroll Linux - Software 4 10-18-2016 11:37 AM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
Redirecting output of tab tab benjaminrtz Linux - General 1 04-28-2003 10:11 AM

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

All times are GMT -5. The time now is 02: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