LinuxQuestions.org
Visit Jeremy's Blog.
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-04-2018, 03:41 AM   #1
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Compiling qt5 on a 1.6Ghz Atom?


I was trying to get Qupzilla installed yesterday and I noticed that it depends on qt5, as does qmplay2. I started compiling qt5 yesterday and I aborted compiling after an hour because I needed to sleep and didn't really want to leave the netbook charging overnight.

Now reading around it seems that qt5 can take an age to compile, I've read some people say it took 19+ hours. On this machine, a 1.6Ghz Atom with 2GB RAM, could it take that long or longer? If it would take as long I may have to try to circumvent qt5 apps [I hope it's not the same with LibreOffice taking as long].
 
Old 01-04-2018, 03:45 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,680

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
it DOES take some time to finish. Even on fast machine, it could take several hours to complete.
AlienBOB has generously provided Qt5 binary packages for 14.2 in his repository.
 
2 members found this post helpful.
Old 01-04-2018, 03:53 AM   #3
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Why not get it from AlienBob's slackbuilds repository? http://www.slackware.com/~alien/slackbuilds/qt5/
http://www.slackware.com/~alien/
 
1 members found this post helpful.
Old 01-04-2018, 04:01 AM   #4
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by willysr View Post
it DOES take some time to finish. Even on fast machine, it could take several hours to complete.
AlienBOB has generously provided Qt5 binary packages for 14.2 in his repository.
Quote:
Originally Posted by RadicalDreamer View Post
Why not get it from AlienBob's slackbuilds repository? http://www.slackware.com/~alien/slackbuilds/qt5/
http://www.slackware.com/~alien/
Ah, he pre-compiles. I see the relevant packages for i486 here:

http://www.slackware.com/~alien/slac.../qt5/pkg/14.2/

Here also

https://slackware.pkgs.org/14.2/alie...alien.txz.html

Could someone point me in the direction of how to get these working?

Last edited by Lysander666; 01-04-2018 at 05:48 AM.
 
Old 01-04-2018, 04:16 AM   #5
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
@Lysander666

1) one way is to
a) download package by hands say to /tmp
b) run as root
installpkg /tmp/qt5-5.7.0-i486-3alien.txz
or
upgradepkg --install-new /tmp/qt5-5.7.0-i486-3alien.txz
c) if and when package will be upgraded on server, repeat (a) and
upgradepkg /tmp/qt5-new.version.of.package.txz

2) another way is to
a) download and install slackpkg+ plugin
b) uncomment alien mirror in /etc/slackpkg/slackpkgplus.conf and run once to update repo keys
slackpkg update gpg
c) run to update info about packages
slackpkg update
d) run to install qt5 or any package from repo
slackpkg install qt5
e) run periodically to receive upgrades for installed packages
slackpkg update
slackpkg upgrade-all

Last edited by bormant; 01-04-2018 at 04:21 AM.
 
2 members found this post helpful.
Old 01-04-2018, 04:21 AM   #6
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Great reply, thanks. 1 sounds the simplest to me.

Quote:
Originally Posted by bormant View Post
@Lysander666

1) one way is to
a) download package by hands say to /tmp
b) run as root
installpkg /tmp/qt5-5.7.0-i486-3alien.txz
or

upgradepkg --install-new /tmp/qt5-5.7.0-i486-3alien.txz
c) if and when package will be upgraded on server, repeat (a) and
upgradepkg /tmp/qt5-new.version.of.package.txz
So out of the packages here, qt5-5.7.0-i486-3alien.txz is the only one required to install? If so, that's very good of AB.

Last edited by Lysander666; 01-04-2018 at 04:22 AM.
 
Old 01-04-2018, 04:22 AM   #7
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
You download the qt5-5.7.0-i486-3alien.txz. You su to root. Then you installpkg qt5-5.7.0-i486-3alien.txz. I guess this doesn't conflict with qt4?

The qt5-5.7.0-i486-3alien.dep says it needs libxkbcommon and libinput:
http://www.slackware.com/~alien/slac.../libxkbcommon/
http://www.slackware.com/~alien/slackbuilds/libinput/

You might have those installed already.

Then in /etc/slackpkg/mirror you add
Code:
 [0-9]+alien
so it doesn't get removed when updating with slackpkg.

Last edited by RadicalDreamer; 01-04-2018 at 04:27 AM.
 
1 members found this post helpful.
Old 01-04-2018, 04:33 AM   #8
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
@Lysander666
Slackware packages use one of .txz, .tgz, .tbz, .tlz suffixes (corresponding to used compressor xz, gzip, bzip2 or lzma).
Other files are:
*.dep -- list of additionaly needed packages
*.lst -- list of files in package (used to build MANIFEST.bz2)
*.meta -- package info and description (used to build PACKAGES.TXT)
*.txt -- package description only
*.asc -- signature
*.md5 -- MD5 hash (used to build CHECKSUMS.md5)

Last edited by bormant; 01-04-2018 at 04:34 AM.
 
1 members found this post helpful.
Old 01-04-2018, 04:34 AM   #9
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by RadicalDreamer View Post
You download the qt5-5.7.0-i486-3alien.txz. You su to root. Then you installpkg qt5-5.7.0-i486-3alien.txz. I guess this doesn't conflict with qt4?
RadicalDreamer - very straightforward instructions, thank you. Yes, I already have libxkbcommon and libinput. I have read that the build doesn't conflict with qt4. I'll try tonight and report back.

Last edited by Lysander666; 01-04-2018 at 04:38 AM.
 
Old 01-04-2018, 04:36 AM   #10
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by bormant View Post
@Lysander666
Slackware packages use one of .txz, .tgz, .tbz, .tlz suffixes (corresponding to used compressor xz, gzip, bzip2 or lzma).
Other files are:
*.dep -- list of additionaly needed packages
*.lst -- list of files in package (used to build MANIFEST.bz2)
*.meta -- package info and description (used to build PACKAGES.TXT)
*.txt -- package description only
*.asc -- signature
*.md5 -- MD5 hash (used to build CHECKSUMS.md5)
Very nicely laid out and explained. Thank you very much. I'm impressed with the community response in this thread and my last.
 
Old 01-04-2018, 09:11 AM   #11
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 Lysander666 View Post
Now reading around it seems that qt5 can take an age to compile, I've read some people say it took 19+ hours. On this machine, a 1.6Ghz Atom with 2GB RAM, could it take that long or longer? If it would take as long I may have to try to circumvent qt5 apps [I hope it's not the same with LibreOffice taking as long].
I know you already downloaded Alien Bob's qt5, but just to solidify how that was the best option... I tried compiling qt5 several times on my htpc, which runs a lowly AMD Athlon 5350. I never could get it to compile since it kept erroring out, but it was taking several days before it would run into whatever error was halting compilation. I don't even know how close it was to completing it. For all I know, it could've taken a week to compile on it.

I'm not sure how the Atom compares to my 5350, but I wouldn't be surprised if it is similar.
 
1 members found this post helpful.
Old 01-04-2018, 09:26 AM   #12
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by bassmadrigal View Post
I know you already downloaded Alien Bob's qt5, but just to solidify how that was the best option... I tried compiling qt5 several times on my htpc, which runs a lowly AMD Athlon 5350. I never could get it to compile since it kept erroring out, but it was taking several days before it would run into whatever error was halting compilation. I don't even know how close it was to completing it. For all I know, it could've taken a week to compile on it.

I'm not sure how the Atom compares to my 5350, but I wouldn't be surprised if it is similar.
The AMD 5350 is a 2Ghz quad core - whereas my Atom N270 is a 1.6Ghz single core. I dread to think whether the Atom would have been able to complete the process at all after several days. Even in the one hour I attempted last night I noticed a couple of fatal errors.

I'm glad you told me about your quad core though. My main [Debian] box runs a 2.6Ghz quad core Q8400. Interesting to know that that also could have struggled with a qt5 compile if it were running Slack.
 
Old 01-04-2018, 09:38 AM   #13
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,235

Rep: Reputation: 1029Reputation: 1029Reputation: 1029Reputation: 1029Reputation: 1029Reputation: 1029Reputation: 1029Reputation: 1029
Quote:
Originally Posted by Lysander666 View Post
I was trying to get Qupzilla installed yesterday and I noticed that it depends on qt5, as does qmplay2. I started compiling qt5 yesterday and I aborted compiling after an hour because I needed to sleep and didn't really want to leave the netbook charging overnight.

Now reading around it seems that qt5 can take an age to compile, I've read some people say it took 19+ hours. On this machine, a 1.6Ghz Atom with 2GB RAM, could it take that long or longer? If it would take as long I may have to try to circumvent qt5 apps [I hope it's not the same with LibreOffice taking as long].
Just for info the latest qupzilla version need qt5-5.8 AND maybe qt5-5.9
 
Old 01-04-2018, 10:14 AM   #14
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by Lysander666 View Post
The AMD 5350 is a 2Ghz quad core - whereas my Atom N270 is a 1.6Ghz single core. I dread to think whether the Atom would have been able to complete the process at all after several days. Even in the one hour I attempted last night I noticed a couple of fatal errors.

I'm glad you told me about your quad core though. My main [Debian] box runs a 2.6Ghz quad core Q8400. Interesting to know that that also could have struggled with a qt5 compile if it were running Slack.
If you want yet another comparison, I compile qt5 on a i3-2130 2-core w/hyper-threading @3.4GHz and 8GB 1066MHz RAM. Therefore I technically have 4 useable threads, so when I compile I use -j8. It takes me a couple minutes over 4 hours.

I would guess that on your Q8400 with -j8 it would take from 5 to 6 hours.

Last edited by Skaendo; 01-04-2018 at 11:12 AM.
 
1 members found this post helpful.
Old 01-04-2018, 03:27 PM   #15
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Skaendo - thanks for that, really glad that I didn't try on the Atom. I didn't realise things could take that long to compile, I've got quite a bit to learn.

I've used Alien BOB's excellent binaries and they worked without a hitch. I now have QT, Qupzilla and LibreOffice running with no issues [I need to get MS fonts for LO though].

I think on this machine that sources which are more than a few hundred kilobytes are going to take a while to compile. I've used a lot of pre-build binaries.

I also got hold of ponce's excellent LXDE DE which works perfectly too.
 
  


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
LXer: You Can Now Transform the Atom Hackable Text Editor into an IDE with Atom-IDE LXer Syndicated Linux News 0 09-23-2017 06:19 PM
LXer: Tiny rugged mini-PC runs Linux on dual-core 1.6GHz Atom LXer Syndicated Linux News 0 08-03-2013 02:41 AM
BLKGETSIZE64 compiling error Gargnome Slack 10.2 Ker 2.6.17 Celeron 32bit 2.6Ghz Pier Slackware 9 11-05-2006 10:00 AM
HT for Intel 1.6Ghz processor? Lambda_Core Linux - Hardware 3 07-12-2005 09:18 PM
Very slow X on Celeron 2.6GHZ Ztyx Mandriva 1 01-06-2005 06:21 AM

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

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