LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Building Qt5 from source fails (https://www.linuxquestions.org/questions/slackware-14/building-qt5-from-source-fails-4175617523/)

rbob 11-13-2017 04:34 AM

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!

solarfields 11-13-2017 05:50 AM

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/

gmgf 11-13-2017 06:50 AM

Quote:

Originally Posted by solarfields (Post 5780083)
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 ;)

rbob 11-13-2017 06:56 AM

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.

montagdude 11-13-2017 07:15 AM

Quote:

Originally Posted by rbob (Post 5780100)
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.

Didier Spaier 11-13-2017 07:17 AM

Quote:

Originally Posted by rbob (Post 5780100)
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.

rbob 11-13-2017 07:28 AM

Thanks
 
I'll try

bassmadrigal 11-13-2017 07:38 AM

Quote:

Originally Posted by rbob (Post 5780067)
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!).

gmgf 11-13-2017 08:44 AM

Quote:

Originally Posted by rbob (Post 5780120)
I'll try

for info, qt5 alien package depend on libxkbcommon:

http://bear.alienbase.nl/mirrors/peo..._64-1alien.txz

rbob 11-13-2017 09:09 AM

All is OK
 
Thanks2all
:)


All times are GMT -5. The time now is 02:01 PM.