LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   qt5-everywhere -* file not found. (https://www.linuxquestions.org/questions/slackware-14/qt5-everywhere-%2A-file-not-found-4175674877/)

quickbreakfast 05-08-2020 07:21 PM

qt5-everywhere -* file not found.
 
I am in the process of installing alien bob's qt5 in an i3 with 4 G ram and 12Gswap to a xfce desktop, but my computer can not find the file qt5-everywhere-5.13.2.tar.xz. So when I go sh qt5.SlackBuild the build stops.

Code:

bash-4.3# sh qt5.SlackBuild
Extracting qt-everywhere-src-5.13.2.tar.xz
tar: /jules/build/qt-everywhere-src-5.13.2.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

There is an old thread in this forum about the same problem stared in 2016 which in 2018 suggests that a new thread should be started.

Consulting Google I found

https://mirrors.slackware.com/slackw....xz.mirrorlist


But that file is not, being a number that starts with a 4 instead of a 5, the install wants.

Would the file in the above link be alright to use? Or should I continue searching?

And should I install qt5-everywhere-5* before continuing with attempting to install qt5, or leave it for the qt5 build to find?

ehartman 05-08-2020 07:57 PM

Quote:

Originally Posted by quickbreakfast (Post 6120914)
But that file is not, being a number that starts with a 4 instead of a 5, the install wants.

Would the file in the above link be alright to use? Or should I continue searching?

The 4.8.7 version is QT 4, which is the one, used by KDE 4 (and other QT 4 programs) in Slackware 14.2
So if you're trying to build QT 5: no, that is NOT the file you want!
The version of QT used in AlienBob's ktown for 14.2 (which is to be removed after this weekend because of being out-of-date and non-maintained) is 5.7.0 and the one in -current is 5.13.2

Furthermore a Core I3 with 4 G ram is rather UNDER powered to compile QT 5, it would take you multiple days, maybe even up to a week. QT 5 is notorious for needing a lot of cpu power for compilation.

dab1414 05-08-2020 09:08 PM

I have never installed qt5 this way, but should be easy.
Quote:

Originally Posted by quickbreakfast (Post 6120914)
Code:

bash-4.3# sh qt5.SlackBuild
Extracting qt-everywhere-src-5.13.2.tar.xz


Here is one place the file its looking for is located, just a slackware64-current mirror.
https://slackware.absolutehosting.ne.../source/l/qt5/
Quote:

And should I install qt5-everywhere-5* before continuing with attempting to install qt5
It's not a package to install.

Quote:

or leave it for the qt5 build to find?
Yes! Make sure qt-everywhere-src-5.13.2.tar.xz is in same folder as your qt5.SlackBuild
Look in the SlackBuild to understand what is happening (it's looking for more than just qt-everywhere).
Always make sure to download the entire slackbuild folder, not just a xyz.SlackBuild

bassmadrigal 05-08-2020 10:39 PM

I'm not sure why the source isn't included on Alien's site. Instead, you can download the source from QT's site and place it in the same directory as the SlackBuild:

Code:

wget https://download.qt.io/official_releases/qt/5.13/5.13.2/single/qt-everywhere-src-5.13.2.tar.xz
Then run the SlackBuild.

ehartman 05-09-2020 12:20 AM

Quote:

Originally Posted by bassmadrigal (Post 6120971)
I'm not sure why the source isn't included on Alien's site.

Because he doesn't put anything in his "additions" that is already part of -current.
Indeed he explicitly removed all qt stuff from ktown when it was included in -current
As already mentioned, you can get the sources AND the SlackBuild from any mirror in the
slackware-current/source/l/qt5 directory
And the ones for qt5-webkit and qtscriptgenerator are there too, in their respective subdirectories (of the "source/l" one).

bassmadrigal 05-09-2020 12:29 PM

Quote:

Originally Posted by ehartman (Post 6120989)
Because he doesn't put anything in his "additions" that is already part of -current.
Indeed he explicitly removed all qt stuff from ktown when it was included in -current
As already mentioned, you can the sources AND the SlackBuild from any mirror in the
slackware-current/source/l/qt5 directory
And the ones for qt5-webkit and qtscriptgenerator are there too, in their respective subdirectories (of the "source/l" one).

Most of the SlackBuilds he provides includes the tarballs under the build folder. qt5 is an exception (not sure how many more don't have tarballs included). He has removed the qt5 package for -current, but 14.2 and 14.1 still have packages available and the SlackBuild can still be used for those wanting to build it on those versions.

quickbreakfast 05-13-2020 07:41 PM

Quote:

Originally Posted by ehartman (Post 6120926)
The 4.8.7 version is QT 4, which is the one, used by KDE 4 (and other QT 4 programs) in Slackware 14.2
So if you're trying to build QT 5: no, that is NOT the file you want!

Thanks.

Quote:

Furthermore a Core I3 with 4 G ram is rather UNDER powered to compile QT 5, it would take take you multiple days, maybe even up to a week. QT 5 is notorious for needing a lot of cpu power for compilation.
For the reference of those who follow the build took 94 hours (two hours under four days) during which time my I3 CPU was too busy to even consider doing anything else - including acknowledging mouse movements (which at ltimes was not on screen).

So I have decided that as soon as the relevant shop re opens I'll replace the CPU with an I7, and board.

As I write this the terminal I started the qt5 install in, is not available/selectable .... Nor have the task bar ....... I'm probably just impatient.

quickbreakfast 05-13-2020 07:47 PM

Quote:

Originally Posted by dab1414 (Post 6120944)
Here is one place the file its looking for is located, just a slackware64-current mirror.
https://slackware.absolutehosting.ne.../source/l/qt5/

Thank you.

By the time I found the file I originally refered to, my brain was so confused/warped it never crossed my mind to check Slackware packages for the file I required.

It was not until a few hours after the build started that it dawned upon me to look in the Slackware packages list for the file I needed.


All times are GMT -5. The time now is 12:26 AM.