LinuxQuestions.org
Visit Jeremy's Blog.
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 11-13-2017, 05:34 AM   #1
rbob
LQ Newbie
 
Registered: Jan 2016
Posts: 10

Rep: Reputation: Disabled
Building Qt5 from source fails


I am trying to build Qt5.9.2 from source. While configure step there are messages:

Code:
Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
Note: Dropped compiler flags '-pthread' when detecting library 'gtk3'.                                                          
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.                                                    
Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'
but
Code:
# ls /var/log/packages/glib*
/var/log/packages/glib-1.2.10-x86_64-3
# ls /var/log/packages/gstreamer*
/var/log/packages/gstreamer-1.12.3-x86_64-1  /var/log/packages/gstreamer0-0.10.36-x86_64-1
gstreamer_app and gtk3 are absent, no such packages in slackonly or slackbuilds.
System is Slackware64-current.
I would highly appreciate yours suggestions. Thanks in advance!
 
Old 11-13-2017, 06:50 AM   #2
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 753

Rep: Reputation: Disabled
why don't you get the package for -current from AlienBob:

http://www.slackware.com/~alien/slac...pkg64/current/

you can also see the SlackBuild script here:

http://www.slackware.com/~alien/slackbuilds/qt5/build/
 
Old 11-13-2017, 07:50 AM   #3
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,140

Rep: Reputation: 395Reputation: 395Reputation: 395Reputation: 395
Quote:
Originally Posted by solarfields View Post
why don't you get the package for -current from AlienBob:

http://www.slackware.com/~alien/slac...pkg64/current/

you can also see the SlackBuild script here:

http://www.slackware.com/~alien/slackbuilds/qt5/build/
I agree, especially since it takes between four and six hours, to compile qt5 here
 
Old 11-13-2017, 07:56 AM   #4
rbob
LQ Newbie
 
Registered: Jan 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Because of necessity to have 2 Qt side-by-side and Qt4 is present in my system. I want to build Qt5 and place it somewhere in /opt.
 
Old 11-13-2017, 08:15 AM   #5
montagdude
Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 728

Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Quote:
Originally Posted by rbob View Post
Because of necessity to have 2 Qt side-by-side and Qt4 is present in my system. I want to build Qt5 and place it somewhere in /opt.
Alien Bob's Qt5 can already coexist with Qt4 with no problems. Same thing with the Qt5 from SBo.
 
Old 11-13-2017, 08:17 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,873

Rep: Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783
Quote:
Originally Posted by rbob View Post
Because of necessity to have 2 Qt side-by-side and Qt4 is present in my system. I want to build Qt5 and place it somewhere in /opt.
No need for that. Using one of the methods suggested by solarfiedls will install qt5 alongside qt4 without modifying qt4 at all.

All relevant directories have either qt (for qt4) or qt5 in their paths.

EDIT: montagdude was faster.

Last edited by Didier Spaier; 11-13-2017 at 08:19 AM.
 
Old 11-13-2017, 08:28 AM   #7
rbob
LQ Newbie
 
Registered: Jan 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks

I'll try
 
Old 11-13-2017, 08:38 AM   #8
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,571

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Quote:
Originally Posted by rbob View Post
I am trying to build Qt5.9.2 from source. While configure step there are messages:

Code:
Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
Note: Dropped compiler flags '-pthread' when detecting library 'gtk3'.                                                          
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.                                                    
Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'
but
Code:
# ls /var/log/packages/glib*
/var/log/packages/glib-1.2.10-x86_64-3
# ls /var/log/packages/gstreamer*
/var/log/packages/gstreamer-1.12.3-x86_64-1  /var/log/packages/gstreamer0-0.10.36-x86_64-1
gstreamer_app and gtk3 are absent, no such packages in slackonly or slackbuilds.
System is Slackware64-current.
I would highly appreciate yours suggestions. Thanks in advance!
If you do want to pursue building it, does it provide any other error messages other than those? Have you looked at your config.log (or other similar log from the configure)?

And GTK3 is part of Slackware: gtk+3-3.22.24-x86_64-1.txz

Finally, since you are running Slackware -current, you should be aware that scripts on SBo are not guaranteed to work on it. They are only tested on the latest stable version of Slackware, which is 14.2 (-current is a development version of Slackware that will eventually lead to the next stable release). ponce, one of the SBo admins has requested any issues with building scripts on -current be covered in this thread, as he is working to prep his unofficial repo to be ready to be added to SBo when the next version of Slackware is released. He has instructions on how to access his repo in the first post.

All that being said, I'd echo the suggestion from others on this thread to just use Alien Bob's. It is much simpler when he does all the work (thank you, Eric!).

Last edited by bassmadrigal; 11-13-2017 at 08:39 AM.
 
Old 11-13-2017, 09:44 AM   #9
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,140

Rep: Reputation: 395Reputation: 395Reputation: 395Reputation: 395
Quote:
Originally Posted by rbob View Post
I'll try
for info, qt5 alien package depend on libxkbcommon:

http://bear.alienbase.nl/mirrors/peo..._64-1alien.txz
 
Old 11-13-2017, 10:09 AM   #10
rbob
LQ Newbie
 
Registered: Jan 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
All is OK

Thanks2all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kdesrc fails for kde5 on qt5 Unaaaaab Linux - Software 1 03-01-2017 12:42 AM
problem building qt5 itsgregman Slackware 42 01-18-2017 07:57 AM
Building CLang via g++ fails feraudyh Linux - Software 1 07-03-2014 07:41 AM
Building an out-of-tree module without building the kernel source lijodevasia Linux - General 2 08-01-2013 01:45 AM
Building RPCBIND fails jubitaneja Linux - Newbie 1 01-12-2012 12:43 PM

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

All times are GMT -5. The time now is 07:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration