LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2019, 02:23 PM   #1
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Rep: Reputation: 20
current - qt5 slackbuild error - icu4c wrong version


I updated to the latest version of current today (2019/10/21). I tried to run pulseview but got an error. Last time this happened I had to run the slackbuild for qt5 from Ponce's repository and then the slackbuild for pulseview. This time I can't build qt5 because it wants icu4c version 64 and version 65 is installed in the latest version of current. I'm posting this in the hope that someone will resolve the mismatch. Thanks...Randy.
 
Old 10-21-2019, 02:35 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107
You can download a working qt5 package instead of trying to build it from source.
 
1 members found this post helpful.
Old 10-21-2019, 03:09 PM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,140

Rep: Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208
Quote:
Originally Posted by rwcooper View Post
This time I can't build qt5 because it wants icu4c version 64 and version 65 is installed in the latest version of current.
you have to rebuild also all the dependencies of qt5, mandatory and optional.
 
Old 10-21-2019, 03:18 PM   #4
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,617

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
I think the easiest course of action would be to install Alien Bob's package plus dependencies that were recompiled for current or grab his build directory and build it, if you really need to build qt5. His slackbuilds are straightforward and documented.
 
Old 10-21-2019, 03:41 PM   #5
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Thanks for the replies. I'll look at rebuilding the prerequisites, although in the past (on occassion) I've had prerequisites that didn't have any prerequisites not build. If that happens I'll post the results. I may try Eric's qt5 package, although again I've had one of his packages not work for me. For now my workaround (which I admit is not good) was to install icu4c version 64....Randy
 
Old 10-21-2019, 03:56 PM   #6
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,357

Rep: Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962
rest of slackbuilds needing qt5 , are tested with version under slackbuilds, good luck mixing , from 3rd repository qt5.
 
Old 10-21-2019, 04:13 PM   #7
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by USUARIONUEVO View Post
rest of slackbuilds needing qt5 , are tested with version under slackbuilds, good luck mixing , from 3rd repository qt5.
I use AlienBOB's qt5 and the bulk of my packages are built from SBo; which means if I'm building against qt5 I'm building against his QT5 package... and I never run into issues. I have run into small issues when on occasion AlienBOB's package falls a little behind current; but that very very very seldom ends up an issue for me; and this sort of thing should be expected when running -curent anyway.
 
2 members found this post helpful.
Old 10-21-2019, 05:37 PM   #8
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
I just checked the prerequisites for qt5 under current. The versions of the prerequisites I have installed are the same as the versions specified in Ponce's repository. To me it looks like there is a version mismatch between qt5 and the installed version of icu4c. I believe the version of icu4u was changed when I updated to the latest version of current today. I updated to the latest current Ponce repository after updating current....Randy
 
Old 10-21-2019, 05:44 PM   #9
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
I ran into a icu4c mismatch earlier as well; using the QT5 package AlienBOB had up; but then AlienBOB "updated" his qt5 package / compiled it against the new icu4c and everything started to work again.

Last edited by khronosschoty; 10-21-2019 at 07:16 PM.
 
Old 10-22-2019, 02:00 AM   #10
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,140

Rep: Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208
Quote:
Originally Posted by rwcooper View Post
I just checked the prerequisites for qt5 under current. The versions of the prerequisites I have installed are the same as the versions specified in Ponce's repository. To me it looks like there is a version mismatch between qt5 and the installed version of icu4c. I believe the version of icu4u was changed when I updated to the latest version of current today. I updated to the latest current Ponce repository after updating current....Randy
I think that happens because you still have in your system something (stuff built from the unofficial SBo repository for current, other third-party packages, things built from sources, a previous qt5 package, whatever else...) that still links to the older icu4c libraries: I just built successfully again qt5 from this repository on a fresh and full installation of slackware64-current.
like I explain in the above topic I personally offer support only for clean and full installations of slackware64-current, but if you post some logs with the errors you got maybe someone can have a look and try to help you.

what may arise if you decide to use a newer qt5, like version 5.13.x that Alien Bob provides, is that, like USUARIONUEVO pointed above, you may encounter incompatibilities building other applications/libraries from this repository that uses it as a dependency: the stuff here is just forked from SBo, and there version 5.9.x is used.
this is not a problem if you need just qt5, but it may be if you need other stuff from here that needs it as a dependency.
 
Old 10-22-2019, 08:15 AM   #11
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Ponce, thanks for your reply. I appreciate the time and effort you put into this. I have been building exclusively from your repository. I realize things can get out of sync when current is a moving target and that packages will break. I'll be glad when 15.0 comes out and things stabilize again.
 
  


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
compilation error with slackbuild qt5 (5.9.7) and slackwareARM-current jowski Slackware - ARM 14 11-17-2019 09:39 PM
[SOLVED] Today's -current icu4c upgrade broke ktown's sddm dugan Slackware 37 07-28-2019 01:39 PM
icu4c package upgrade in -current mpv breakage & fix 1337_powerslacker Slackware 4 12-08-2017 09:39 AM
qt5.SlackBuild wrong filename vonbiber Slackware 2 08-11-2016 08:26 AM

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

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