SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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'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...
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.
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}*
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
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.